Back-to-Back <START><END> tags get improperly set when tagging
--------------------------------------------------------------

                 Key: OPENNLP-417
                 URL: https://issues.apache.org/jira/browse/OPENNLP-417
             Project: OpenNLP
          Issue Type: Bug
          Components: Name Finder
    Affects Versions: tools-1.5.2-incubating, tools-1.5.1-incubating
            Reporter: James Kosin
            Assignee: James Kosin


1) Special thanks go to Angel Luis Jimenez Martinez for both finding the 
problem, and finding the one line of code that caused this problem.

This only affects the TokenNameFinder when parsing user input and tagging the 
output.
The problem was when the name finder model returns the spans, it would properly 
find the Spans and return them; however, it would improperly label the Spans 
when constructing them, if they where back-to-back.
This can cause the NameFinder to improperly report the wrong tag in this 
situation.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to