【问题标题】:How can I get the correct sentiment value of sentences in Stanford NLP sentiment analysis如何在斯坦福 NLP 情感分析中获得正确的句子情感值
【发布时间】:2015-12-09 14:23:17
【问题描述】:

我在http://nlp.stanford.edu/~socherr/stanfordSentimentTreebank.zip下载了斯坦福NLP情感分析的数据集

斯坦福NLP情感分析的网址是http://nlp.stanford.edu/sentiment/code.html

数据集中有11855个句子的列表,还有短语的情感值,但我找不到每个句子的真实情感分析。

例如,句子Offers that rare combination of entertainment and education .。这句话的真实情感值是多少?

【问题讨论】:

    标签: java stanford-nlp sentiment-analysis


    【解决方案1】:

    您应该获得文件 trainDevTestTrees_PTB.zip,该文件可在此处获得:http://nlp.stanford.edu/sentiment/code.html

    它是“PTB树格式的Train,Dev,Test Splits”链接到的文件

    情感值为 4。树中最左边的数字代表整个句子的值。

    树的形式是(分数(子树)(子树))。

    叶子的形式是(分数标记)。

    【讨论】:

      猜你喜欢
      • 2014-12-21
      • 2023-03-23
      • 1970-01-01
      • 2017-09-26
      • 2015-03-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多