Please you can show me how to get the Matched Word with the pattern? please please just pastbin the code thank you .
-- [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)); > > > > >
