Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.19 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.19 KB

Gender Decoder

This is a python package for assessing gender-coded words in a job adverts.

It is a fork of the Python 2.x package by Doteveryone, updated to Python 3 by Rob Bell. The 2.x package was in turn based on django app gender-decoder.katmatfield.com / https://github.com/lovedaybrooke/gender-decoder developed by Kat Matfield and based the paper "Evidence That Gendered Wording in Job Advertisements Exists and Sustains Gender Inequality" by Danielle Gaucher and Justin Friesen and Aaron C. Kay.

Install

pip3 install genderdecoder3

Usage

import genderdecoder3

job_description = "Example job description text"
print(genderdecoder3.assess(job_description))

# {'result': 'neutral', 'explanation': "This job ad doesn't use any words that are stereotypically 
# masculine and stereotypically feminine. It probably won't be off-putting to men or women 
# applicants.", 'masculine_coded_words': [], 'feminine_coded_words': []}