powered by
An R wrapper for Jagger's tokenizer
tokenize(input, model_path = NULL, keep = NULL, concat = TRUE)
a vector (if concat = TRUE) or a list (if concat = FALSE).
concat = TRUE
concat = FALSE
an input.
a path to the model.
a vector of POS(s) to keep. Default is NULL.
NULL
logical. If TRUE, the function returns a concatenated string. Default is TRUE.
TRUE
data(sentence_example) res_tokenize <- tokenize(sentence_example$text)
Run the code above in your browser using DataLab