Skip to content

Commit bd49b3f

Browse files
authored
Merge pull request #64 from LexPredict/2.2.1.0
CMML-65: fix tests
2 parents 937d062 + afcbff7 commit bd49b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lexnlp/nlp/en/segments/paragraphs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def get_paragraph_span_list(
283283
window_pre=3,
284284
window_post=3,
285285
score_threshold=0.5,
286-
) -> List[Tuple[int, int, str], ...]:
286+
) -> List[Tuple[int, int, str]]:
287287
"""
288288
Get a list of paragraph spans (start, end, paragraph) from text.
289289
@@ -348,7 +348,7 @@ def get_paragraph_list(
348348
window_pre=3,
349349
window_post=3,
350350
score_threshold=0.5,
351-
) -> List[str, ...]:
351+
) -> List[str]:
352352
"""
353353
Get a list of paragraphs from text.
354354

0 commit comments

Comments
 (0)