From e362ba345cbee15cc3367b83ed421341dd0cbb1e Mon Sep 17 00:00:00 2001 From: s434732 Date: Sun, 3 Apr 2022 17:50:02 +0200 Subject: [PATCH] 434732 --- run.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/run.py b/run.py index f7dd002..3da2825 100644 --- a/run.py +++ b/run.py @@ -13,12 +13,6 @@ import csv import re -# In[172]: -def clean_text(text): - text = text.lower().replace('-\\n', '').replace('\\n', ' ') - text = re.sub(r'\p{P}', '', text) - - return text model = defaultdict(lambda: defaultdict(lambda: 0))