twokenizer: POS tag tweets

Description Usage Arguments Examples

View source: R/twokenizer.R

Description

POS tag tweets in R, returning a dataframe with the columns of word, tag, and confidence.

Usage

1
twokenizer(tagger_location, text, model_location = NULL)

Arguments

tagger_location

The location of the "ark-tweet-nlp-0.3.2" folder.

text

Tweet to be tagged.

model_location

The location of an optional model to be used (e.g. Penn Treebank-style POS tags), instead of the standard model.

Examples

1
2
#twokenizer("~/ark-tweet-nlp-0.3.2",
#"ikr smh he asked fir yo last name so he can add u on fb lololol")

b05102139/twokenizer documentation built on March 3, 2020, 12:13 a.m.