[
https://issues.apache.org/jira/browse/OPENNLP-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jörn Kottmann closed OPENNLP-127.
---------------------------------
Resolution: Fixed
> POSTagger should check that tag dict only contains mappings to valid model
> outcomes
> -----------------------------------------------------------------------------------
>
> Key: OPENNLP-127
> URL: https://issues.apache.org/jira/browse/OPENNLP-127
> Project: OpenNLP
> Issue Type: Bug
> Components: POS Tagger
> Reporter: Jörn Kottmann
> Assignee: Jörn Kottmann
> Priority: Minor
> Fix For: tools-1.5.2-incubating
>
>
> Currently a tag dict could contain a mapping to a pos tag which cannot occur
> because it is not an outcome of the underlying statistical model. The
> POSModel code should validate that the tag dict only contains valid tags, and
> if not throw an exception.
> A POSTagger with such an invalid model might fail during runtime.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira