我的情绪分析代码没有给出任何极性。 这是代码。
from senti_classifier import senti_classifier
sentences = ['The movie was the worst movie', 'It was the worst acting by the actors']
pos_score, neg_score = senti_classifier.polarity_scores(sentences)
print pos_score, neg_score
我的极性为0,0。 我不懂为什么。我需要训练数据吗? 我以为它包含在nltk库中。 请帮忙。
谢谢。