[
https://issues.apache.org/jira/browse/OPENNLP-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Colen closed OPENNLP-241.
---------------------------------
Resolution: Fixed
I tried to train with an invalid dictionary and it failed as expected. It is
fixed now. Thanks.
> Model validations is only performed if instatiated from Input Stream.
> ----------------------------------------------------------------------
>
> Key: OPENNLP-241
> URL: https://issues.apache.org/jira/browse/OPENNLP-241
> Project: OpenNLP
> Issue Type: Bug
> Components: Chunker, Coref, Doccat, Name Finder, Parser, POS Tagger,
> Sentence Detector, Tokenizer
> Affects Versions: tools-1.5.2-incubating
> Reporter: William Colen
> Priority: Minor
> Fix For: tools-1.5.2-incubating
>
>
> Models are not validated if instantiated with the constructor the cross
> validator, or training code uses.
> The validation is only performed when it is loaded from an Input Stream.
> For example the POS Model does not validate the dictionary tagset while
> training or executing cross validation, only during execution tool or
> evaluation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira