From 73698326dff6ddf58cb56486f158538dda11c001 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Tue, 2 May 2023 03:51:13 -0700 Subject: [PATCH] Update inmemorylookupkb.mdx (#12586) 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") > ```