You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Luca (JIRA)" <ji...@apache.org> on 2018/03/26 10:07:00 UTC

[jira] [Created] (OPENNLP-1190) CONLL02 format

Luca created OPENNLP-1190:
-----------------------------

             Summary: CONLL02 format
                 Key: OPENNLP-1190
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1190
             Project: OpenNLP
          Issue Type: Bug
          Components: Formats
    Affects Versions: tools-1.5.3
            Reporter: Luca


According to the documentation, the following should work

 bin/opennlp TokenNameFinderConverter conll02 -data esp.train -lang es -types per > es_corpus_train_persons.txt

However currently it delivers error message since  it expects 3 columns instead of 2 that are in the dataset.

This is a bug, introduced at line 130 of   opennlp.tools.formats.Conll02NameSampleStream.java where a length of 3 is imposed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)