uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francesco.tangari....@gmail.com
Subject Re: uima matched pattern
Date Sun, 11 Dec 2011 10:04:52 GMT
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).  

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


Il giorno venerdì 9 dicembre 2011, alle ore 16.51, Marshall Schor ha scritto:  

> Hi,
>  
> There may be some confusion about roles, here. UIMA itself doesn't have a
> concept of "matched - from - pattern".
>  
> It does have a general concept of "annotations", which have the begin and end
> points. It is up to particular Annotators to specify these. Most annotators
> (that process "text") set these values to correspond to the part of the text the
> annotation is associated with.
>  
> What Annotator are you running that you expect to produce matched patterns?
>  
> -Marshall
>  
> On 12/10/2011 7:31 AM, francesco.tangari.inf@gmail.com (mailto:francesco.tangari.inf@gmail.com)
wrote:
> > how do i get the matched text from a jcas object ??
> > looking at the begin and end feature it is wrong becuz it sometime say : begin :
0 . end: a number. and at 0 there isn't a match.
> > i m talking about matched patterns.
> >  
>  
>  
>  



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