Package: text2emotion 0.1.0

text2emotion: Real-Time Emoji Mapping for Emotional English Text

This package allows users to analyze text and classify emotions such as happiness, sadness, anger, fear, and neutrality. It combines text preprocessing, TF-IDF feature extraction, and Random Forest classification to predict emotions and map them to corresponding emojis for enhanced sentiment visualization.

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

text2emotion_0.1.0.tar.gz
text2emotion_0.1.0.zip(r-4.7-any)text2emotion_0.1.0.zip(r-4.6-any)text2emotion_0.1.0.zip(r-4.5-any)
text2emotion_0.1.0.tgz(r-4.6-any)text2emotion_0.1.0.tgz(r-4.5-any)
text2emotion_0.1.0.tar.gz(r-4.7-any)text2emotion_0.1.0.tar.gz(r-4.6-any)
text2emotion_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
text2emotion/json (API)

# Install 'text2emotion' in R:
install.packages('text2emotion', repos = c('https://natwwww.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/natwwww/text2emotion/issues

On CRAN:

Conda:

3.30 score 4 stars 154 downloads 8 exports 94 dependencies

Last updated from:a307c75157. Checks:7 WARNING, 1 ERROR, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING171
source / vignettesERROR288
linux-releaseWARNING186
macos-releaseWARNING208
macos-oldrelWARNING207
windows-develWARNING138
windows-releaseWARNING141
windows-oldrelWARNING118
wasm-releaseOK146

Exports:evaluate_rf_modelhandle_negationpredict_emotion_with_emojipreprocess_texttrain_full_modeltrain_rf_modeltrain_tfidf_modeltune_rf_model

Dependencies:caretclasscliclockcodetoolscpp11data.tablediagramdigestdplyrdtte1071englishfarverfloatforeachfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalexiconlgrlifecyclelistenvlubridatemagrittrMASSMatrixMatrixExtramgsubmlapiModelMetricsnlmeNLPnnetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrqdapRegexR6rangerRColorBrewerRcppRcppArmadilloRcppEigenrecipesreshape2RhpcBLASctlrlangrpartrsparseS7scalesshapeslamsparsevctrsSQUAREMstringistringrsurvivalsyuzhettext2vectextcleantextshapetibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithrzoo