@staticmethod
def _get_aliases(genders: dict):
    'Create a dictionary of aliases and the genders they refer to.\n        May have issues if multiple genders have the same article or first letter.\n        '
    aliases = {}
    for (gender, article) in genders.items():
        aliases[gender[0]] = gender
        aliases[article] = gender
    return aliases
Create a dictionary of aliases and the genders they refer to.
May have issues if multiple genders have the same article or first letter.
@staticmethod
def _get_aliases(genders: dict):
    'Create a dictionary of aliases and the genders they refer to.\n        May have issues if multiple genders have the same article or first letter.\n        '
    aliases = {}
    for (gender, article) in genders.items():
        aliases[gender[0]] = gender
        aliases[article] = gender
    return aliases