Merge branch 'feature/docwise-generator-batching' of github.com:rmitsch/spaCy into feature/docwise-generator-batching

This commit is contained in:
Raphael Mitsch 2024-02-19 10:19:13 +01:00
commit ca1f86ebb9

View File

@ -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