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))