The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Importing Stanford CoreNLP classes in Groovy ExecuteScript"
phpdevelopers1
Member Posts: 1 Learner III
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!
Tagged:
0