get_lemmas {sehrnett} | R Documentation |
Search For Lemmas in WordNet
Description
Search for lemma(s) in WordNet.
Usage
get_lemmas(
x = c("very", "nice"),
pos = c("n", "v", "a", "s", "r"),
sensenum,
lemmatize = TRUE
)
Arguments
x |
character, one or more lemmas to be searched; it can also be a data.frame result from another |
pos |
character, a vector of part-of-speech labels: "n": Noun, "v": Verb, "a": Adjective, "s": Adjective satellite, "r": Adverb |
sensenum |
integer, if supplied, only those sensenum are selected. |
lemmatize |
logical, whether to lemmatize the |
Value
a data frame containing search result
Examples
if (interactive()) {
get_lemmas("king.n.10")
}