code: def bangla_text_to_phonemes(text: str) -> str:
      # english numbers to bangla conversion
      res = re.search("[0-9]", text)
      if res is not None:
          text = bangla.convert_english_digit_to_bangla_digit(text)
  
      # replace ':' in between two bangla numbers with ' এর '
      pattern = r"[০, ১, ২, ৩, ৪, ৫, ৬, ৭, ৮, ৯]:[০, ১, ২, ৩, ৪, ৫, ৬, ৭, ৮, ৯]"
      matches = re.findall(pattern, text)
      for m in matches:
          r = m.replace(":", " এর ")
          text = text.replace(m, r)
  
      # numerize text
      text = numerize(text)
  
      # tag sections
      text = tag_text(text)
  
      # text blocks
      # blocks = text.split("")
      # blocks = [b for b in blocks if b.strip()]
  
      # create tuple of (lang,text)
      if "" in text:
          text = text.replace("", "").replace("", "")
      # Split based on sentence ending Characters
      bn_text = text.strip()
  
      sentenceEnders = re.compile("[।!?]")
      sentences = sentenceEnders.split(str(bn_text))
  
      data = ""
      for sent in sentences:
          res = re.sub("\n", "", sent)
          res = normalize(res)
          # expand attributes
          res = expand_full_attribution(res)
  
          res = collapse_whitespace(res)
          res += "।"
          data += res
      return data
  
file_path: TTS/TTS/tts/utils/text/bangla/phonemizer.py
imports: import re
  import bangla
  from bnnumerizer import numerize
  from bnunicodenormalizer import Normalizer
label_desc: Use image node_id 5 for calling a global function with example usage: bangla_text_to_phonemes(text) and returns: data