def score_words(word_frequencies)
      word_frequencies.each do |word, frequency|
        set_emotions(word, frequency)
      end

      score_emoticons

      ambiguous_score
    end
def score_words(word_frequencies)
      word_frequencies.each do |word, frequency|
        set_emotions(word, frequency)
      end

      score_emoticons

      ambiguous_score
    end
Logic to score all unique words in the text