gpt4 book ai didi

python - "s"在 WordNet 同义词集中代表什么词性

转载 作者:太空狗 更新时间:2023-10-29 17:30:47 26 4
gpt4 key购买 nike

我有一个 GRE 单词列表,我正在为其获取同义词集列表。

for word in words:
synsets = wordnet.synsets(word['name'])

for synset in synsets:
print synset.pos #prints part of speech

对于列表中的许多单词,我看到了熟悉的词性,如动词、名词等。但是,我遇到了许多被归类为“s”的单词。我一辈子都弄不懂词性“s”代表什么。我唯一能想到的是“s”代表“单数”,但这不是语音分类的一部分。

例如,“admonitory”这个词是一个形容词。返回的两个同义词集是“admonitory.s.01”和“admonitory.s.02”。两者都将词性列为“s”。

如果有人能向我解释这一点,或者为我指出一些我可能会找到答案的好资源的方向,我将不胜感激。

我已经通读了有关该主题的 NLTK 文档,但没有找到答案。

最佳答案

https://wordnet.princeton.edu/documentation/wndb5wn将其记录为形容词卫星。 https://wordnet.princeton.edu/documentation/wngloss7wn解释形容词在“形容词集群”中被分割为“头”和“卫星”同义词集:

Adjectives are arranged in clusters containing head synsets and satellite synsets. Each cluster is organized around antonymous pairs (and occasionally antonymous triplets). The antonymous pairs (or triplets) are indicated in the head synsets of a cluster. Most head synsets have one or more satellite synsets, each of which represents a concept that is similar in meaning to the concept represented by the head synset. One way to think of the adjective cluster organization is to visualize a wheel, with a head synset as the hub and satellite synsets as the spokes. Two or more wheels are logically connected via antonymy, which can be thought of as an axle between the wheels.

关于python - "s"在 WordNet 同义词集中代表什么词性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18817396/

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