def _get_pronoun(self, regex_match):
        typ = regex_match.group()[1] # "s", "O" etc
        gender = self.attributes.get("gender", default="neutral")
        gender = gender if gender in ("male", "female", "neutral") else "neutral"
        pronoun = _GENDER_PRONOUN_MAP[gender][typ.lower()]
        return pronoun.capitalize() if typ.isupper() else pronoun
Get pronoun from the pronoun marker in the text. This is used as
dataset/ETHPy150Open evennia/evennia/evennia/contrib/gendersub.py/GenderCharacter._get_pronoun