class_docstr: The scansion symbols used can be configured by passing a suitable constants class to
  the constructor.
code: def __init__(
      self,
      constants=ScansionConstants(),
      syllabifier=Syllabifier(),
      optional_tranform=False,
      *args,
      **kwargs,
  ):
      super().__init__(*args, **kwargs)
      self.constants = constants
      self.remove_punct_map = string_utils.remove_punctuation_dict()
      self.punctuation_substitutions = (
          string_utils.punctuation_for_spaces_dict()
      )
      self.metrical_validator = MetricalValidator(constants)
      self.formatter = ScansionFormatter(constants)
      self.syllabifier = syllabifier
      self.inverted_amphibrach_re = re.compile(
          r"{}\s*{}\s*{}".format(
              self.constants.STRESSED,
              self.constants.UNSTRESSED,
              self.constants.STRESSED,
          )
      )
      self.syllable_matcher = re.compile(
          r"[{}]".format(
              self.constants.VOWELS
              + self.constants.ACCENTED_VOWELS
              + self.constants.LIQUIDS
              + self.constants.MUTES
          )
      )
      self.optional_transform = optional_tranform
  
file_path: cltk/src/cltk/prosody/lat/hendecasyllable_scanner.py
imports: import re
  import cltk.prosody.lat.string_utils
  from cltk.prosody.lat.metrical_validator import MetricalValidator
  from cltk.prosody.lat.scansion_constants import ScansionConstants
  from cltk.prosody.lat.scansion_formatter import ScansionFormatter
  from cltk.prosody.lat.syllabifier import Syllabifier
  from cltk.prosody.lat.verse import Verse
  from cltk.prosody.lat.verse_scanner import VerseScanner
label_desc: Use image node_id 1 to create a new HendecasyllableScanner object from inherited base classes: VerseScanner with example: obj = HendecasyllableScanner(constants, syllabifier, optional_tranform)