Commit f1e8ff7c authored by Pranay Mathur's avatar Pranay Mathur Committed by GitHub
Browse files

Update data.py

parent 27a178a9
......@@ -61,7 +61,6 @@ class Vocab(object):
return None
return self._word_to_id[word]
def WordToId(self, word):
if word not in self._word_to_id:
return self._word_to_id[UNKNOWN_TOKEN]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment