[
https://issues.apache.org/jira/browse/OPENNLP-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joern Kottmann closed OPENNLP-507.
----------------------------------
Resolution: Fixed
The current toString method must remain as it is to avoid breaking user code.
It should be changed in a future release.
> Parse.toString should output the default format and not just the covered text
> -----------------------------------------------------------------------------
>
> Key: OPENNLP-507
> URL: https://issues.apache.org/jira/browse/OPENNLP-507
> Project: OpenNLP
> Issue Type: Improvement
> Components: Parser
> Reporter: Joern Kottmann
> Assignee: Joern Kottmann
> Priority: Minor
> Fix For: tools-1.5.3
>
>
> The toString method in OpenNLP is used to output the default training format.
> The Parse.toString method just outputs the covered text.
> To fix this a new method getCoveredText should be created and used instead of
> Parse.toString trhough the OpenNLP code base.
--
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