Hi,

I’m trying to test training OpenNLP’s Name Finder on some data, according to the guide in the documentation. However, I encountered the error: |Unsupported language: en|, which doesn’t seem to make any sense.

The command I ran is: |opennlp TokenNameFinderTrainer.conll03 -model model.bin -lang en -types per,loc,org,misc -data train.txt -encoding UTF-8|

I downloaded OpenNLP 1.9.0 from https://opennlp.apache.org/download.html. The |OPENNLP_HOME| environment variable does seem to be properly set, and the |lang| folder in the base folder contains an |en| folder.

Best regards,

Xiang Ji

​

Reply via email to