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