From 45b3f435b9db9a5b68071f457e34aab000519924 Mon Sep 17 00:00:00 2001 From: Daniel <59575049+lemoentjiez@users.noreply.github.com> Date: Mon, 26 Dec 2022 15:26:02 +0200 Subject: [PATCH] Update networking.py --- LabPSA_3/networking.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/LabPSA_3/networking.py b/LabPSA_3/networking.py index 5aabaf0..42db90e 100644 --- a/LabPSA_3/networking.py +++ b/LabPSA_3/networking.py @@ -125,14 +125,6 @@ for noun in nouns_counted: normLikes += likes_per_id[id] normRetweets += retweets_per_id[id] popularity_nouns[noun] = word_count_dict[noun] * (1.4 * normRetweets) * (1.2 * normLikes) - if (noun == "right"): - print("KID NOUN") - print("KID RT") - print(normRetweets) - print("KID LIKES") - print(normLikes) - print("KID FREQ") - print(word_count_dict[noun]) popularity_nouns = dict(sorted(popularity_nouns.items(), key=lambda item: item[1], reverse=True)) # Outputs popularity nouns