From c4d492675e2a2cf54cb27596a2c465de6704f801 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Mon, 19 Feb 2024 10:00:24 +0100 Subject: [PATCH] Update website/docs/api/entitylinker.mdx Co-authored-by: Sofie Van Landeghem --- website/docs/api/entitylinker.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/entitylinker.mdx b/website/docs/api/entitylinker.mdx index 2ae6e1f8c..fb6f5f0c9 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