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
fix: update demo document path in docx analysis and conversion scripts
myhlolib77d3a92ff47
diff --git a/mineru/backend/office/docx_analyze.py b/mineru/backend/office/docx_analyze.pyindex 90f9cc2e..b6addf36 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 = "../../../demo/docx/test.docx"+ docx_path = "../../../demo/docx/demo1.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/main.py b/mineru/model/docx/main.pyindex 5bf95d5d..47696a71 100644--- a/mineru/model/docx/main.py+++ b/mineru/model/docx/main.py@@ -15,4 +15,4 @@ def convert_binary(file_binary: BinaryIO):if __name__ == "__main__":- print(convert_path("../../../demo/docx/test.docx"))+ print(convert_path("../../../demo/docx/demo1.docx"))