Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-906

Third-party chunker model from 1.6.0 fails to load in 1.7.0-rc-1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Chunker
    • None

    Description

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

      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
      

      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?

      Attachments

        Activity

          People

            joern Jörn Kottmann
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: