text2emotion: Emotion Analysis and Emoji Mapping for Text (original) (raw)
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.
Version: | 0.1.0 |
---|---|
Depends: | R (≥ 4.4.0) |
Imports: | stringr, textclean, magrittr, text2vec, ranger, caret, parallel, stats, Matrix |
Suggests: | rmarkdown, knitr, testthat (≥ 3.0.0) |
Published: | 2025-05-12 |
DOI: | 10.32614/CRAN.package.text2emotion |
Author: | Yusong Zhao [aut], Fangyi Wang [aut, cre], Zisheng Qu [aut] |
Maintainer: | Fangyi Wang <123090550 at link.cuhk.edu.cn> |
License: | GPL-2 |
NeedsCompilation: | no |
CRAN checks: | text2emotion results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=text2emotionto link to this page.