getLemma {wordnet} | R Documentation |
Retrieve the lemma (i.e., word) of an index term.
getLemma(indexterm)
indexterm |
The index term whose lemma is returned. |
A character vector holding the index term lemma.
Ingo Feinerer
M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone.html
if (initDict()) { filter <- getTermFilter("StartsWithFilter", "car", TRUE) terms <- getIndexTerms("NOUN", 5, filter) sapply(terms, getLemma) }