opennlp.tools.parser.Parse.equals doesn't guard against
IndexOutOfBoundsException
---------------------------------------------------------------------------------
Key: OPENNLP-332
URL: https://issues.apache.org/jira/browse/OPENNLP-332
Project: OpenNLP
Issue Type: Bug
Components: Parser
Reporter: Ben Podgursky
Attachments: add_parts_length_check.diff
New to the project, and I'm running into a problem with the equals method on a
Parse. It seems like if the label, span, and text between two nodes are
equivalent, it assumes the other Parse has at least as many parts as that one,
and only checks until there (I think this is actually a correctness bug, since
the other Parse could have additional parts.)
--
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