module Cadmium::StringExtension
Defined in:
lib/cadmium_tokenizer/src/cadmium/tokenizer.crcadmium/sentiment.cr
Instance Method Summary
-
#is_negative?
Determines if a string is more negative than positive.
-
#is_positive?
Determines if a string is more positive than negative.
-
#sentiment(inject = nil)
Get the sentiment of a string.
Instance Method Detail
def sentiment(inject = nil)
#
Get the sentiment of a string. Same as running
Cadmium::Sentiment.analyze(STRING)
.