Scala Script throwing errors: missing open nlp

时间:2018-11-27 00:47:38

标签: scala apache-spark hadoop cloudera

I am new to scala and would like to run a scala script .

The code is here : https://github.com/ofermend/practical-data-science-with-hadoop-and-spark/blob/master/ch09/lda-script.scala

I would run it using spark-shell and i am getting the following error:scala> import opennlp.tools.stemmer.PorterStemmer :23: error: not found: value opennlp import opennlp.tools.stemmer.PorterStemmer.

I did download the opennlp.tools and it is in the same folder but I was wondering if I am missing something?

Thanks, L

0 个答案:

没有答案