Update inmemorylookupkb.mdx (#12586)

Example does not refer to the in memory lookup
This commit is contained in:
Kenneth Enevoldsen 2023-05-02 03:51:13 -07:00 committed by GitHub
parent 298e6036b7
commit 73698326df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,7 +292,7 @@ Restore the state of the knowledge base from a given directory. Note that the
> ```python
> from spacy.vocab import Vocab
> vocab = Vocab().from_disk("/path/to/vocab")
> kb = FullyImplementedKB(vocab=vocab, entity_vector_length=64)
> kb = InMemoryLookupKB(vocab=vocab, entity_vector_length=64)
> kb.from_disk("/path/to/kb")
> ```