一些单词具有肯定的意思,但是sentiwordnet将其显示为否定的意思或相反

时间:2019-05-19 14:13:39

标签: python senti-wordnet

例如,“高兴”一词的平均数为正,但sentiwordnet显示为负数,而“愤怒”一词的平均数为负,但sentiwordnet显示为客观,为什么?

senti_wordnet=swn.senti_synset('glad.a.01')
print(senti_wordnet)
>> <glad.a.01: PosScore=0.125 NegScore=0.625>
senti_wordnet=swn.senti_synset('anger.n.01')
print(senti_wordnet)
>> <anger.n.01: PosScore=0.375 NegScore=0.0>


0 个答案:

没有答案