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:59:29 GMT
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 :)  

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


Il giorno sabato 10 dicembre 2011, alle ore 15.58, francesco.tangari.inf@gmail.com ha scritto:


> 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 (mailto: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