Update MANTRAGSC.py
Browse files- MANTRAGSC.py +2 -1
MANTRAGSC.py
CHANGED
@@ -109,7 +109,8 @@ class StringIndex:
|
|
109 |
|
110 |
def find(self, t):
|
111 |
|
112 |
-
|
|
|
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 |
|