An R wrapper for Jagger's lemmatizer
lemmatize(input, model_path = NULL, keep = NULL, concat = TRUE)
an input.
a path to the model.
a vector of POS(s) to keep. Default is NULL
.
logical. If TRUE, the function returns a concatenated string. Default is TRUE
.
a vector (if concat = TRUE
) or a list (if concat = FALSE
).
data(sentence_example)
res_lemmatize <- lemmatize(sentence_example$text)