class_docstr: Predict the gender of character given the dialogue utterance.
class_docstr_tok: ["Predict","the","gender","of","character","given","the","dialogue","utterance","."]
docstr: Take a list of personas and find the gender.
docstr_tok: ["Take","a","list","of","personas","and","find","the","gender","."]
code: def get_gender_annotations(self, lst):
      """
      Take a list of personas and find the gender.
      """
      new_lst = sorted([convert_text(persona) for persona in lst])
      persona_key = " ".join(new_lst)
      if persona_key in self.persona_map:
          return self.persona_map[persona_key]
      else:
          return {
              "gender": "neutral",
              "probably": None,
              "missing": True,
          }
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.message import Message
  from parlai.core.teachers import FixedDialogTeacher
  from parlai.tasks.convai2.agents import BothTeacher
  from parlai.tasks.md_gender.build import build
  from parlai.utils.misc import warn_once
  import parlai.tasks.md_gender.utils
  from copy import deepcopy
  import json
  import random
  import os
label_desc: Use image node_id 6 for calling the Convai2Teacher obj's underlying member method code with example usage: obj.get_gender_annotations(lst) and returns: self, dict