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 Adriane Boyd
parent 9ec12fcfde
commit 4e1db35f6e

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")
> ```