This commit is contained in:
andrew (from workstation) 2020-10-16 22:24:30 +02:00
parent 969aeea86f
commit 0c0033e5b6

View File

@ -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]) < 3:
if len(result) > 1 and len(result[1].split(" ")) < 3:
result[-2] += f" {result[-1]}"
del result[-1]