Installing/Using OpenNLP model jars

When running locally

When running on a Spark cluster

  • Copy the model file onto HDFS into a directory called opennlp-models-1.5
  • For example /user/centos/opennlp-models-1.5/en-ner-person.bin
  • The model file should be accessible by all the users who would use it

Using OpenNLP model jars

  • Specify the path of the jar file in the dialog box of the Open NLP nodes in the workflow
  • For example for the OpenNLPNameFinder node the path can be : /user/centos/opennlp-models-1.5/en-ner-person.bin
OpenNLP