Getting sentiment analysis result using stanford core nlp java code

Viewed 5114

When we test it on Stanford demo page: http://nlp.stanford.edu:8080/sentiment/rntnDemo.html

it gives the tree with the sentiment score of each node as below:

enter image description here

I am trying to test it on my local system using command:

H:\Drive E\Stanford\stanfor-corenlp-full-2013~>java -cp "*" edu.stanford.nlp.sen
timent.Evaluate edu/stanford/nlp/models/sentiment/sentiment.ser.gz test.txt

text.txt has

This movie doesn't care about cleverness, wit or any other kind of intelligent humor. Those who find ugly meanings in beautiful things are corrupt without being charming.

which yields result:

Result

Can anyone please tell me why it is null? Or maybe I'm making any mistake in execution? My purpose is to analyze the text and get the sentiment result with the score.

1 Answers
Related