mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
Update website/docs/api/entitylinker.mdx
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
5d1ecf1aa1
commit
c4d492675e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user