An R wrapper for Jagger's POS tagger (only returning POS)

pos_simple(
  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_simple(sentence_example$text)