Reverse erroneous changes during merge.

This commit is contained in:
Raphael Mitsch 2023-03-20 09:30:39 +01:00
parent 1620a04d46
commit 1f2685029f
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ def get_candidates(kb: KnowledgeBase, mention: Span) -> Iterable[Candidate]:
def get_candidates_batch(
kb: KnowledgeBase, mentions: Iterable[SpanGroup]
kb: KnowledgeBase, mentions: SpanGroup
) -> Iterable[Iterable[Candidate]]:
"""
Return candidate entities for the given mentions and fetching appropriate entries from the index.

View File

@ -197,7 +197,7 @@ to you.
| Name | Description |
| ----------- | ------------------------------------------------------------------------------------------------------------ |
| `mentions` | The textual mentions. ~~Iterable[SpanGroup]~~ |
| `mentions` | The textual mentions. ~~SpanGroup~~ |
| **RETURNS** | An iterable of iterable with relevant `InMemoryCandidate` objects. ~~Iterable[Iterable[InMemoryCandidate]]~~ |

View File

@ -101,7 +101,7 @@ to you.
| Name | Description |
| ----------- | -------------------------------------------------------------------------------------------- |
| `mentions` | The textual mentions. ~~Iterable[SpanGroup]~~ |
| `mentions` | The textual mentions. ~~SpanGroup~~ |
| **RETURNS** | An iterable of iterable with relevant `Candidate` objects. ~~Iterable[Iterable[Candidate]]~~ |
## KnowledgeBase.get_vector {id="get_vector",tag="method"}