first of all thx for the reply. the Annotator is this one 
http://pastebin.com/44EcubqC    very simple regular expression Annotator. And 
this is called by this http://pastebin.com/6vwuRvvt. But it dose not print the 
Matched "Word" , "text" , instead , it show me  the full Line that i read from 
file ( i don't want that). 


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


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

> On Sat, December 10, 2011 5:58 pm, [email protected] 
> (mailto:[email protected]) wrote:
> > Please you can show me how to get the Matched Word with the pattern?
> 
> 
> It's not really clear what exactly you are asking for.
> 
> Do you feel that you understand the concept of "annotation"?
> 
> If so, are there annotations in the right places after you run the
> annotator?
> 
> Then your problem may be that you do not know how to access them.
> Generally, you first get all annotations of the type you want, and then
> iterate through them.
> 
> If there are not annotations in the right places, then maybe the pattern
> is wrong. In that case, please post the pattern you are using (and an
> example of the data).
> 
> Or perhaps you do not know how to inspect the cas? There are various
> tools for that.
> 
> Please try to post a more specific query, or explain things better.
> 
> /Tomas 

Reply via email to