Emotion Analysis and Emoji Mapping for Text

Allows users to analyze text and classify emotions such as happiness, sadness, anger, fear, and neutrality. It combines text preprocessing, TF-IDF (Term Frequency-Inverse Document Frequency) feature extraction, and Random Forest classification to predict emotions and map them to corresponding emojis for enhanced sentiment visualization.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("text2emotion")

0.1.0 by Fangyi Wang, a year ago


Browse source code at https://github.com/cran/text2emotion


Authors: Yusong Zhao [aut] , Fangyi Wang [aut, cre] , Zisheng Qu [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports stringr, textclean, magrittr, text2vec, ranger, caret, parallel, stats, Matrix

Suggests rmarkdown, knitr, testthat


See at CRAN