opennlp-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OPENNLP-241) Model validations is only performed if instatiated from Input Stream.
Date Fri, 29 Jul 2011 22:07:09 GMT

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

Jörn Kottmann commented on OPENNLP-241:
---------------------------------------

The reason this was not done yet is the exception which is thrown from validateArtifactMap.
Maybe we should introduce a new method in the Base Model, which calls it and only throws IllegalArgumentExceptions
instead. Does that make sense?

> 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
>
> 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

       

Mime
View raw message