"Importing Stanford CoreNLP classes in Groovy ExecuteScript"
phpdevelopers1
New Altair Community Member
I'm trying to utilize http://nlp.stanford.edu/software/corenlp.shtml Java library into my Groovy code in ExecuteScript operator. I'm doing
import edu.stanford.nlp.*;
and then
StanfordCoreNLP pipeline = new StanfordCoreNLP(props);
When I run the whole process there is an error that it can't locate StanfordCoreNLP class. "Unable to resolve class StandfordCoreNLP @ line ...". I tried:
Thanks in advance for your help!
import edu.stanford.nlp.*;
and then
StanfordCoreNLP pipeline = new StanfordCoreNLP(props);
When I run the whole process there is an error that it can't locate StanfordCoreNLP class. "Unable to resolve class StandfordCoreNLP @ line ...". I tried:
- adding the Stanford library to my system-wide CLASSPATH , so:
echo %CLASSPATH%
.;c:\downloads\stanford-corenlp-full-2014-01-04;c:\downloads\stanford-corenlp-full-2014-01-04\stanford-corenlp-3.3.1.jar - copying all the *.jars from c:\downloads\stanford-corenlp-full-2014-01-04 into %Program Files%\RapidMiner\RapiMiner Studio\lib
Thanks in advance for your help!
0