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: update DOCX processing to change test document path and enhance chart handling with improved content structure
myhloli5026faa4584b
diff --git a/mineru/backend/office/docx_analyze.py b/mineru/backend/office/docx_analyze.pyindex c58fb1f1..78152445 100644--- a/mineru/backend/office/docx_analyze.py+++ b/mineru/backend/office/docx_analyze.py@@ -29,7 +29,7 @@ def office_docx_analyze(return middle_json, resultsif __name__ == '__main__':- docx_path = "/Users/myhloli/projects/20240809magic_pdf/Magic-PDF/mineru/model/docx/drawingml.docx"+ docx_path = "/Users/myhloli/projects/20240809magic_pdf/Magic-PDF/mineru/model/docx/test.docx"from mineru.data.data_reader_writer import FileBasedDataWriterwith open(docx_path, 'rb') as f:file_bytes = f.read()diff --git a/mineru/model/docx/test.docx b/mineru/model/docx/test.docxindex 5b856b63..12c1cb12 100644Binary files a/mineru/model/docx/test.docx and b/mineru/model/docx/test.docx differ