How to conduct the training of NER models for 'Urdu' in OpenNLP?

412 Views Asked by At

I would like to train a NER models using Apache OpenNLP for my native language Urdu. I have training data in train.txt ready. What are the next steps to make a trained model(.bin), like we find on OpenNLP site in the model download section.

1

There are 1 best solutions below

1
On
opennlp TokenNameFinderTrainer -model model.bin -lang en -data train.txt -encoding UTF-8

using this command, you can create your model.bin

please refer to the documentation for extra information!