synonyms {wordnet} | R Documentation |
Get synonyms for a given word.
synonyms(dict, word)
dict |
A WordNet dictionary. |
word |
The input word. |
A character vector holding the synonyms for the given word.
Ingo Feinerer
validInstallation <- initDict() if (validInstallation) { dict <- getDictInstance() synonyms(dict, "company") }