[ 
https://issues.apache.org/jira/browse/OPENNLP-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187089#comment-15187089
 ] 

Jeff Zemerick edited comment on OPENNLP-837 at 3/9/16 6:09 PM:
---------------------------------------------------------------

If the training data is insufficient when using the CLI should it:

1. Display an appropriate message and generate an empty model.
2. Display an appropriate message and stop.

I'm guessing #2 since an empty model is probably not of much use?

-- Nevermind - I read the issue title again which says to let it fail.


was (Author: jzemerick):
If the training data is insufficient when using the CLI should it:

1. Display an appropriate message and generate an empty model.
2. Display an appropriate message and stop.

I'm guessing #2 since an empty model is probably not of much use?

> Let Doccat fail when non-sufficient amounts of training data are provided for 
> training
> --------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-837
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-837
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Doccat
>            Reporter: Tommaso Teofili
>             Fix For: 1.6.1
>
>
> When the amounts of training data are not sufficient in order to train a 
> Doccat model the user should be made aware of that with an informative 
> message, e.g. a warning when using the command line, an exception when 
> calling the APIs programmatically.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to