uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Armin.Weg...@bka.bund.de>
Subject AW: Restricting a aggregate engine to a substring or mention
Date Fri, 20 Jun 2014 08:11:46 GMT
Hi Oli!

If I get it right, the ability for restricting processing to mentions of given types is inherited
from a base class. So every analysis engine that should do this, must inherit from that base
clase. Sure, that's one way of doing it. But it's part of the analysis engine.


-----Urspr√ľngliche Nachricht-----
Von: Oliver Christ [mailto:ochrist@EBSCO.COM] 
Gesendet: Dienstag, 17. Juni 2014 20:48
An: user@uima.apache.org
Betreff: RE: Restricting a aggregate engine to a substring or mention

dkpro-core's BreakIteratorSegmenter (rather: its base class) takes the same approach. It allows
you to specify that segmentation should occur within "zones", defined by some other annotation



		BreakIteratorSegmenter.PARAM_ZONE_TYPES, new String[] { MyZoneAnnotation.class.getName()

Cheers, Oli

-----Original Message-----
From: Thomas Ginter [mailto:thomas.ginter@utah.edu]
Sent: Tuesday, June 17, 2014 2:20 PM
To: user@uima.apache.org
Subject: Re: Restricting a aggregate engine to a substring or mention

We do this by having a parameter for some of our standard annotators, like our RegexAnnotator,
that allows the user to specify an annotation type.  If a type is specified then the operations
of the annotator are restricted to the covered text of the annotation type instances specified.
 If no annotation type is provided then the entire document is assumed.  In that way we can
have annotators that perform some logic to find the regions of interest and then the subsequent
annotators only operate on those regions.


Thomas Ginter

On Jun 12, 2014, at 4:00 AM, Dr. Armin Wegner <arminwegner@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

View raw message