gpt4 book ai didi

sentiment-analysis - SentiWordNet 中的意义数是什么意思?

转载 作者:行者123 更新时间:2023-12-04 07:54:28 29 4
gpt4 key购买 nike

我想在我的项目中使用 SentiWordNet,但我无法弄清楚意义数字有什么作用?这是 SentiWordNet 单词列表的一部分;

POS ID PosScore NegScore SynsetTerms Gloss

a 00002730 0 0 acroscopic#1 facing or on the side toward the apex

a 00002843 0 0 basiscopic#1 facing or on the side toward the base

a 00003829 0.25 0 parturient#2 giving birth; "a parturient heifer"

这里是 SentiWordNet 的单词列表文档的解释;

The pair (POS,ID) uniquely identifies a WordNet (3.0) synset. Thevalues PosScore and NegScore are the positivity and negativity scoreassigned by SentiWordNet to the synset. The objectivity score can becalculated as: ObjScore = 1 - (PosScore + NegScore) SynsetTerms columnreports the terms, with sense number, belonging to the synset(separated by spaces).

我在这里也发现了一个相关的问题,但我没有从答案中理解意义数的特征。这是相关问题的链接:What does sentiwordnet 3.0 result signify?

我的问题是:如何在我的代码中使用这个感知数字部分? 它到底有什么作用?

最佳答案

如果您lookup "parturient" in WordNet你会看到显示了两种含义。它们分别是parturient#1 和parturient#2。

在这种情况下,差异相当微妙。但是,例如,单词 "field" has lots of senses ,您可能会关心所指的是哪一个。

如果您随后开始查看该单词的语义关系,您就会使用它们。例如。 field#4 的上位词是“知识领域”,而 field#1 的上位词是“tract”(一 block 土地)。

考虑情绪时的一个典型例子是 compare suck#2 and suck#4在谈论真空吸尘器的背景下!例如。 “这个清洁剂真的很糟糕#4,因为它根本就不那么糟糕#2。”

关于sentiment-analysis - SentiWordNet 中的意义数是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36237416/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com