Closed irinazoccolini closed 3 years ago
This PR adds initial common variables in common.py that are used for analysis purposes.
common.py
More specifically the following variables are added:
FEMALE
Gender
MALE
NONBINARY
BINARY_GROUP
TRINARY_GROUP
SWORDS_ENG
NLTK_TAGS
NLTK_TAGS_ADJECTIVES
This PR adds initial common variables in
common.py
that are used for analysis purposes.More specifically the following variables are added:
FEMALE
: aGender
instance for female pulled from the database of initial valuesMALE
: aGender
instance for male pulled from the database of initial valuesNONBINARY
: aGender
instance for nonbinary pulled from the database of initial valuesBINARY_GROUP
: a Python list of female and maleGender
instancesTRINARY_GROUP
: a Python list of female, male, and nonbinaryGender
instancesSWORDS_ENG
: a Python list of English stopwords from the nltk packageNLTK_TAGS
: a Python dictionary mapping parts of speech tags to their definitionsNLTK_TAGS_ADJECTIVES
: a Python list of adjective tags ('JJ', 'JJR', 'JJS')