pos_simple: An R wrapper for Jagger's POS tagger (only returning POS)
Description
An R wrapper for Jagger's POS tagger (only returning POS)
Usage
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.
Examples
Run this code data(sentence_example)
res_pos <- pos_simple(sentence_example$text)
Run the code above in your browser using DataLab