diff --git a/website/docs/api/entitylinker.mdx b/website/docs/api/entitylinker.mdx index 0496fe592..08e2151c0 100644 --- a/website/docs/api/entitylinker.mdx +++ b/website/docs/api/entitylinker.mdx @@ -73,7 +73,7 @@ architectures and their arguments and hyperparameters. Prior to spaCy v4.0 `get_candidates()` returns a single `Iterable` of candidates for one specific mention, i. e. the function was typed as -`Callable[[KnowledgeBase, Span], Iterable[Candidate]]`. To retrive candidates +`Callable[[KnowledgeBase, Span], Iterable[Candidate]]`. To retrieve candidates batch-wise, spaCy >= 3.5 exposes `get_candidates_batched()`, which identifies candidates for an arbitrary number of spans: `Callable[[KnowledgeBase, Iterable[Span]], Iterable[Iterable[Candidate]]]`. The