The CasMultiplier is not a scoping operator per se.

I understood that you want to scope your AEs to specific sections of a CAS.
Since there is no generic scoping operator in UIMA (that I would be aware of),
the next best thing one can do (I think) is to slice the CAS into multiple CAS
that each represent the scope you want to work on and merge them in the end.

Cheers,

-- Richard

On 16.06.2014, at 11:47, Dr. Armin Wegner <arminweg...@googlemail.com> wrote:

> Hello Richard!
> 
> As far as I know, CasMultipliers split the CAS in two or more new
> CASes, that are processed independently, and must be put together to a
> final CAS again. That's not what I want to do. I have only one CAS and
> want to add annotations to this CAS. Can this be achieved with
> CasMultipliers?
> 
> Cheers,
> Armin
> 
> On 6/12/14, Richard Eckart de Castilho <r...@apache.org> wrote:
>> Hi Armin,
>> 
>> the only generic approach that I am aware of would be a CasMultiplier.
>> 
>> Different component collections may offer alternative solutions
>> in general or in specific components.
>> 
>> I believe Ruta has the concept of limiting rules to certain context
>> annotation types, but I do not know if that also works when external
>> AEs are invoked.
>> 
>> Cheers,
>> 
>> -- Richard
>> 
>> On 12.06.2014, at 12:00, Dr. Armin Wegner <arminweg...@googlemail.com>
>> wrote:
>> 
>>> Hello!
>>> 
>>> Is there an UIMA component which restricts an aggregated analysis
>>> engine to a substring of the document text or to mentions of a given
>>> annotation type? That is, is there a UIMA aquivalent to GATE's Segment
>>> Processing PR?
>>> 
>>> Thanks,
>>> Armin

Reply via email to