I want to extract all synonyms from any word exist in wordnet. I was tried the function getAllSynonyms(word, pos) in package RiWordnet . it give me not the same result from wordnet. Why please?? To more understand me i give an example from a word=”eat” (verb)
Synonyms from function getAllSynonyms
exhaust
deplete
rust
feed
corrode
consume
synonyms from wordnet
Synonym 0 = eat,
Synonym 1 = eat,
Synonym 2 = feed,eat,
Synonym 3 = consume,eat up,use up,eat,deplete,exhaust,run through,wipe out,
Synonym 4 = eat,eat on,
Synonym 5 = corrode,eat,rust,
Why the two sets are different, namely the set of synonyms come from wordnet and other of set synonyms come from the getAllSynonyms(word, pos) function from package RiWordnet.