code: def normalize_replies(self, x):
      xs = x.split("\n")
      xs2 = []
      for x in xs:
          if x.startswith("your persona: "):
              continue
          elif x.startswith("partner's persona: "):
              x = x[len("partner's persona: ") :]
              x = normalize_reply(x)
              x = "partner's persona: " + x
          else:
              x = normalize_reply(x)
          xs2.append(x)
      return "\n".join(xs2)
  
imports: from parlai.core.teachers import FbDeprecatedDialogTeacher, YamlTeacher
  from parlai.utils.data import DatatypeHelper
  from parlai.utils.misc import warn_once
  from .build import build
  from parlai.utils.strings import normalize_reply
  import parlai.utils.logging
  from parlai.core.params import ParlaiParser
  from typing import Optional
  from parlai.core.opt import Opt
  import copy
  import os
label_desc: Use image node_id 1 for calling the NormalizedTheirTeacher obj's underlying member method code with example usage: obj.normalize_replies(x) and returns: str