NameFinderME not working for single name at beginning of sentence
-----------------------------------------------------------------

                 Key: OPENNLP-333
                 URL: https://issues.apache.org/jira/browse/OPENNLP-333
             Project: OpenNLP
          Issue Type: Bug
          Components: Name Finder
    Affects Versions: tools-1.5.1-incubating
            Reporter: Josh Smith


For sentences that begin with a single name (ie first/last name only), 
NameFinderME returns an empty array of Spans. If the second word is also part 
of the name, the Span is returned properly. If the sentence is reversed such 
that the name is last, the Span is returned correctly.

For example,

"John is my name" -> []
"John Doe is my name" -> [0..2]
"My name is John" -> [3..4]

--
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