Update PxCorpus.py
Browse files- PxCorpus.py +0 -1
PxCorpus.py
CHANGED
|
@@ -59,7 +59,6 @@ class StringIndex:
|
|
| 59 |
print("Finished building the index!")
|
| 60 |
|
| 61 |
def find(self, t):
|
| 62 |
-
print(f"'{t}'")
|
| 63 |
return t in self.vocab_struct[(t[0], len(str(t)))]
|
| 64 |
|
| 65 |
_VOCAB = StringIndex(vocab=open("./vocabulary_nachos_lowercased.txt","r").read().split("\n"))
|
|
|
|
| 59 |
print("Finished building the index!")
|
| 60 |
|
| 61 |
def find(self, t):
|
|
|
|
| 62 |
return t in self.vocab_struct[(t[0], len(str(t)))]
|
| 63 |
|
| 64 |
_VOCAB = StringIndex(vocab=open("./vocabulary_nachos_lowercased.txt","r").read().split("\n"))
|