Learn R Programming

RcppJagger (version 0.0.2)

tokenize_tbl: An R wrapper for Jagger's tokenizer (a tibble input)

Description

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

Usage

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

Value

a tibble.

Arguments

tbl

a tibble.

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.

Examples

Run this code
 data(sentence_example)
 res_tokenize <- tokenize_tbl(tibble::as_tibble(sentence_example), "text")

Run the code above in your browser using DataLab