tidytext (version 0.1.0)

dictionary_tidiers: Tidy dictionary objects from the quanteda package

Description

Tidy dictionary objects from the quanteda package

Usage

## S3 method for class 'dictionary':
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.