17 lines
539 B
Python
17 lines
539 B
Python
import re
|
|
|
|
DEFAULT_SPECIFIC_NEUTRAL_PRONOUNS = {"s": "they", "o": "them", "p": "their", "a": "theirs"}
|
|
|
|
DEFAULT_SPECIFIC_PRONOUNS = [
|
|
{"s": "he", "o": "him", "p": "his", "a": "his"},
|
|
{"s": "she", "o": "her", "p": "her", "a": "hers"},
|
|
{"s": "it", "o": "it", "p": "its", "a": "its"},
|
|
{"s": "they", "o": "them", "p": "their", "a": "theirs"}
|
|
]
|
|
|
|
DEFAULT_CHARACTER_PRONOUNS = [ "they", "them" ]
|
|
|
|
PRONOUN_FORMS = [ "s", "o", "p", "a" ]
|
|
|
|
RE_GENDER_PRONOUN = re.compile(r"(?<!\|)\|(?!\|)[sSoOpPaA]")
|