You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Mark Giaconia (JIRA)" <ji...@apache.org> on 2013/08/20 13:41:51 UTC

[jira] [Updated] (OPENNLP-593) Version 1.5 models cannot be loaded with OpenNLP 1.6

     [ https://issues.apache.org/jira/browse/OPENNLP-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Giaconia updated OPENNLP-593:
----------------------------------

    Attachment: BaseModel.java.patch


Since I am not sure how far back models are compatible, the check now just makes sure the model and the opennlp version are the same MAJOR release, the check for equality on minor release value is removed. This will buy some time, but it seems like the actual format of the model is what should be validated (if this is possible somewhere, still looking)
                
> Version 1.5 models cannot be loaded with OpenNLP 1.6
> ----------------------------------------------------
>
>                 Key: OPENNLP-593
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-593
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Name Finder
>    Affects Versions: 1.6.0
>         Environment: Windows 7
>            Reporter: Mark Giaconia
>              Labels: patch
>             Fix For: 1.6.0
>
>         Attachments: BaseModel.java.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> IInvalidFormatException thrown on line 407 in BaseModel class if version numbers do not match.
> When the check for equality is commented out, the models seem to work (but perhaps improperly).
> Are the 1.5 models really INcompatible with OpenNLP 1.6, or does this check need to be fixed? 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira