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
Merge branch 'opendatalab:add_docx' into add_docx
Sidney233cbe39f4a5a27
diff --cc mineru/model/docx/docx_converter.pyindex e413ed62,237ba2b6..6837db55--- a/mineru/model/docx/docx_converter.py+++ b/mineru/model/docx/docx_converter.py@@@ -5,10 -5,9 +5,10 @@@ from pathlib import Patfrom typing import BinaryIO, Optional, Union, Any, Finalimport logging- from PIL import Image+ from PIL import Image, WmfImagePluginfrom loguru import loggerfrom docx import Document+from docx.document import Document as DocxDocumentfrom docx.oxml.xmlchemy import BaseOxmlElementfrom docx.text.paragraph import Paragraphfrom docx.text.hyperlink import Hyperlink