class_docstr: SumBasic: a frequency-based summarization system that adjusts word frequencies as
  sentences are extracted.
  Source: http://www.cis.upenn.edu/~nenkova/papers/ipm.pdf
class_docstr_tok: ["SumBasic",":","a","frequency-based","summarization","system","that","adjusts","word","frequencies","as","sentences","are","extracted",".","Source",":","http",":","\/\/www.cis.upenn.edu\/~nenkova\/papers\/ipm.pdf"]
code: def _find_index_of_best_sentence(self, word_freq, sentences_as_words):
      min_possible_freq = -1
      max_value = min_possible_freq
      best_sentence_index = 0
      for i, words in enumerate(sentences_as_words):
          word_freq_avg = self._compute_average_probability_of_words(
              word_freq, words
          )
          if word_freq_avg > max_value:
              max_value = word_freq_avg
              best_sentence_index = i
      return best_sentence_index
  
file_path: sumy/sumy/summarizers/sum_basic.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 14 for calling the SumBasicSummarizer obj's underlying member method code with example usage: obj._find_index_of_best_sentence(word_freq, sentences_as_words) and returns: best_sentence_index