code: def _update_ratings(self, ratings, new_ratings):
      assert len(ratings) == 0 or len(ratings) == len(new_ratings)
  
      for sentence, rating in new_ratings.items():
          ratings[sentence] += rating
  
      return ratings
  
imports: from __future__ import absolute_import
  from __future__ import division, print_function, unicode_literals
  from collections import defaultdict
  from ..nlp.stemmers import null_stemmer
  from ._summarizer import AbstractSummarizer
  from .edmundson_cue import EdmundsonCueMethod
  from .edmundson_key import EdmundsonKeyMethod
  from .edmundson_title import EdmundsonTitleMethod
  from .edmundson_location import EdmundsonLocationMethod
label_desc: Use image node_id 10 for calling the EdmundsonSummarizer obj's underlying member method code with example usage: obj._update_ratings(ratings, new_ratings) and returns: ratings