A Bossy Sort of Voice: Natural language processing to examine sexism in Harry Potter
summary
Uses Python and NLTK to parse ~1M words of narration (dialogue removed by quotation marks), POS-tags text, and extracts verbs and adverbs near character mentions for Harry, Ron, and Hermione across all seven books. Builds word clouds and a “unique words per character per book” table and finds Hermione’s unique descriptors skew toward gendered terms (squeaks, shrieks, shrill, timid) while Harry’s focus on inner states and Ron’s on gruff actions, a small-but-consistent pattern rather than huge counts.
AI-written summary · about
