fixes
This commit is contained in:
parent
0c0033e5b6
commit
ace384c142
@ -37,7 +37,7 @@ def split_docs(docs: typing.List[str]) -> typing.List[str]:
|
||||
else:
|
||||
result.append(token)
|
||||
|
||||
if len(result) > 1 and len(result[1].split(" ")) < 3:
|
||||
if len(result) > 1 and len(result[-1].split(" ")) < 3:
|
||||
result[-2] += f" {result[-1]}"
|
||||
del result[-1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user