class_docstr: 🐸TTS tokenizer to convert input characters to token IDs and back.
  
  Token IDs for OOV chars are discarded but those are stored in `self.not_found_characters` for later.
  
  Args:
      use_phonemes (bool):
          Whether to use phonemes instead of characters. Defaults to False.
  
      characters (Characters):
          A Characters object to use for character-to-ID and ID-to-character mappings.
  
      text_cleaner (callable):
          A function to pre-process the text before tokenization and phonemization. Defaults to None.
  
      phonemizer (Phonemizer):
          A phonemizer object or a dict that maps language codes to phonemizer objects. Defaults to None.
  
  Example:
  
      >>> from TTS.tts.utils.text.tokenizer import TTSTokenizer
      >>> tokenizer = TTSTokenizer(use_phonemes=False, characters=Graphemes())
      >>> text = "Hello world!"
      >>> ids = tokenizer.text_to_ids(text)
      >>> text_hat = tokenizer.ids_to_text(ids)
      >>> assert text == text_hat
class_docstr_tok: ["\ud83d\udc38TTS","tokenizer","to","convert","input","characters","to","token","IDs","and","back",".","Token","IDs","for","OOV","chars","are","discarded","but","those","are","stored","in","`","self.not_found_characters","`","for","later",".","Args",":","use_phonemes","(","bool",")",":","Whether","to","use","phonemes","instead","of","characters",".","Defaults","to","False",".","characters","(","Characters",")",":","A","Characters","object","to","use","for","character-to-ID","and","ID-to-character","mappings",".","text_cleaner","(","callable",")",":","A","function","to","pre-process","the","text","before","tokenization","and","phonemization",".","Defaults","to","None",".","phonemizer","(","Phonemizer",")",":","A","phonemizer","object","or","a","dict","that","maps","language","codes","to","phonemizer","objects",".","Defaults","to","None",".","Example",":",">",">",">","from","TTS.tts.utils.text.tokenizer","import","TTSTokenizer",">",">",">","tokenizer","=","TTSTokenizer","(","use_phonemes=False",",","characters=Graphemes","(",")",")",">",">",">","text","=","``","Hello","world","!","''",">",">",">","ids","=","tokenizer.text_to_ids","(","text",")",">",">",">","text_hat","=","tokenizer.ids_to_text","(","ids",")",">",">",">","assert","text","==","text_hat"]
docstr: Converts a sequence of token IDs to a string of text.
docstr_tok: ["Converts","a","sequence","of","token","IDs","to","a","string","of","text","."]
code: def ids_to_text(self, id_sequence: List[int]) -> str:
      """Converts a sequence of token IDs to a string of text."""
      return self.decode(id_sequence)
  
file_path: TTS/TTS/tts/utils/text/tokenizer.py
imports: from typing import Callable, Dict, List, Union
  from TTS.tts.utils.text import cleaners
  from TTS.tts.utils.text.characters import Graphemes, IPAPhonemes
  from TTS.tts.utils.text.phonemizers import DEF_LANG_TO_PHONEMIZER, get_phonemizer_by_name
  from TTS.tts.utils.text.phonemizers.multi_phonemizer import MultiPhonemizer
  from TTS.utils.generic_utils import get_import_path, import_class
label_desc: Use image node_id 7 for calling the TTSTokenizer obj's underlying member method code with example usage: obj.ids_to_text(id_sequence) and returns: self