From b572e2473a83fca2a00717dcf6b72483361f8a4b Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Wed, 9 Nov 2022 14:31:22 +0100 Subject: [PATCH] Update docstring. --- spacy/kb/kb.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/kb/kb.pyx b/spacy/kb/kb.pyx index 8e5b52d26..81273a371 100644 --- a/spacy/kb/kb.pyx +++ b/spacy/kb/kb.pyx @@ -34,7 +34,7 @@ cdef class KnowledgeBase: """ 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. - 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. RETURNS (Generator[Iterable[Iterable[Candidate]]]): Identified candidates per document. """