-
Notifications
You must be signed in to change notification settings - Fork 7
识别部分bug修复 #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
识别部分bug修复 #456
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
b12770c
timeout_change
ddfinshes 82e7018
Merge branch 'dev' of https://github.com/ddfinshes/llm-webkit-mirror …
ddfinshes 4375f1a
timeout-chagened-right
ddfinshes 9189918
timeout-exception
ddfinshes 932eb0d
timeout-exception
ddfinshes 863fbe5
Fix docstrings
ddfinshes fa69f09
Merge branch 'ccprocessor:dev' into dev
ddfinshes 0133cc9
timeout change
ddfinshes 557d436
timeout change
ddfinshes 872a4b0
final timeout change
ddfinshes eb4988e
finall
ddfinshes 88ba1c2
finall
ddfinshes a2a1959
finall
ddfinshes 92639e6
finall
ddfinshes e00e760
Merge branch 'ccprocessor:dev' into dev
ddfinshes 1258b41
finall
ddfinshes d90f726
finall
ddfinshes 926a8f6
finall
ddfinshes 173f0d9
finall
ddfinshes 977e708
finall
ddfinshes 254be11
finall
ddfinshes 53c8322
finall
ddfinshes 3250875
finall
ddfinshes 8332378
finall
ddfinshes 72a328a
finall
ddfinshes 45ba792
finall
ddfinshes 2eeb24c
finall
ddfinshes 8e6c184
finall
ddfinshes 1fbff3d
finall
ddfinshes c74fa27
Merge branch 'ccprocessor:dev' into dev
ddfinshes 97910e2
text-marked
ddfinshes cc2bc3d
text-marked
ddfinshes ff94025
text-marked
ddfinshes 05d7208
text-marked
ddfinshes 8d3393b
text-marked
ddfinshes 662c6af
text-marked
ddfinshes b13fc92
code-pre
ddfinshes ab936ef
code-pre
ddfinshes 3349b0f
code-pre
ddfinshes 153e4a1
code-pre
ddfinshes a87fb7a
code-pre
ddfinshes 238e6a7
code-pre
ddfinshes 89074ab
code-pre
ddfinshes b73c6dd
text-marked
ddfinshes c67d212
text-marked
ddfinshes fb91da9
Merge branch 'ccprocessor:dev' into dev
ddfinshes ce54387
Merge branch 'ccprocessor:dev' into dev
ddfinshes a181def
recognizer-bug
ddfinshes 17dc2ea
recognizer-bug
ddfinshes 6d53ee8
extract_modify
ddfinshes b1616cd
extract_modify
ddfinshes 993e4f8
extract_modify
ddfinshes 175cda5
extract_modify
ddfinshes 01d7f4f
extract_modify
ddfinshes 68fd003
extract_modify
ddfinshes c9fa615
extract_modify
ddfinshes 7474f3c
extract_modify
ddfinshes 54c8f94
extract_modify
ddfinshes cbb2bab
extractor bug
ddfinshes c032114
extractor bug
ddfinshes 276a7fd
extractor bug
ddfinshes 0eb129c
extractor bug
ddfinshes acc1c4b
extractor bug
ddfinshes 21417bc
extractor bug
ddfinshes 181b0d7
extractor bug
ddfinshes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
yogacc33 marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的处理逻辑是如何 p['c'] == '-' ,这个 - 就直接丢掉吗,哪些情况会出现 '-' ?
添加子元素的文本内容
if 'c' in p:
if p['c'] != '' and p['c'] != '-':
paragraph.append({'c': p['c'], 't': p.get('t', ParagraphTextType.TEXT)})
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p['c'] == '-'会在markdown上显示为独占一行'-'。去除‘-’不会影响包含实际内容的其他list item。

比如:
考虑到‘-’与原文保持一致,选择保留了。