SlideShare a Scribd company logo
1 of 21
Download to read offline
more matildas
katherine yoshida
Central Characters in
Children’s Books
Gender in 20th century children’s books (McCabe et al., 2011)
morematildas.com
User
Query
Term
Ranking
Gender
Ranking
Overall
Ranking
Term
Ranking
Gender
Ranking
Overall
Ranking
Tokenize & remove
irrelevant information
Lowercase, lemmatize,
stopword removal
Terms database
User
Query
User
Query
Term
Ranking
Gender
Ranking
Overall
Ranking
Genderize proper names
Count pronouns
e.g., her, his, she, he
Social Security DB of names
Naive Bayes classifier
F (PNs + pronouns) - M (PNs + pronouns)
length of description
Katherine Yoshida
▷ PhD in cognitive science (UBC)
▷ UX research & consulting
thank you!
Stack
MySQLPython
• NLTK
AWS
Gendered pronouns
female +1: she, her, hers
male +1: he, his, him
Naive Bayes classifier
Proper names
NLTK entities bigram parser (‘people’)
Social Security database of names
Naive Bayes classifier for other names
Social security database: Vast majority of proper names
Three features:
● Last letter of name
● Last two letters of name
● Is last letter a vowel (aeiouy)
Trained on 80% of names from Social Security names
database
Validated on 20% holdout sample
Accuracy = 80%
Naive Bayes classifier
Average Gender Counts
Female Male
Pronouns 4.7 5.1
Proper Names 2.8 4.6
Total 7.5 9.7
Frequency x Female proportion
Insight demo 2 16-15
Insight demo 2 16-15
Insight demo 2 16-15
Insight demo 2 16-15
Insight demo 2 16-15
Insight demo 2 16-15
Insight demo 2 16-15

More Related Content

What's hot

Bracic_CV_10_2015
Bracic_CV_10_2015Bracic_CV_10_2015
Bracic_CV_10_2015
Ana Bracic
 

What's hot (8)

Research Techniques (ELS)
Research Techniques (ELS)Research Techniques (ELS)
Research Techniques (ELS)
 
Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2
 
Frenchgradsession2008newb
Frenchgradsession2008newbFrenchgradsession2008newb
Frenchgradsession2008newb
 
Bracic_CV_10_2015
Bracic_CV_10_2015Bracic_CV_10_2015
Bracic_CV_10_2015
 
English Seminar: Sexuality, Spirituality and Sin
English Seminar: Sexuality, Spirituality and SinEnglish Seminar: Sexuality, Spirituality and Sin
English Seminar: Sexuality, Spirituality and Sin
 
Team CDTW Capstone Presentation
Team CDTW Capstone Presentation Team CDTW Capstone Presentation
Team CDTW Capstone Presentation
 
R in the Humanities: Text Analysis
R in the Humanities: Text AnalysisR in the Humanities: Text Analysis
R in the Humanities: Text Analysis
 
Snac oclc-may-2011
Snac oclc-may-2011Snac oclc-may-2011
Snac oclc-may-2011
 

Insight demo 2 16-15