You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "John (Jira)" <de...@uima.apache.org> on 2021/09/15 09:02:00 UTC

[jira] [Created] (UIMA-6383) Ruta: TRIE - Wordlist entry not annotated

John created UIMA-6383:
--------------------------

             Summary: 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.1.0ruta, 3.2.0uimaFIT
            Reporter: John


*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.3.4#803005)