26
GitHub - vlajnaya-mol/message-analyser: Statistical analysis of VKontakte and Te...
source link: https://github.com/vlajnaya-mol/message-analyser
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
message-analyser
Statistical analysis of VKontakte and Telegram message history.
Dependencies
Installation
- Use Python3.6. 3.7 version may not work properly.
git clone https://github.com/vlajnaya-mol/message-analyser
- Install
requirements.txt
Usage
Execution
- Run
python main.py
- Follow GUI commands
Telegram messages
- You need API Hash and API ID from here
VKontakte messages
-
Install VkOpt extension
-
Save Your conversation as .txt file using this extension
Be sure You used default format settings:
%username% (%date%): message% HH:MM:ss dd/mm/yyyy
-
Include this file in the analysis process
Words
- Write words You are interested in to a file
- Include this file in the analysis process
Manual analysis
- Fill
config.ini
file and useretrieve_and_analyse(loop)
instead of using GUI. - Use
analyse_from_file(path)
function instead of redownloading messages
Examples
- All examples can be found here
Potential project improvements
- analysis of group chats.
- improve tkinter theme.
- add VkOpt stickers as emojis to messages.
- add plot correlation between the number of voice messages and the average message length.
- add "first-to-write" and "response time (delay)" plots (lineplot).
- add n-grams plot (lineplot).
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK