nktssk commited on
Commit
ff275e2
·
verified ·
1 Parent(s): fbf87c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(), 'nom')
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()