mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-11 00:32:40 +03:00
Merge branch 'feature/docwise-generator-batching' of github.com:rmitsch/spaCy into feature/docwise-generator-batching
This commit is contained in:
commit
ca1f86ebb9
|
@ -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