Measurement note: markitdown 0.1.9 convert() on DOCX headers/footers, rotated PDF pages and 8-bit text
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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]
- Lingua principale
- Python
- Stelle
- 198k
- Fork
- 15k
- Merge medio
- 2h 16m
- PR unite (30g)
- 9
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/markitdown
-
IpynbConverter uses a comment inside a Markdown code fence as the notebook titleForse già presa @Primaverah l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
microsoft/markitdown#2964 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
PPTX image alt text ending in a backslash breaks the Markdown imageForse già presa @dongyikuan919 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/markitdown#2943 ·
I maintainer di solito rispondono entro 1 giorno
-
PPTX chart labels with pipes or line breaks produce malformed Markdown tablesForse già presa @dongyikuan919 l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
microsoft/markitdown#2937 ·
I maintainer di solito rispondono entro 1 giorno
-
DOCX: math pre-processing re-parses every document.xml even without equations (32 s -> 17.5 s on a 12.5 MB document)Forse già presa @houyunsun l’ha presa 26 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
microsoft/markitdown#2834 ·
I maintainer di solito rispondono entro 1 giorno
-
URL fetch sends default python-requests User-Agent, Wikipedia returns 403Forse già presa @sushan5140 l’ha presa 31 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
microsoft/markitdown#2820 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/markitdown
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
hugohe3/ppt-master#366 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 89/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
521xueweihan/HelloGitHub#4716 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
pcqpcq/open-source-android-apps#619 ·
I maintainer di solito rispondono entro 1 giorno
-
contribution Windows 主机
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Lee-xeo/Claude-Cage#1519 ·
I maintainer di solito rispondono entro 1 giorno