| getSynsets {wordnet} | R Documentation |
Get synsets for a given index term.
getSynsets(indexterm)
indexterm |
The input index term. |
An array of synsets.
Ingo Feinerer
M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone.html
validInstallation <- initDict()
if (validInstallation) {
dict <- getDictInstance()
filter <- getTermFilter("ExactMatchFilter", "hot", TRUE)
terms <- getIndexTerms(dict, "ADJECTIVE", 5, filter)
getSynsets(terms[[1]])
}