class_docstr: Provides 2 main methods that syllabify words given phonology of its language.
code: def set_invalid_onsets(self, invalid_onsets: List[str]):
      self.invalid_onsets = invalid_onsets
  
imports: import logging
  import unicodedata
  from collections import defaultdict
  from typing import List, Union
  import cltk.phonology.ang.syllabifier
  import cltk.phonology.enm.syllabifier
  import cltk.phonology.gmh.syllabifier
  import cltk.phonology.non.syllabifier
  import cltk.phonology.non.utils
  from cltk.core.exceptions import CLTKException
label_desc: Use image node_id 2 for calling the Syllabifier obj's underlying member method code with example usage: obj.set_invalid_onsets(invalid_onsets) without return types