Skip to content

Commit

Permalink
Update inmemorylookupkb.mdx (#12586)
Browse files Browse the repository at this point in the history
Example does not refer to the in memory lookup
  • Loading branch information
KennethEnevoldsen authored May 2, 2023
1 parent 298e603 commit 7369832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/api/inmemorylookupkb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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")
> ```
Expand Down

0 comments on commit 7369832

Please sign in to comment.