class_docstr: An interactive G2P evaluator (useful for manually evaluating G2P sequences)
  
  Arguments
  ---------
  model: speechbrain.inference.text.GrpahemeToPhoneme
      a pretrained G2P model instance
class_docstr_tok: ["An","interactive","G2P","evaluator","(","useful","for","manually","evaluating","G2P","sequences",")","Arguments","--","--","--","--","-","model",":","speechbrain.inference.text.GrpahemeToPhoneme","a","pretrained","G2P","model","instance"]
docstr: Performs G2P transcription
  
  Arguments
  ---------
  inp: str
      the user input
docstr_tok: ["Performs","G2P","transcription","Arguments","--","--","--","--","-","inp",":","str","the","user","input"]
code: def do_g2p(self, inp):
      """Performs G2P transcription
  
      Arguments
      ---------
      inp: str
          the user input
      """
      try:
          transcribe_text(self.model, inp)
      except Exception:
          print(self.MSG_ERROR)
          print(traceback.format_exc())
          print(self.MSG_ERROR)
  
imports: import itertools
  import math
  import os
  import speechbrain
  import sys
  import traceback
  from cmd import Cmd
  from argparse import ArgumentParser
  from hyperpyyaml import load_hyperpyyaml
  from speechbrain.inference.text import GraphemeToPhoneme
  from tqdm.auto import tqdm
label_desc: Use image node_id 2 for calling the InteractiveG2P obj's underlying member method code with example usage: obj.do_g2p(inp) without return types