Measurement note: markitdown 0.1.9 convert() on DOCX headers/footers, rotated PDF pages and 8-bit text
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
Start from MarkItDown().convert() in the package entry point and follow the DOCX and PDF converters, which wrap python-docx and pdfminer.six; the rotation finding suggests looking at how LAParams are constructed in the PDF converter. Reproduce with the reporter's constructed files or your own rotated-header DOCX/PDF samples before changing anything. "Done" here is a decision plus either a fix or a documented limitation; the issue asks for correction, not a specific code change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello,
I am writing before releasing a short measurement note. These may be intended; I am flagging them in case they are not.
Version: markitdown 0.1.9 (pdfminer.six 20260107), Python 3.12.13, macOS. Call: MarkItDown().convert(path).text_content, defaults. Constructed files, 20 seeds. No exception below.
- DOCX headers and footers: 20 of 20 runs lacked them (recall 0.82); body complete.
- PDF with rotation entries of 90, 180 or 270 on some pages: 15 of 20 runs lost words (recall 0.61). The five files returned in full are those where every page is rotated 90 degrees. On one page rotated by 90 degrees, standalone pdfminer.six gave recall 0.00 with default LAParams and 1.00 with detect_vertical=True; I did not isolate the cause.
- Latin-1, cp1252 and mixed text: 7 of 60 runs lost tokens (recall 0.97 over the 60).
A PDF cut at 50-70% of its bytes raised in 20 of 20 runs. PPTX (notes included), DOCX body and tables, plain PDFs and HTML were returned in full.
A short note describing these measurements will be posted on arXiv, with a public test-file bundle (link to follow). Please tell me of any correction before it is cited.
Adam Faust
MOBLUEHQ, Inc.
[email protected]
- Lenguaje dominante
- Python
- Estrellas
- 198k
- Forks
- 15k
- Merge medio
- 2 h 16 min
- PR fusionados (30 d)
- 9
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/markitdown
-
IpynbConverter uses a comment inside a Markdown code fence as the notebook titlePosiblemente ocupada @Primaverah la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
microsoft/markitdown#2964 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
PPTX image alt text ending in a backslash breaks the Markdown imagePosiblemente ocupada @dongyikuan919 la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/markitdown#2943 ·
Los mantenedores suelen responder en 1 día
-
PPTX chart labels with pipes or line breaks produce malformed Markdown tablesPosiblemente ocupada @dongyikuan919 la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
microsoft/markitdown#2937 ·
Los mantenedores suelen responder en 1 día
-
DOCX: math pre-processing re-parses every document.xml even without equations (32 s -> 17.5 s on a 12.5 MB document)Posiblemente ocupada @houyunsun la tomó hace 26 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
microsoft/markitdown#2834 ·
Los mantenedores suelen responder en 1 día
-
URL fetch sends default python-requests User-Agent, Wikipedia returns 403Posiblemente ocupada @sushan5140 la tomó hace 31 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
microsoft/markitdown#2820 ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/markitdown
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hugohe3/ppt-master#366 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 89/100
Los mantenedores suelen responder en 2 días
-
[开源推荐] 用 Claude 搭的 A 股投研与盘中作战系统Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
521xueweihan/HelloGitHub#4716 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
pcqpcq/open-source-android-apps#619 ·
Los mantenedores suelen responder en 1 día
-
contribution Windows 主机
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Lee-xeo/Claude-Cage#1519 ·
Los mantenedores suelen responder en 1 día