class_docstr: Phonemizer module for various languages.
  
  This is wrapper module of https://github.com/bootphon/phonemizer.
  You can define various g2p modules by specifying options for phonemizer.
  
  See available options:
      https://github.com/bootphon/phonemizer/blob/master/phonemizer/phonemize.py#L32
class_docstr_tok: ["Phonemizer","module","for","various","languages",".","This","is","wrapper","module","of","https",":","\/\/github.com\/bootphon\/phonemizer",".","You","can","define","various","g2p","modules","by","specifying","options","for","phonemizer",".","See","available","options",":","https",":","\/\/github.com\/bootphon\/phonemizer\/blob\/master\/phonemizer\/phonemize.py","#","L32"]
code: def __call__(self, text) -> List[str]:
      tokens = self.phonemizer.phonemize(
          [text],
          separator=self.separator,
          strip=self.strip,
          njobs=1,
      )[0]
      if not self.split_by_single_token:
          return tokens.split()
      else:
          # "a: ab" -> ["a", ":", "<space>",  "a", "b"]
          # TODO(kan-bayashi): space replacement should be dealt in PhonemeTokenizer
          return [c.replace(" ", "<space>") for c in tokens]
  
imports: import logging
  import re
  import warnings
  from pathlib import Path
  from typing import Iterable, List, Optional, Union
  import g2p_en
  import jamo
  from packaging.version import parse
  from typeguard import check_argument_types
  from espnet2.text.abs_tokenizer import AbsTokenizer
label_desc: Use image node_id 2 for calling the Phonemizer obj's underlying member method code with example usage: obj.__call__(text) and returns: tokens, unknown