mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Remove codec property from Vocab
This commit is contained in:
parent
dfdf19f6a9
commit
c2c83120d4
|
@ -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."""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user