getIndexTerms {wordnet} | R Documentation |
Get index terms from a WordNet dictionary as specified by a filter.
getIndexTerms(dict, pos, maxLimit, filter)
dict |
A WordNet dictionary. |
pos |
Part of speech type. Must be either ADJECTIVE ,
ADVERB , NOUN , or VERB . |
maxLimit |
Maximum number of results. |
filter |
A term filter. |
A list of index terms.
Ingo Feinerer
M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone.html
validInstallation <- initDict() if (validInstallation) { dict <- getDictInstance() filter <- getTermFilter("StartsWithFilter", "car", TRUE) getIndexTerms(dict, "NOUN", 5, filter) }