Vadym Myroshnyk commited on
Commit ·
7edeceb
1
Parent(s): 52bb745
save
Browse files- utils/comparator.py +0 -1
utils/comparator.py
CHANGED
|
@@ -4,7 +4,6 @@ from rapidfuzz import fuzz
|
|
| 4 |
|
| 5 |
|
| 6 |
def preprocess(text):
|
| 7 |
-
# Видаляє пунктуацію і перетворює в малі букви
|
| 8 |
return re.sub(r"[^\w\s]", "", text.lower()).split()
|
| 9 |
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
def preprocess(text):
|
|
|
|
| 7 |
return re.sub(r"[^\w\s]", "", text.lower()).split()
|
| 8 |
|
| 9 |
|