Danil commited on
Commit
3b3e1c3
1 Parent(s): 8329a95

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -2
utils.py CHANGED
@@ -1,5 +1,4 @@
1
  import pymorphy2
2
- from typing import List
3
 
4
  morph = pymorphy2.MorphAnalyzer()
5
  STOP_PUNCT = list(',./!@#$%^&*()_+=-<>?\|{}[]`~/')
@@ -24,7 +23,7 @@ def counter(s: str) -> dict:
24
  d[i] += 1
25
  return d
26
 
27
- def prepare4check(s1: str, s2: str, STOP: set = STOP, morph=morph) -> List[set, set, str, str]:
28
  """
29
  Предобработка данных для проверки
30
 
 
1
  import pymorphy2
 
2
 
3
  morph = pymorphy2.MorphAnalyzer()
4
  STOP_PUNCT = list(',./!@#$%^&*()_+=-<>?\|{}[]`~/')
 
23
  d[i] += 1
24
  return d
25
 
26
+ def prepare4check(s1: str, s2: str, STOP: set = STOP, morph=morph) -> list:
27
  """
28
  Предобработка данных для проверки
29