class_docstr: Base Vocabulary class.
  
  This class only needs a vocabulary dictionary without specifying the characters.
  
  Args:
      vocab (Dict): A dictionary of characters and their corresponding indices.
code: def __init__(
      self,
      vocab: Dict,
      pad: str = None,
      blank: str = None,
      bos: str = None,
      eos: str = None,
  ):
      self.vocab = vocab
      self.pad = pad
      self.blank = blank
      self.bos = bos
      self.eos = eos
  
imports: from dataclasses import replace
  from typing import Dict
  from TTS.tts.configs.shared_configs import CharactersConfig
label_desc: Use image node_id 1 to create a new BaseVocabulary object  with example: obj = BaseVocabulary(vocab, pad, blank, bos, eos)