class_docstr: VIETNAMESE NAMESPACES
docstr: Args:
      text (str): a syllable
code: def analyze_tone(cls, text: str):
      """
  
      Args:
          text (str): a syllable
      """
      hl = cls.LOWERS.HIGH_LEVEL
      mf = cls.LOWERS.MID_FALLING
      r = cls.LOWERS.RISING
      lfr = cls.LOWERS.LOW_FALLING_RISING
      hfrg = cls.LOWERS.HIGH_FALLING_RISING_GLOTTALIZED
      lg = cls.LOWERS.LOW_GLOTTALIZED
      d1 = mf + r + lfr + hfrg + lg
      d2 = hl + hl + hl + hl + hl
      tmp = text.maketrans(d1, d2)
      non_tone_letters = text.translate(tmp)
  
      tone = cls.TONE.HIGH_LEVEL
      for c in text:
          if c in mf:
              tone = cls.TONE.MID_FALLING
          elif c in r:
              tone = cls.TONE.RISING
          elif c in lfr:
              tone = cls.TONE.LOW_FALLING_RISING
          elif c in hfrg:
              tone = cls.TONE.HIGH_FALLING_RISING_GLOTTALIZED
          elif c in lg:
              tone = cls.TONE.LOW_GLOTTALIZED
      return non_tone_letters, tone
  
file_path: underthesea/underthesea/utils/vietnamese_ipa.py
imports: from collections import OrderedDict
  from types import SimpleNamespace
  import regex
  from underthesea.pipeline.word_tokenize.regex_tokenize import VIETNAMESE_VOWELS_LOWER
  from underthesea.utils.vietnamese_ipa_rules import codas, nuclei, onsets, onoffglides, onglides, offglides
label_desc: Use image node_id 1 for calling the VIETNAMESE obj's underlying member method code with example usage: obj.analyze_tone(cls, text) and returns: non_tone_letters,  tone