From 46e3e86d9b89bc795da04a0de32d08bccd191ba2 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Sat, 29 Apr 2023 14:04:43 -0700 Subject: [PATCH] Update inmemorylookupkb.mdx Example does not refer to the in memory lookup --- website/docs/api/inmemorylookupkb.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/inmemorylookupkb.mdx b/website/docs/api/inmemorylookupkb.mdx index c24fe78d6..15b1d3bf2 100644 --- a/website/docs/api/inmemorylookupkb.mdx +++ b/website/docs/api/inmemorylookupkb.mdx @@ -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") > ```