code: def _rate_sentence(
      self, sentence, bonus_word_weight, stigma_word_weight
  ):
      # count number of bonus/stigma words in sentence
      words = map(self.stem_word, sentence.words)
      bonus_words_count, stigma_words_count = self._count_words(words)
  
      # compute positive & negative rating
      bonus_rating = bonus_words_count * bonus_word_weight
      stigma_rating = stigma_words_count * stigma_word_weight
  
      # rating of sentence is (positive - negative) rating
      return bonus_rating - stigma_rating
  
file_path: sumy/sumy/summarizers/edmundson_cue.py
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  from ._summarizer import AbstractSummarizer
label_desc: Use image node_id 3 for calling the EdmundsonCueMethod obj's underlying member method code with example usage: obj._rate_sentence(sentence, bonus_word_weight, stigma_word_weight) and returns: unknown