code: def vn_word_to_telex_type(word):
      dau_cau = 0
      new_word = ""
      for char in word:
          x, y = nguyen_am_to_ids.get(char, (-1, -1))
          if x == -1:
              new_word += char
              continue
          if y != 0:
              dau_cau = y
          new_word += bang_nguyen_am[x][-1]
      new_word += bang_ky_tu_dau[dau_cau]
      return new_word
  
file_path: underthesea/examples/text_normalize/tools/nvh.py
imports: import regex
label_desc: Use image node_id 3 for calling a global function with example usage: vn_word_to_telex_type(word) and returns: new_word