简体   繁体   English

SentiWordNet中的有义数是什么意思?

[英]What is the meaning of sense number in SentiWordNet?

I want to use SentiWordNet for my project and I could not figure out what does the sense number do? 我想在我的项目中使用SentiWordNet,但我不知道感觉数字是做什么的? Here is a part of SentiWordNet's word list; 这是SentiWordNet单词列表的一部分;

POS ID PosScore NegScore SynsetTerms Gloss POS ID PosScore NegScore SynsetTerms光泽度

a 00002730 0 0 acroscopic#1 facing or on the side toward the apex a 00002730 0 0 acroscopic#1面向顶点或朝向顶点的一侧

a 00002843 0 0 basiscopic#1 facing or on the side toward the base a 00002843 0 0 basecopic#1面向底座或朝向底座

a 00003829 0.25 0 parturient#2 giving birth; 00003829 0.25 0分娩#2分娩; "a parturient heifer" “产仔小母牛”

Here is the explanation of SentiWordNet from its word list document; 这是SentiWordNet的单词列表文档中的解释;

The pair (POS,ID) uniquely identifies a WordNet (3.0) synset. 该对(POS,ID)唯一标识WordNet(3.0)同义词集。 The values PosScore and NegScore are the positivity and negativity score assigned by SentiWordNet to the synset. 值PosScore和NegScore是SentiWordNet分配给同义词集的阳性和阴性得分。 The objectivity score can be calculated as: ObjScore = 1 - (PosScore + NegScore) SynsetTerms column reports the terms, with sense number, belonging to the synset (separated by spaces). 客观性得分可以计算为:ObjScore = 1-(PosScore + NegScore)SynsetTerms列报告具有意义编号的术语,属于同义集(用空格分隔)。

I also found a related question here but I did not understand the feature of the sense number from the answer. 我在这里也找到了一个相关的问题,但是我不从答案中理解有义数的特征 Here is the related question's link: What does sentiwordnet 3.0 result signify? 这是相关问题的链接: sentiwordnet 3.0结果表示什么?

My question is: How can I use this sense number part in my code? 我的问题是:如何在我的代码中使用这个有义数字部分? What does it do exactly? 它到底是做什么的?

If you lookup "parturient" in WordNet you'll see two meanings are shown. 如果您在WordNet中查找“ parturient”,则会看到两个含义。 These are parturient#1 and parturient#2 respectively. 它们分别是parturient#1和parturient#2。

In that case the difference is rather subtle. 在那种情况下,差异非常微妙。 But, for instance, the word "field" has lots of senses , and you might care which one is being referred to. 但是,例如, “田地”一词具有多种含义 ,您可能会在意哪个是指。

You would use them if you then start looking at the semantic relations of that word. 如果您然后开始查看该词的语义关系,就可以使用它们。 Eg the hypernym of field#4 is "knowledge domain", whereas the hypernym of of field#1 is "tract" (piece of land). 例如,字段#4的笔名是“知识领域”,而字段#1的笔名是“领域”(一块土地)。

A classic example when considering sentiment is to compare suck#2 and suck#4 in the context of talking about a vacumn cleaner! 考虑情绪时,一个经典的例子是在谈论真空吸尘器的情况下比较suck#2和suck#4 Eg "This cleaner really sucks#4 as it hardly sucks#2 at all." 例如:“这个清洁工真的很烂#4,因为它几乎根本不烂#2。”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM