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

Outdated documentation on -lang argument?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.1
    • None
    • None
    • Patch

    Description

      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).

       

       

      Attachments

        Issue Links

          Activity

            People

              koji Koji Sekiguchi
              xji Xiang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: