diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 6655925e4..149317779 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -278,7 +278,7 @@ cdef class Vocab: """Check whether a word has a vector. Returns False if no vectors have been loaded. Words can be looked up by string or int ID.""" - raise NotImplementedError + return False def to_disk(self, path): """Save the current state to a directory.