dictionary_tidiers: Tidy dictionary objects from the quanteda package

Description Usage Arguments Value

Description

Tidy dictionary objects from the quanteda package

Usage

1
2
## S3 method for class 'dictionary2'
tidy(x, regex = FALSE, ...)

Arguments

x

A dictionary object

regex

Whether to turn dictionary items from a glob to a regex

...

Extra arguments, not used

Value

A data frame with two columns: category and word.


tidytext documentation built on Nov. 18, 2017, 9:03 a.m.