理解Java程序执行
我正在执行stanford nlp包以获得情感结果 这是命令:理解Java程序执行,java,Java,我正在执行stanford nlp包以获得情感结果 这是命令: java -cp "*" -mx5g edu.stanford.nlp.sentiment.SentimentPipeline -stdin 它从用户处读取数据,并在按下enter键时给出结果。 此处显示了如何处理它: H:\Drive E\Stanford\stanfor-corenlp-full-2013~>java -cp "*" -mx1g edu.stanford.n lp.sentiment.SentimentP
java -cp "*" -mx5g edu.stanford.nlp.sentiment.SentimentPipeline -stdin
它从用户处读取数据,并在按下enter键时给出结果。
此处显示了如何处理它:
H:\Drive E\Stanford\stanfor-corenlp-full-2013~>java -cp "*" -mx1g edu.stanford.n
lp.sentiment.SentimentPipeline -stdin
Adding annotator tokenize
Adding annotator ssplit
Adding annotator parse
Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCF
G.ser.gz ... done [4.7 sec].
Adding annotator sentiment
Reading in text from stdin.
Please enter one sentence per line.
Processing will end when EOF is reached.
this my first test for the. so I need to get the answer of new e. Any idea for this?
Negative
Again we are working on new test the insert value is the test of new creation
Neutral
负值
和正值
是用户按enter键时显示的结果
我的问题是:
jar
文件您的主要方法是使用StanfordCoreNLP.process(String)方法的edu.stanford.nlp.Amotation.MountainPipeline类,您必须解压缩代码并了解代码的工作原理。如果它是可执行文件,您将无法打开它。至少在没有反编译器的情况下是这样,反编译器不是源代码的1:1。您至少需要一个
.java