Text corpus sentiment analysis


[Up] [Top]

Documentation for package ‘tm.plugin.sentiment’ version 0.0.1

Help Pages

addNeg_Refs_Per_Ref Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
addPolarity Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
addPos_Refs_Per_Ref Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
addSentiment Add Sentiment Scores as barchart to current chob
addSentimentVo Add Sentiment Volume as barchart to current chob
addSenti_Diffs_Per_Ref Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
addSentVol Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
addSubjectivity Add Sentiment Field to chob Adds one of the following sentiment fields to the current chob: Subjectivity, Polarity, Pos_Refs_Per_Ref, Pos_Refs_Per_Ref, Neg_Refs_Per_Ref, Senti_Diffs_Per_Ref, SentVol
chartSent Chart Sentiment is a Helper function for 'addSentiment'
chartSentiment Chart Sentiment Chart (stock) sentiment using quantmods plotting capabilities. Some hopefully useful presets have been made.
dic_gi This is data to be included in 'tm.plugin.sentiment'
getField.VCorpus Get Meta Data Field in VCorpus as Vector Get Meta Data Field in VCorpus as Vector
getRelevant Get Relevant Part from Text Document. Search for the first and last occurence of items in Text Document, get sentence boundaries and extract text. Function can be used in tm_map wrapper
has.Neg_Refs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
has.Polarity Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
has.Pos_Refs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
has.Senti_Diffs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
has.SentVol Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
has.Subj Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
metaXTS Calculate xts from scored corpus
negterms_GI Get Negative Terms from General Inquirer
Neg_Refs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
neg_refs_per_ref Calculate neg_refs_per_ref from Matrix
Polarity Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
polarity Calculate Polarity from Matrix
posterms_GI Get Positive Terms from General Inquirer
Pos_Refs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
pos_refs_per_ref Calculate pos_refs_per_ref from Matrix
preprocessCorpus Preprocess Corpus with functions specified in control. Little helper function to have a little more control of the preprocessing step. Especially the order of the control elements is preserved (as opposed to the preprocessing done in DocumentTermMatrix or TermDocumentMatrix.
score Score Corpus Annotate corpus with scores using various functions Implementation generates a 'TermDocumentMatrix' as a first step and applies specified functions to it in order to generate score.
Senti_Diffs_Per_Ref Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
senti_diffs_per_ref Calculate senti_diffs_per_ref from Matrix
SentVol Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
setField.VCorpus Set Meta Data Field in VCorpus from Vector Set Meta Data Field in VCorpus from Vector
Subj Simple XTS transformations for (OHLC) Stock Sentiment XTS Objects
subjectivity Calculate Polarity from Matrix