Training code should not fail if trained with zero events
---------------------------------------------------------
Key: OPENNLP-122
URL: https://issues.apache.org/jira/browse/OPENNLP-122
Project: OpenNLP
Issue Type: Improvement
Components: Maxent
Reporter: Jörn Kottmann
The current maxent training code fails with a NullPointerException when trained
with zero training
events. That should either fail in a nicer way or do not fail at all and just
return some kind of empty model.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira