class_docstr: Provides 2 main methods that syllabify words given phonology of its language.
docstr: :param word: word to syllabify
  :param mode: syllabification algorithm SSP (Sonority Sequence Principle)
   or MOP (Maximum Onset Principle)
  :return: syllabifier word
docstr_tok: [":","param","word",":","word","to","syllabify",":","param","mode",":","syllabification","algorithm","SSP","(","Sonority","Sequence","Principle",")","or","MOP","(","Maximum","Onset","Principle",")",":","return",":","syllabifier","word"]
code: def syllabify(self, word: str, mode="SSP") -> Union[List[str], str]:
      """
  
      :param word: word to syllabify
      :param mode: syllabification algorithm SSP (Sonority Sequence Principle)
       or MOP (Maximum Onset Principle)
      :return: syllabifier word
      """
      if mode == "SSP":
          res = self.syllabify_ssp(word)
      elif mode == "MOP":
          res = self.syllabify_mop(word)
      else:
          raise CLTKException("Wrong given mode")
  
      if self.sep:
          return self.sep.join(res)
      return res
  
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 6 for calling the Syllabifier obj's underlying member method code with example usage: obj.syllabify(word, mode) and returns: res, self