Analyze the text chats between people to uncover important insights about their relationship. What words do they use most often, what's the general sentiment, do they talk more casually or formal, etc.?
- You need
spacy
module installed - You need a language for the model. In this code I used
ro_core_news_sm
as I applied it on Romanian text. - Export your text messages as
.txt
. For WhatsApp you can follow this guide. Make sure you do it from mobile and uncheck media export.
To install the ro_core_news_sm
run python -m spacy download ro_core_news_sm