Tidy dictionary objects from the quanteda package
# S3 method for dictionary2 tidy(x, regex = FALSE, ...)
| x | A dictionary object |
|---|---|
| regex | Whether to turn dictionary items from a glob to a regex |
| ... | Extra arguments, not used |
A data frame with two columns: category and word.