Elektrine lite

← Feed

@BritishKoalaTea@social.coop

Post #2649193

2026-05-02 13:52 UTC

Poking around with sentiment analysis on the public domain copy of Pride and Prejudice by Jane Austen. I extracted the speech, did a strict attribution, and ran sentiment analysis for different speakers based off chunks sampled from the text. Elizabeth is neutral with a 28% confidence level, Jane is joyful at a 57% confidence. Darcy is sad with 94% confidence and Mrs Bennet is joyful at 95% confidence. Those aren't the emotions I get from reading the text. Again, I'm learning more about the sentiment analysis than the text. https://www.kaggle.com/code/alisonhawke/pride-and-prejudice #DataScience #Python #Literature #TextAnalysis #SentimentAnalysis

Replies (0)

No replies.