We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7ae29 commit 5e499e6Copy full SHA for 5e499e6
apps/common/util/split_model.py
@@ -336,6 +336,7 @@ def parse(self, text: str):
336
:return: 解析后数据 {content:段落数据,keywords:[‘段落关键词’],parent_chain:['段落父级链路']}
337
"""
338
text = text.replace('\r', '\n')
339
+ text = text.replace("\0", '')
340
result_tree = self.parse_to_tree(text, 0)
341
result = result_tree_to_paragraph(result_tree, [], [])
342
return [item for item in [self.post_reset_paragraph(row) for row in result] if
0 commit comments