Package: SentimentAnalysis 1.3-5
Nicolas Proellochs
SentimentAnalysis: Dictionary-Based Sentiment Analysis
Performs a sentiment analysis of textual contents in R. This implementation utilizes various existing dictionaries, such as Harvard IV, or finance-specific dictionaries. Furthermore, it can also create customized dictionaries. The latter uses LASSO regularization as a statistical approach to select relevant terms based on an exogenous response variable.
Authors:
SentimentAnalysis_1.3-5.tar.gz
SentimentAnalysis_1.3-5.zip(r-4.5)SentimentAnalysis_1.3-5.zip(r-4.4)SentimentAnalysis_1.3-5.zip(r-4.3)
SentimentAnalysis_1.3-5.tgz(r-4.4-any)SentimentAnalysis_1.3-5.tgz(r-4.3-any)
SentimentAnalysis_1.3-5.tar.gz(r-4.5-noble)SentimentAnalysis_1.3-5.tar.gz(r-4.4-noble)
SentimentAnalysis_1.3-5.tgz(r-4.4-emscripten)SentimentAnalysis_1.3-5.tgz(r-4.3-emscripten)
SentimentAnalysis.pdf |SentimentAnalysis.html✨
SentimentAnalysis/json (API)
NEWS
# Install 'SentimentAnalysis' in R: |
install.packages('SentimentAnalysis', repos = c('https://sfeuerriegel.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sfeuerriegel/sentimentanalysis/issues
- DictionaryGI - Dictionary with opinionated words from the Harvard-IV dictionary as used in the General Inquirer software
- DictionaryHE - Dictionary with opinionated words from Henry's Financial dictionary
- DictionaryLM - Dictionary with opinionated words from Loughran-McDonald Financial dictionary
Last updated 1 years agofrom:279194dc86. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 17 2024 |
R-4.5-win | NOTE | Dec 17 2024 |
R-4.5-linux | NOTE | Dec 17 2024 |
R-4.4-win | NOTE | Dec 17 2024 |
R-4.4-mac | NOTE | Dec 17 2024 |
R-4.3-win | OK | Dec 17 2024 |
R-4.3-mac | OK | Dec 17 2024 |
Exports:analyzeSentimentcompareDictionariescompareToResponseconvertToBinaryResponseconvertToDirectioncountWordsenetEstimationextractWordsgenerateDictionaryglmEstimationlassoEstimationlmEstimationloadDictionaryGIloadDictionaryHEloadDictionaryLMloadDictionaryLM_UncertaintyloadDictionaryQDAPloadImdblookupEstimationMethodngram_tokenizenumEntriesnumNegativeEntriesnumPositiveEntriesplotSentimentplotSentimentResponsepreprocessCorpusreadridgeEstimationruleLinearModelruleNegativityrulePositivityruleRatioruleSentimentruleSentimentPolarityruleWordCountSentimentDictionarySentimentDictionaryBinarySentimentDictionaryWeightedSentimentDictionaryWordlistspikeslabEstimationtoDocumentTermMatrixtransformIntoCorpuswrite
Dependencies:BHclicodetoolscolorspacefansifarverforeachggplot2glmnetgluegtableisobanditeratorslabelinglarslatticelifecyclemagrittrMASSMatrixmgcvmomentsmunsellngramrrnlmeNLPpillarpkgconfigqdapDictionariesR6randomForestRColorBrewerRcppRcppEigenrlangscalesshapeslamspikeslabstringdistsurvivaltautibbletmutf8vctrsviridisLitewithrxml2