You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2018/08/01 01:06:00 UTC

[jira] [Resolved] (OPENNLP-1210) Outdated documentation on -lang argument?

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

Koji Sekiguchi resolved OPENNLP-1210.
-------------------------------------
       Resolution: Fixed
         Assignee: Koji Sekiguchi
    Fix Version/s: 1.9.1

Thanks  Xiang Ji! :)

> Outdated documentation on -lang argument?
> -----------------------------------------
>
>                 Key: OPENNLP-1210
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1210
>             Project: OpenNLP
>          Issue Type: Bug
>            Reporter: Xiang Ji
>            Assignee: Koji Sekiguchi
>            Priority: Major
>             Fix For: 1.9.1
>
>
> I encountered "Unsupported language: en" error when I was trying to run the `TokenNameFinderConverter` or the `{{TokenNameFinderTrainer}}`.
>  
> I'm not sure if I understood the bug correctly but it seems that after 2 hours of trying, I found out that apparently in a certain version after `1.5.3`, OpenNLP changed the language codes from two characters to three characters, i.e. one should have passed in `eng` instead of `en`. But the documentation was never updated on this and no meaningful error message was given (i.e. the program didn't suggest "supported languages" instead).
>  
>  



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