### What problem does this PR solve?

#917 
#915

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
KevinHuSh
2024-05-28 11:13:02 +08:00
committed by GitHub
parent 9ffd7ae321
commit 7eee193956
5 changed files with 15 additions and 5 deletions

View File

@ -392,7 +392,7 @@ class RAGFlowPdfParser:
b["text"].strip()[-1] in ",;:'\",、‘“;:-",
len(b["text"].strip()) > 1 and b["text"].strip(
)[-2] in ",;:'\",‘“、;:",
b["text"].strip()[0] in "。;?!?”)),,、:",
b_["text"].strip()[0] in "。;?!?”)),,、:",
]
# features for not concating
feats = [