wefe
.fetch_eds¶
- wefe.fetch_eds(occupations_year: int = 2015, top_n_race_occupations: int = 15) Dict[str, List[str]] [source]¶
Fetch the word sets used in the experiments of the work Word Embeddings *Quantify 100 Years Of Gender And Ethnic Stereotypes.
This dataset includes gender (male, female), ethnicity (asian, black, white) and religion (christianity and islam) and adjetives (appearence, intelligence, otherization, sensitive) word sets.
- Parameters
- occupations_yearint, optional
The year of the census for the occupations file. Available years: {‘1850’, ‘1860’, ‘1870’, ‘1880’, ‘1900’, ‘1910’, ‘1920’, ‘1930’, ‘1940’, ‘1950’, ‘1960’, ‘1970’, ‘1980’, ‘1990’, ‘2000’, ‘2001’, ‘2002’, ‘2003’, ‘2004’, ‘2005’, ‘2006’, ‘2007’, ‘2008’, ‘2009’, ‘2010’, ‘2011’, ‘2012’, ‘2013’, ‘2014’, ‘2015’} , by default 2015
- top_n_race_occupationsint, optional
The year of the census for the occupations file. The number of occupations by race, by default 10
- Returns
- dict
A dictionary with the word sets.
References
Word Embeddings quantify 100 years of gender and ethnic stereotypes. Garg, N., Schiebinger, L., Jurafsky, D., & Zou, J. (2018). Proceedings of the National Academy of Sciences, 115(16), E3635-E3644.