mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-29 05:13:42 +03:00
Update docstring.
This commit is contained in:
parent
c5b15e0e04
commit
b572e2473a
|
@ -34,7 +34,7 @@ cdef class KnowledgeBase:
|
||||||
"""
|
"""
|
||||||
Return candidate entities for specified mentions. Each candidate defines the entity, the original alias,
|
Return candidate entities for specified mentions. Each candidate defines the entity, the original alias,
|
||||||
and the prior probability of that alias resolving to that entity.
|
and the prior probability of that alias resolving to that entity.
|
||||||
If no candidate is found for a given mentions, an empty list is returned.
|
If no candidate is found for a given mention, an empty list is returned.
|
||||||
mentions (Generator[Iterable[Span]]): Mentions per documents for which to get candidates.
|
mentions (Generator[Iterable[Span]]): Mentions per documents for which to get candidates.
|
||||||
RETURNS (Generator[Iterable[Iterable[Candidate]]]): Identified candidates per document.
|
RETURNS (Generator[Iterable[Iterable[Candidate]]]): Identified candidates per document.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user