Description Main functions Note Author(s) References See Also
The sentometrics package is an integrated framework for textual sentiment time series aggregation and prediction. It accounts for the intrinsic challenge that, for a given text, sentiment can be computed in many different ways, as well as the large number of possibilities to pool sentiment across texts and time. This additional layer of manipulation does not exist in standard text mining and time series analysis packages. The package therefore integrates the fast quantification of sentiment from texts, the aggregation into different sentiment time series and the optimized prediction based on these measures.
Corpus (features) generation: sento_corpus
, add_features
,
as.sento_corpus
Sentiment computation and aggregation into sentiment measures: ctr_agg
,
sento_lexicons
, compute_sentiment
, aggregate.sentiment
,
as.sentiment
, sento_measures
, peakdocs
,
peakdates
, aggregate.sento_measures
Sparse modeling: ctr_model
, sento_model
Prediction and post-modeling analysis: predict.sento_model
,
attributions
Please cite the package in publications. Use citation("sentometrics")
.
Maintainer: Samuel Borms borms_sam@hotmail.com (ORCID)
Authors:
David Ardia david.ardia@hec.ca (ORCID)
Keven Bluteau keven.bluteau@unine.ch (ORCID)
Kris Boudt kris.boudt@vub.be (ORCID)
Other contributors:
Jeroen Van Pelt jeroenvanpelt@hotmail.com [contributor]
Andres Algaba andres.algaba@vub.be [contributor]
Ardia, Bluteau, Borms and Boudt (2021). The R Package sentometrics to Compute, Aggregate, and Predict with Textual Sentiment. Journal of Statistical Software 99(2), 1-40, doi: 10.18637/jss.v099.i02.
Ardia, Bluteau and Boudt (2019). Questioning the news about economic growth: Sparse forecasting using thousands of news-based sentiment values. International Journal of Forecasting 35, 1370-1386, doi: 10.1016/j.ijforecast.2018.10.010.
Useful links:
Report bugs at https://github.com/SentometricsResearch/sentometrics/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.