Module: VaderSentimentRuby

Defined in:
lib/vader_sentiment_ruby.rb,
lib/vader_sentiment_ruby/checker.rb,
lib/vader_sentiment_ruby/version.rb,
lib/vader_sentiment_ruby/constants.rb,
lib/vader_sentiment_ruby/word_helper.rb,
lib/vader_sentiment_ruby/emojis_describer.rb,
lib/vader_sentiment_ruby/checker/no_word_checker.rb,
lib/vader_sentiment_ruby/sentiment_scores_sifter.rb,
lib/vader_sentiment_ruby/checker/negation_checker.rb,
lib/vader_sentiment_ruby/valence_score_calculator.rb,
lib/vader_sentiment_ruby/emojis_dictionary_creator.rb,
lib/vader_sentiment_ruby/lexicon_dictionary_creator.rb,
lib/vader_sentiment_ruby/sentiment_intensity_analyzer.rb,
lib/vader_sentiment_ruby/checker/special_idioms_checker.rb,
lib/vader_sentiment_ruby/punctuation_emphasis_amplifier.rb,
lib/vader_sentiment_ruby/sentiment_properties_identifier.rb,
lib/vader_sentiment_ruby/checker/but_word_negation_checker.rb,
lib/vader_sentiment_ruby/checker/least_word_negation_checker.rb,
lib/vader_sentiment_ruby/checker/sentiment_laden_idioms_checker.rb,
lib/vader_sentiment_ruby/checker/previous_words_influence_checker.rb

Overview

VaderSentimentRuby namespace

Defined Under Namespace

Modules: Checker, Constants, WordHelper Classes: EmojiDescriber, EmojisDictionaryCreator, LexiconDictionaryCreator, PunctuationEmphasisAmplifier, SentimentIntensityAnalyzer, SentimentPropertiesIdentifier, SentimentScoresSifter, ValenceScoreCalculator

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.polarity_scores(text) ⇒ Object



17
18
19
# File 'lib/vader_sentiment_ruby.rb', line 17

def self.polarity_scores(text)
  VaderSentimentRuby::SentimentIntensityAnalyzer.new.polarity_scores(text)
end