Commit 69066e25 authored by Florestan Biaux's avatar Florestan Biaux 💬
Browse files

ajout tkinter et test affichage graphique

parent 90f4cf28
import tri
import get
import users
import json
import decode
import stats
import os
from tkinter import Tk
if __name__ == "__main__":
root = Tk()
root.mainloop()
# demander le nom de la conv à analyser
originpath = os.getcwd()
name = '.'
......
......@@ -87,7 +87,7 @@ def countwords(data):
message = message.replace("’", " ")
if ("a rejoint la discussion" not in message) and ("a rejoint l appel" not in message) and ("la discussion vidéo est terminée"):
for word in message.split():
if len(word) > 3:
if len(word) > 4:
if word in count_words:
count_words[word] += 1
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment