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

Outdated documentation on -lang argument?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.1
    • Component/s: None
    • Labels:
      None
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: