理解Java程序执行

理解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

我正在执行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.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
    文件

  • 我想用新行字符测试示例。现在,当按下enter键时,它停止从用户处读取。如何将文本作为包含新行字符的参数传递

  • 这里是源代码的链接。在此zip文件的解压缩目录中执行了以下命令:


    您的主要方法是使用StanfordCoreNLP.process(String)方法的edu.stanford.nlp.Amotation.MountainPipeline类,您必须解压缩代码并了解代码的工作原理。如果它是可执行文件,您将无法打开它。至少在没有反编译器的情况下是这样,反编译器不是源代码的1:1。您至少需要一个
    .java