code: def text2kata(text: str) -> str:
      parsed = _TAGGER.parse(text)
      res = []
      for line in parsed.split("\n"):
          if line == "EOS":
              break
          parts = line.split("\t")
  
          word, yomi = parts[0], parts[1]
          if yomi:
              res.append(yomi)
          else:
              if word in _SYMBOL_TOKENS:
                  res.append(word)
              elif word in ("っ", "ッ"):
                  res.append("ッ")
              elif word in _NO_YOMI_TOKENS:
                  pass
              else:
                  res.append(word)
      return hira2kata("".join(res))
  
file_path: TTS/TTS/tts/utils/text/japanese/phonemizer.py
imports: import re
  import unicodedata
  from num2words import num2words
label_desc: Use image node_id 4 for calling a global function with example usage: text2kata(text) and returns: hira2kata