Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
feat: adjust SCRIPT_CENTER_TOLERANCE_RATIO to improve script alignment accuracy
myhloli0a13cc899ae8
diff --git a/mineru/utils/span_pre_proc.py b/mineru/utils/span_pre_proc.pyindex b864a571..80fd375a 100644--- a/mineru/utils/span_pre_proc.py+++ b/mineru/utils/span_pre_proc.py@@ -306,7 +306,7 @@ LINE_START_FLAG = (Span_Height_Ratio = 0.33 # 字符的中轴和span的中轴高度差不能超过1/3span高度SCRIPT_BODY_HEIGHT_RATIO = 0.9-SCRIPT_CENTER_TOLERANCE_RATIO = 0.12+SCRIPT_CENTER_TOLERANCE_RATIO = 0.15def _is_private_use_char(char: str) -> bool: