class TokenProbability

Attributes

negative_matches[RW]
negative_total[RW]
positive_matches[RW]
positive_total[RW]
probability[RW]
sentiment[RW]
token[RW]

Public Class Methods

new(token, probability, sentiment, positive_total, positive_matches, negative_total, negative_matches) click to toggle source
# File lib/engine/classification_result.rb, line 25
def initialize token, probability, sentiment, positive_total, positive_matches, negative_total, negative_matches
  @token, @probability, @sentiment, @positive_total, @positive_matches, @negative_total, @negative_matches = token, probability, sentiment, positive_total, positive_matches, negative_total, negative_matches
end