code: def sequence_to_phoneme(sequence, tp=None, add_blank=False):
      # pylint: disable=global-statement
      """Converts a sequence of IDs back to a string"""
      global _id_to_phonemes, _phonemes
      if add_blank:
          sequence = list(
              filter(lambda x: x != len(_phonemes), sequence)
          )
      result = ""
      if tp:
          _, _phonemes = make_symbols(**tp)
          _id_to_phonemes = {i: s for i, s in enumerate(_phonemes)}
  
      for symbol_id in sequence:
          if symbol_id in _id_to_phonemes:
              s = _id_to_phonemes[symbol_id]
              result += s
      return result.replace("}{", " ")
  
file_path: TTS/TTS/tts/utils/text/__init__.py
imports: import re
  from packaging import version
  import phonemizer
  from phonemizer.phonemize import phonemize
  from TTS.tts.utils.text import cleaners
  from TTS.tts.utils.text.symbols import make_symbols, symbols, phonemes, _phoneme_punctuations, _bos, _eos
label_desc: Use image node_id 5 for calling a global function with example usage: sequence_to_phoneme(sequence, tp, add_blank) and returns: result