An R wrapper for Jagger's POS tagger

pos(input, model_path = NULL, keep = NULL, format = c("list", "data.frame"))

Arguments

input

an input.

model_path

a path to the model.

keep

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

format

a format of the output. Default is list.

Value

a list object.

Examples

 data(sentence_example)
 res_pos <- pos(sentence_example$text)