Update PxCorpus.py
Browse files- PxCorpus.py +4 -4
PxCorpus.py
CHANGED
@@ -68,10 +68,10 @@ class StringIndex:
|
|
68 |
|
69 |
key = (t[0], len(t))
|
70 |
|
71 |
-
if t == "milligrammes":
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
|
76 |
if (key in self.vocab_struct) == False:
|
77 |
return "is_oov"
|
|
|
68 |
|
69 |
key = (t[0], len(t))
|
70 |
|
71 |
+
# if t == "milligrammes":
|
72 |
+
# print("-"*50)
|
73 |
+
# print(key)
|
74 |
+
# print(key in self.vocab_struct)
|
75 |
|
76 |
if (key in self.vocab_struct) == False:
|
77 |
return "is_oov"
|