qanastek commited on
Commit
f521228
1 Parent(s): 98dd3b1

Update MANTRAGSC.py

Browse files
Files changed (1) hide show
  1. MANTRAGSC.py +2 -1
MANTRAGSC.py CHANGED
@@ -109,7 +109,8 @@ class StringIndex:
109
 
110
  def find(self, t):
111
 
112
- print(f" >>{t}<<")
 
113
 
114
  key = (t[0], len(t))
115
 
 
109
 
110
  def find(self, t):
111
 
112
+ if len(t) <= 0:
113
+ return "is_not_oov"
114
 
115
  key = (t[0], len(t))
116