Fix errors (#11804)

### What problem does this PR solve?

1. typos
2. grammar errors.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2025-12-08 12:21:18 +08:00
committed by GitHub
parent 5a2011e687
commit 43f51baa96
25 changed files with 53 additions and 54 deletions

View File

@ -155,7 +155,7 @@ class TableStructureRecognizer(Recognizer):
while i < len(boxes):
if TableStructureRecognizer.is_caption(boxes[i]):
if is_english:
cap + " "
cap += " "
cap += boxes[i]["text"]
boxes.pop(i)
i -= 1