【问题标题】:Identify negative sentence By using NLP [closed]使用 NLP 识别否定句 [关闭]
【发布时间】:2016-06-04 05:05:19
【问题描述】:

我想检查下面的句子是肯定的还是否定的,请帮助我

句子-我什么都不记得了

【问题讨论】:

标签: python nlp


【解决方案1】:

这就是你要找的吗? (在 Python 中)

from textblob import TextBlob

TextBlob("not a very great calculation").sentiment
## Sentiment(polarity=-0.3076923076923077, subjectivity=0.5769230769230769)

【讨论】:

    猜你喜欢
    • 2017-11-23
    • 1970-01-01
    • 1970-01-01
    • 2017-10-28
    • 2018-03-08
    • 2020-07-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多