getSynonyms {wordnet} | R Documentation |
Get synonyms for a given index term.
getSynonyms(indexterm)
indexterm |
The input index term. |
A character vector holding the synonyms for the given index term.
Ingo Feinerer
M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone.html
validInstallation <- initDict() if (validInstallation) { dict <- getDictInstance() filter <- getTermFilter("ExactMatchFilter", "company", TRUE) terms <- getIndexTerms(dict, "NOUN", 5, filter) getSynonyms(terms[[1]]) }