This commit is contained in:
Sofie Van Landeghem 2022-10-03 17:01:04 +02:00 committed by GitHub
parent 3033babe98
commit b187076a2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,9 +21,9 @@ Create the knowledge base.
> #### Example
>
> ```python
> from spacy.kb import KnowledgeBase
> from spacy.kb import InMemoryLookupKB
> vocab = nlp.vocab
> kb = KnowledgeBase(vocab=vocab, entity_vector_length=64)
> kb = InMemoryLookupKB(vocab=vocab, entity_vector_length=64)
> ```
| Name | Description |