🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Importing Stanford CoreNLP classes in Groovy ExecuteScript"

phpdevelopers1User: "phpdevelopers1"
New Altair Community Member
Updated by Jocelyn
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:
  • 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
OS: Win7 x64, RM 6.0.0003

Thanks in advance for your help!


Find more posts tagged with

Comments

No comments on this post.