Measurement note: markitdown 0.1.9 convert() on DOCX headers/footers, rotated PDF pages and 8-bit text

オープン
#2,918 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Techsynx がすでに取り組んでいます。

2026年11月25日 から。

  • #2919 @Techsynx による — オープン

評価

難易度
4/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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]

主要言語
Python
スター
198k
フォーク
15k
平均マージ
2時間 16分
マージ済み PR(30日)
9

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/markitdown のほかの issue

microsoft/markitdown の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。