[ 
https://issues.apache.org/jira/browse/UIMA-6383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441230#comment-17441230
 ] 

Peter Klügl commented on UIMA-6383:
-----------------------------------

Sorry for the delay. I will take a closer look. 
Normally, these problems are caused by the whitespace in the dictionary. Most 
likely, the Eclipse Plugin is not up-to-date with the current solution for this 
situation.

> Ruta: TRIE - Wordlist entry not annotated
> -----------------------------------------
>
>                 Key: UIMA-6383
>                 URL: https://issues.apache.org/jira/browse/UIMA-6383
>             Project: UIMA
>          Issue Type: Bug
>          Components: Ruta
>    Affects Versions: 3.2.0uimaFIT, 3.1.0ruta
>            Reporter: John
>            Assignee: Peter Klügl
>            Priority: Major
>
> *Wordlist test.txt*
> {code:java}
> AB
> A Bug {code}
> Converted to MTWL file generated.mtwl with Eclipse Plugin.
> *Used RUTA code*
> {code:java}
> WORDLIST dicts = 'generated.mtwl';
> Document{->TRIE("test.txt" = SomeAnnotation, dicts, true, 0, false, 0, 
> ".,-/")}; {code}
> *Text input*
> {code:java}
> The text A Bug is found if AB is changed to XAB in mtwl dict.{code}
> *Result*
> Only "AB" is annotated. If I change the AB to XAB in dictionary, "A Bug" and 
> "XAB" are annotated.
> *Expectation*
> "A Bug" and "AB" is annotated with SomeAnnotation.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to