ah sorry this is it ? 
> 
> final Type type = cas.getTypeSystem().getType(X);
> cas.addFsIndexes(cas.createAnnotation(type, begin, end)
> 


ok i try it right now :)  

-- 
[email protected]
Inviato con Sparrow (http://www.sparrowmailapp.com/?sig)


Il giorno sabato 10 dicembre 2011, alle ore 15.58, 
[email protected] ha scritto: 

> Please you can show me how to get the Matched Word with the pattern? please 
> please just pastbin the code thank you .
> 
> -- 
> [email protected] (mailto:[email protected])
> 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, [email protected] 
> > (mailto:[email protected]) wrote:
> > > try this in your annotator:
> > > 
> > > final Type type = cas.getTypeSystem().getType(X);
> > > cas.addFsIndexes(cas.createAnnotation(type, begin, end));
> > > 
> > 
> > 
> > 
> > 
> 
> 

Reply via email to