class_docstr: This is the class to extend if you want to code your own syllabification
  process in the CLTK-style.
class_docstr_tok: ["This","is","the","class","to","extend","if","you","want","to","code","your","own","syllabification","process","in","the","CLTK-style","."]
code: def run(self, input_doc: Doc) -> Doc:
      syllabifier = self.algorithm
  
      output_doc = deepcopy(input_doc)
      for word in output_doc.words:
          word.syllables = syllabifier(word.string.lower())
  
      return output_doc
  
imports: from copy import deepcopy
  from dataclasses import dataclass
  from boltons.cacheutils import cachedproperty
  from cltk.core.data_types import Doc, Process
  from cltk.phonology.ang.phonology import OldEnglishSyllabifier
  from cltk.phonology.enm.phonology import MiddleEnglishSyllabifier
  from cltk.phonology.gmh.phonology import MiddleHighGermanSyllabifier
  from cltk.phonology.lat.phonology import LatinSyllabifier
  from cltk.phonology.non.phonology import OldNorseSyllabifier
label_desc: Use image node_id 1 for calling the SyllabificationProcess obj's underlying member method code with example usage: obj.run(input_doc) and returns: output_doc