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

View source: R/lemmatizer.R

lemmatize_tblR Documentation

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

Description

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

Usage

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")

RcppJagger documentation built on July 9, 2023, 5:24 p.m.