Learn R Programming

Beta version of the DICE-M natural language processing model. To install, run the following in R:

devtools::install_github("https://github.com/myeomans/DICEM")

To analyse your text, use the main function like so:

DICE(data$text)

The best model of intensity includes politeness features, which require SpaCy to be installed on your computer in advance. To access this model, try:

DICE(data$text, parser="spacy")

Copy Link

Version

Install

install.packages('DICEM')

Monthly Downloads

139

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Mike Yeomans

Last Published

August 21st, 2024

Functions in DICEM (0.1.0)

basicSet

Basic Features
diceNGrams

Pre-trained advice concreteness features
featureSet

DICE Features
DICE

DICE Model Scores
usWords

UK to US conversion
uk2us

UK to US Conversion dictionary
phone_offers

Purchase offers for phone
polymodel

Polynomial pre-trained fit