Solved

Which of the Following Statements A), B) or C) Is \bullet

Question 22

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) You can get a Word's synsets-that is, its xe "synset (set of synonyms) "xe "sets of synonyms (synset) "sets of synonyms-via the synsets property. The result of applying this property to a Word is a list of Synset objects:
In [4]: happy.synsets
Out[4]:
[Synset('happy.a.01') ,
Synset('felicitous.s.02') ,
Synset('glad.s.02') ,
Synset('happy.s.04') ]
B) Each Synset represents a group of synonyms. In the code in part b) above, the notation happy.a.01: \bullet happy is the original Word's lemmatized form (in this case, it's the same) .
\bullet a is the part of speech, which can be a for adjective, n for noun, v for verb, r for adverb or s for adjective satellite.
\bullet 01 is a 0-based index number. Many words have multiple meanings, and this is the index number of the corresponding meaning in the WordNet database.
C) There's also a get_synsets method that enables you to pass a part of speech as an argument so you can get Synsets matching only that part of speech.
D) All of the above statements are true.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions