浏览代码

Fix: delimiter issue. (#5720)

### What problem does this PR solve?

#5704

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.17.1
Kevin Hu 8 个月前
父节点
当前提交
8fb8374dfc
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      deepdoc/parser/txt_parser.py

+ 1
- 0
deepdoc/parser/txt_parser.py 查看文件

raise TypeError("txt type should be str!") raise TypeError("txt type should be str!")
cks = [""] cks = [""]
tk_nums = [0] tk_nums = [0]
delimiter = delimiter.encode('utf-8').decode('unicode_escape').encode('latin1').decode('utf-8')


def add_chunk(t): def add_chunk(t):
nonlocal cks, tk_nums, delimiter nonlocal cks, tk_nums, delimiter

正在加载...
取消
保存