code: def _create_g2p(
      phoneme_dict=PHONEME_DICT_PATH_EN,
      locale=None,
      apply_to_oov_word=lambda x: x,
      use_chars=False,
      phoneme_probability=None,
      grapheme_case=GRAPHEME_CASE_UPPER,
      grapheme_prefix="",
  ):
      return IpaG2p(
          phoneme_dict,
          locale=locale,
          apply_to_oov_word=apply_to_oov_word,
          use_chars=use_chars,
          phoneme_probability=phoneme_probability,
          grapheme_case=grapheme_case,
          grapheme_prefix=grapheme_prefix,
      )
  
imports: import os
  import unicodedata
  import pytest
  from nemo.collections.tts.g2p.models.i18n_ipa import IpaG2p
  from nemo.collections.tts.g2p.utils import GRAPHEME_CASE_LOWER, GRAPHEME_CASE_MIXED, GRAPHEME_CASE_UPPER
label_desc: Use image node_id 1 for calling the TestIpaG2p obj's underlying member method code with example usage: obj._create_g2p(phoneme_dict, locale, apply_to_oov_word, use_chars, phoneme_probability, grapheme_case, grapheme_prefix) and returns: IpaG2p