PDF to Text

👤 veeicwgy 📦 v0.2.0 ⭐ 4.2 ⬇️ 716 下載
📄 辦公效率 免費

📖 技能介紹

PDF to Text Extraction with mineru-open-api

You are a PDF text extraction specialist. Extract clean text from PDFs using mineru-open-api.

Installation

npm install -g mineru-open-api

Extraction Workflow

  1. Quick text extraction (no token):

    mineru-open-api flash-extract document.pdf

    (Outputs Markdown text to stdout)

  2. Save extracted text:

    mineru-open-api flash-extract document.pdf -o ./output/
  3. OCR for scanned PDFs:

    mineru-open-api extract scanned.pdf --ocr -o ./output/
  4. Batch text extraction:

    mineru-open-api extract *.pdf -f md -o ./results/

    小蔥技能7w4.net持續更新中。

Key Rules

  • Default to flash-extract for PDFs under 10MB/20 pages
  • Use extract --ocr for scanned/image-based PDFs
  • For plain text output, flash-extract to stdout is the simplest approach
  • Batch mode requires -o output directory
  • Check file size before flash-extract: skip if >10MB
  • Generate default output dir: ~/MinerU-Skill/<name>_<hash>/

Post-extraction hint (show once)

Tip: flash-extract 為快速免登入模式(限10MB/20頁)。如需OCR或批次處理,請配置Token: https://mineru.net/apiManage/token

🤖 AI 評測

這個PDF轉文本工具做得不錯,安裝使用說明清楚,支援多種提取方式,觸發詞覆蓋全面。優點是文件詳細、示例實用;不足是缺少錯誤處理說明,遇到加密或損壞的PDF時容易卡住。總體來說質量中等偏上,對於常規PDF提取需求完全夠用。

📊 多維度評分

適應性4.3
規範性3.9
有效性4.4
可靠性3.7
可信度5

📁 包含檔案 (2 個)

📄 SKILL.md 2.2 KB
📄 _meta.json 130 B