fix research bugs

This commit is contained in:
shenchucheng 2024-02-07 17:44:36 +08:00
parent d112371dad
commit d94f4fbfbc
3 changed files with 5 additions and 2 deletions

View file

@ -93,7 +93,7 @@ def split_paragraph(paragraph: str, sep: str = ".,", count: int = 2) -> list[str
continue
ret = ["".join(j) for j in _split_by_count(sentences, count)]
return ret
return _split_by_count(paragraph, count)
return list(_split_by_count(paragraph, count))
def decode_unicode_escape(text: str) -> str: