* Remove codec property from Vocab

This commit is contained in:
Matthew Honnibal 2015-07-17 16:40:11 +02:00
parent dfdf19f6a9
commit c2c83120d4

View File

@ -49,7 +49,6 @@ cdef class Vocab:
path.join(data_dir, 'lexemes.bin')) path.join(data_dir, 'lexemes.bin'))
if load_vectors and path.exists(path.join(data_dir, 'vec.bin')): if load_vectors and path.exists(path.join(data_dir, 'vec.bin')):
self.repvec_length = self.load_rep_vectors(path.join(data_dir, 'vec.bin')) self.repvec_length = self.load_rep_vectors(path.join(data_dir, 'vec.bin'))
self._codec = None
def __len__(self): def __len__(self):
"""The current number of lexemes stored.""" """The current number of lexemes stored."""