class_docstr: 🐸BaseCharacters class
  
      Every new character class should inherit from this.
  
      Characters are oredered as follows ```[PAD, EOS, BOS, BLANK, CHARACTERS, PUNCTUATIONS]```.
  
      If you need a custom order, you need to define inherit from this class and override the ```_create_vocab``` method.
  
      Args:
          characters (str):
              Main set of characters to be used in the vocabulary.
  
          punctuations (str):
              Characters to be treated as punctuation.
  
          pad (str):
              Special padding character that would be ignored by the model.
  
          eos (str):
              End of the sentence character.
  
          bos (str):
              Beginning of the sentence character.
  
          blank (str):
              Optional character used between characters by some models for better prosody.
  
          is_unique (bool):
              Remove duplicates from the provided characters. Defaults to True.
  el
          is_sorted (bool):
              Sort the characters in alphabetical order. Only applies to `self.characters`. Defaults to True.
docstr: Init your character class from a config.
  
  Implement this method for your subclass.
docstr_tok: ["Init","your","character","class","from","a","config",".","Implement","this","method","for","your","subclass","."]
code: def init_from_config(
      config: "Coqpit",
  ):  # pylint: disable=unused-argument
      """Init your character class from a config.
  
      Implement this method for your subclass.
      """
      # use character set from config
      if config.characters is not None:
          return BaseCharacters(**config.characters), config
      # return default character set
      characters = BaseCharacters()
      new_config = replace(config, characters=characters.to_config())
      return characters, new_config
  
imports: from dataclasses import replace
  from typing import Dict
  from TTS.tts.configs.shared_configs import CharactersConfig
label_desc: Use image node_id 25 for calling the BaseCharacters obj's underlying member method code with example usage: obj.init_from_config(config) and returns: characters,  new_config, BaseCharacters,  config