An R wrapper for Jagger's lemmatizer (a tibble input)

lemmatize_tbl(tbl, column, model_path = NULL, keep = NULL)

Arguments

tbl

a tibble object.

column

a column name of the tibble to tokenize.

model_path

a path to the model.

keep

a vector of POS(s) to keep. Default is NULL.

Value

a tibble.

Examples

 data(sentence_example)
 res_lemmatize <- lemmatize_tbl(tibble::as_tibble(sentence_example), "text")