This project aims to visualize emotional and thematic trends and provide insight about personal relationship dynamics. This code can be used as a exploration tool for navigating the nuance of digital communication and understanding the biases that can emerge from machine learning analysis.
- Pretty comprehensive analysis: Analyzes 80,000 text messages exchanged over the span of a relationship with natural language processing techniques.
- Trained topic model: Uses a Biterm topic model specifically trained on the dataset.
- Sentiment analysis: Runs sentiment analysis on all messages to gauge emotional trends.
- Visualization: Results are visualized using Observable Plot, and the static site is generated with Observable Framework.
- DIY-friendly: See the "Using your own data" section.
- Live demo: Check out the live demo here.
Clone this repo and execute:
npm run dev
You can adapt this code by running the Python scripts provided in the utils
folder. Check out the README
for more information.
- This project was created during my time at the Recurse Center in Spring 2024.
- Thanks to all the folks who paired with me on this project at RC!
- Special thanks to my ex in their support of this project.