mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Update spacy/kb/kb.pyx
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
571eaf6238
commit
9b677adb7a
|
@ -36,7 +36,7 @@ cdef class KnowledgeBase:
|
||||||
entity's embedding vector. Depending on the KB implementation, further properties - such as the prior
|
entity's embedding vector. Depending on the KB implementation, further properties - such as the prior
|
||||||
probability of the specified mention text resolving to that entity - might be included.
|
probability of the specified mention text resolving to that entity - might be included.
|
||||||
If no candidates are found for a given mention, an empty list is returned.
|
If no candidates are found for a given mention, an empty list is returned.
|
||||||
mentions (Iterable[SpanGroup]): Mentions for which to get candidates.
|
mentions (Iterator[SpanGroup]): Mentions for which to get candidates.
|
||||||
RETURNS (Iterator[Iterable[Iterable[Candidate]]]): Identified candidates.
|
RETURNS (Iterator[Iterable[Iterable[Candidate]]]): Identified candidates.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError(
|
raise NotImplementedError(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user