Hi Gianluca, In general you need to be subscribed to the list in order to post, but I've manually allowed this message through. To subscribe send mail to [EMAIL PROTECTED]
On 2/23/07, Gianluca Mameli <[EMAIL PROTECTED]> wrote:
<snip/> I tried to parse the text in the process method (method of JCasAnnotator_ImplBase implementation) using my annotation (begin and end and java indexOf String method etc). It find the exact text, but when document analyzer show me the result it does not a correct annotation (highlight text with some offset).
What versions of UIMA and Java are you using, and what is your OS? This may be an issue with the Swing JTextArea widget used in the DocumentAnalyzer not dealing with newlines properly. The sample text files have CRLF newlines but the viewer may count these as just 1 character for purposes of computing offsets. I've heard of simliar problems before on older versions of Java. Regards, -Adam
