code: def __init__(
      self,
      stemmer=null_stemmer,
      cue_weight=1.0,
      key_weight=0.0,
      title_weight=1.0,
      location_weight=1.0,
  ):
      super(EdmundsonSummarizer, self).__init__(stemmer)
  
      self._ensure_correct_weights(
          cue_weight, key_weight, title_weight, location_weight
      )
  
      self._cue_weight = float(cue_weight)
      self._key_weight = float(key_weight)
      self._title_weight = float(title_weight)
      self._location_weight = float(location_weight)
  
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 1 to create a new EdmundsonSummarizer object from inherited base classes: AbstractSummarizer with example: obj = EdmundsonSummarizer(stemmer, cue_weight, key_weight, title_weight, location_weight)