uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francesco.tangari....@gmail.com
Subject Re: Annotation/Feature creation, changing types
Date Sat, 10 Dec 2011 14:58:15 GMT
Please you can show me how to get the Matched Word with the pattern? please please just pastbin
the code thank you .

-- 
francesco.tangari.inf@gmail.com
Inviato con Sparrow (http://www.sparrowmailapp.com/?sig)


Il giorno sabato 10 dicembre 2011, alle ore 15.56, Tomas By ha scritto: 

> Armin,
> 
> I am happy to report that this works fine.
> 
> The last call should be "addFsToIndexes" (typo I guess).
> 
> /Tomas
> 
> 
> 
> On Wed, December 7, 2011 9:44 am, Armin.Wegner@bka.bund.de (mailto:Armin.Wegner@bka.bund.de)
wrote:
> > try this in your annotator:
> > 
> > final Type type = cas.getTypeSystem().getType(X);
> > cas.addFsIndexes(cas.createAnnotation(type, begin, end));
> > 
> 
> 
> 



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message