mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update docs w.r.t. spacy.CandidateBatchGenerator.v1. (#12350)
This commit is contained in:
parent
33864f1d07
commit
efbc3d37b3
|
@ -924,6 +924,15 @@ plausible [`Candidate`](/api/kb/#candidate) objects. The default
|
||||||
`CandidateGenerator` uses the text of a mention to find its potential aliases in
|
`CandidateGenerator` uses the text of a mention to find its potential aliases in
|
||||||
the `KnowledgeBase`. Note that this function is case-dependent.
|
the `KnowledgeBase`. Note that this function is case-dependent.
|
||||||
|
|
||||||
|
### spacy.CandidateBatchGenerator.v1 {id="CandidateBatchGenerator"}
|
||||||
|
|
||||||
|
A function that takes as input a [`KnowledgeBase`](/api/kb) and an `Iterable` of
|
||||||
|
[`Span`](/api/span) objects denoting named entities, and returns a list of
|
||||||
|
plausible [`Candidate`](/api/kb/#candidate) objects per specified
|
||||||
|
[`Span`](/api/span). The default `CandidateBatchGenerator` uses the text of a
|
||||||
|
mention to find its potential aliases in the `KnowledgeBase`. Note that this
|
||||||
|
function is case-dependent.
|
||||||
|
|
||||||
## Coreference {id="coref-architectures",tag="experimental"}
|
## Coreference {id="coref-architectures",tag="experimental"}
|
||||||
|
|
||||||
A [`CoreferenceResolver`](/api/coref) component identifies tokens that refer to
|
A [`CoreferenceResolver`](/api/coref) component identifies tokens that refer to
|
||||||
|
|
Loading…
Reference in New Issue
Block a user