Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def get_case_for_preposition(prep):
|
|
63 |
'с': 'ins', 'со': 'ins', 'над': 'ins', 'под': 'ins',
|
64 |
'из': 'gen', 'от': 'gen', 'у': 'gen', 'до': 'gen', 'для': 'gen'
|
65 |
}
|
66 |
-
return d.get(prep.lower(), '
|
67 |
|
68 |
def replace_numbers_with_text_in_context(text):
|
69 |
tokens = text.split()
|
|
|
63 |
'с': 'ins', 'со': 'ins', 'над': 'ins', 'под': 'ins',
|
64 |
'из': 'gen', 'от': 'gen', 'у': 'gen', 'до': 'gen', 'для': 'gen'
|
65 |
}
|
66 |
+
return d.get(prep.lower(), 'nomn')
|
67 |
|
68 |
def replace_numbers_with_text_in_context(text):
|
69 |
tokens = text.split()
|