You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Richard Eckart de Castilho (JIRA)" <ji...@apache.org> on 2016/12/31 18:14:58 UTC

[jira] [Created] (OPENNLP-906) Third-party chunker model from 1.6.0 fails to load in 1.7.0-rc-1

Richard Eckart de Castilho created OPENNLP-906:
--------------------------------------------------

             Summary: Third-party chunker model from 1.6.0 fails to load in 1.7.0-rc-1
                 Key: OPENNLP-906
                 URL: https://issues.apache.org/jira/browse/OPENNLP-906
             Project: OpenNLP
          Issue Type: Bug
          Components: Chunker
    Affects Versions: 1.7.0
            Reporter: Richard Eckart de Castilho
             Fix For: 1.7.0


I have tried upgrading DKPro Core to the RC1 and most of
the tests work, however, in one case I get this message:

{noformat}
Caused by: opennlp.tools.util.InvalidFormatException: Model version 1.6.0 is not supported by this (1.7.0) version of OpenNLP!
        at opennlp.tools.util.model.BaseModel.validateArtifactMap(BaseModel.java:428)
        at opennlp.tools.chunker.ChunkerModel.validateArtifactMap(ChunkerModel.java:88)
        at opennlp.tools.util.model.BaseModel.checkArtifactMap(BaseModel.java:493)
        ... 48 more
{noformat}

The problematic model is a third-party chunker model:

http://ixa2.si.ehu.es/ixa-pipes/models/chunk-models-1.1.0.tar.gz
file: en-perceptron-conll00.bin

I believe that 1.6.0 models should still work for 1.7.0, right?



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