Calibre 9.19: Grammar Check, Local AI Rewriting

Calibre 9.19 adds real-time grammar checking, local neural sentence rewriting for English, rebuilt PDF engine for multi-column layout recovery

Table of contents
  1. 1.Introduction & Core Highlights
  2. 2.Core Features & Parameter Comparison
  3. 3.Deep Dive & Operational Details
  4. 3.1.Editor Grammar Check & Sentence Rewriting Workflow
  5. 3.2.PDF Input Engine Rebuild: Layout Recovery Logic
  6. 3.3.Content Server & Viewer Accessibility and Enterprise Details
  7. 4.Scenario-Based Selection & Pitfall Checklist
  8. 5.FAQ
  9. 6.Sources & References
Calibre 9.19: Grammar Check, Local AI Rewriting

Introduction & Core Highlights

Calibre, the flagship open-source e-book management tool, focuses version 9.19 on two long-standing pain points: editing intelligence and conversion fidelity. The release embeds real-time syntax, style, and typography detection inside the code view, adds a whole-book scanning entry point, and introduces locally executed neural-network sentence rewriting for English content with fluency, formality, and other style dimensions — no cloud dependency. The PDF input engine has been rewritten to solve cross-page paragraph breaks, multi-column misordering, split headings, and lingering hyphens. Content Server and the viewer receive accessibility, large-document performance, and non-ASCII password compatibility improvements. This article targets operators running self-hosted Calibre services and advanced users managing large libraries, summarizing core changes and operational notes.

Core Features & Parameter Comparison

Dimension 9.19 New Capability / Change Applicable Scenario / Limitation Ops / User Focus
Grammar Check Real-time wavy underlines in code view + right-click suggestions; Tools > Check grammar whole-book scan list Editing EPUB/AZW3 source; rules individually disableable First use requires language data pack download; fully offline thereafter
Sentence Rewriting Local neural inference, five style options: grammar, fluency, clarity, conciseness, formality English polishing; needs hardware inference acceleration No cloud calls, privacy-safe; model download triggered by user confirmation
PDF Conversion Cross-page/column paragraph merge, heading reassembly, hyphen restoration, multi-column detection, header/footer removal PDF to EPUB/MOBI reflow Significant gains for complex layouts (papers, magazines); scanned PDFs still need OCR
Accessibility Keyboard navigation, screen-reader support across dialogs, footnote popups, read-aloud controls, color themes, ratings Content Server & local viewer Meets WCAG baseline; improves compliance for public library deployments
Content Server Metadata editor direct download of book info/covers; passwords support non-ASCII chars Remote library management, multi-user auth Simplifies metadata maintenance; special-char passwords no longer error
Performance Large catalog generation, large HTML splitting, editor bulk link/ID repair accelerated Huge libraries (10k+ books), long-chapter EPUBs Batch import/convert windows shrink; peak memory usage not disclosed in source
Get Books Amazon search switched to browser mode, bypassing non-US store restrictions Multi-region book lookup Requires system browser environment; headless servers need extra config

Deep Dive & Operational Details

Editor Grammar Check & Sentence Rewriting Workflow

While editing in code view, Calibre parses HTML/XHTML in real time, marking grammar errors, style issues, and typography anomalies (extra spaces, punctuation misuse) with wavy underlines. The context menu offers replacements with three-tier handling: ignore once, ignore all, disable rule. Whole-book scanning lives under Tools > Check grammar, producing a clickable issue list for batch navigation. Sentence rewriting is English-only; select text, invoke via context menu, and the local neural model generates five rewrite candidates per sentence for per-sentence acceptance or tweaking. First invocation of any language check or rewrite triggers a confirmation dialog to download the corresponding language model package (size not disclosed in source). After download, everything runs offline with no telemetry upload. Ops recommendation: pre-seed language packs in container volumes to avoid first-run download failures on air-gapped or restricted networks; GPU acceleration can markedly reduce rewrite latency, though the source provides no VRAM baseline.

PDF Input Engine Rebuild: Layout Recovery Logic

The new engine addresses PDF’s inherent flow layout. A cross-page paragraph detection algorithm identifies logical paragraphs broken by page breaks or column gaps, stitches text flow, and removes hyphens. Heading reassembly clusters forced-wrapped heading lines using font size, weight, and centering cues. Multi-column detection uses horizontal whitespace width thresholds to determine column boundaries and reorders text blocks in reading order. Header/footer removal employs repeating-pattern matching to filter chapter titles, page numbers, and other non-body elements. Tested scenario: a two-column academic paper converted to EPUB with intact chapter structure and accurate footnote anchoring. Scanned PDFs lacking a text layer still require OCR first. Ops note: peak memory for very large PDFs (>500 pages) not disclosed in source; process on memory-rich nodes or in batches.

Content Server & Viewer Accessibility and Enterprise Details

Accessibility improvements span the full interaction chain: corrected Tab order, added ARIA labels, enhanced focus visibility, enabling screen readers to correctly announce dialogs, footnote popups, read-aloud controls, color panels, and rating widgets. Content Server’s metadata editor gains a “Download metadata/cover” button that calls online sources (Google Books, Open Library, etc.) to auto-populate book data, reducing manual entry. Password system upgraded to Unicode, accepting Chinese, emoji, and other non-ASCII characters, fixing multi-language auth failures. Performance side: large catalog (>10k entries) generation time not disclosed but described as “significantly accelerated”; EPUB conversion sees higher throughput for large HTML splitting and editor bulk repair of broken links/duplicate IDs. Deployment advice: when placing a WAF in front of a reverse proxy, allow URL-encoded Unicode password transmission; enable HTTPS with HSTS to protect metadata download endpoints.

Scenario-Based Selection & Pitfall Checklist

  1. Self-hosted family/team library: Enable Content Server non-ASCII passwords and auto metadata download, pair with accessibility mode for multi-device reading; Docker deploy with /config and /books volumes, pre-load language models to avoid first-start download stalls.
  2. Batch PDF paper/magazine to EPUB: Rely on new PDF engine for two-column and cross-page handling; pre-check font embedding with ebook-polish before conversion; scanned PDFs need Tesseract OCR first — source provides no OCR integration recipe.
  3. English writing polish pipeline: Combine sentence rewriting API (scriptable via Calibre CLI ebook-edit) for CI/CD document auto-polishing; evaluate CPU/GPU inference latency impact on pipeline duration — source gives no benchmark data.
  4. Public library compliance deploy: Accessibility upgrades meet baseline WCAG 2.1 AA; still need self-audit on color contrast, alt text, and content-layer compliance; Content Server auth should integrate LDAP/OAuth proxy — source mentions no native support.
  5. Pitfalls: Headless servers running Get Books Amazon search need a headless browser (Chromium/Firefox) with DISPLAY or Playwright deps; language model downloads use HTTPS — offline environments must pre-import model directories; complex PDF layouts may still lose table structures, manual review advised.

FAQ

Does Calibre 9.19 grammar check and sentence rewriting upload data to the cloud?

No. The source explicitly states “all processing happens locally without using AI services”. Language-specific check data downloads only on first use with user confirmation; subsequent inference is fully offline with no telemetry upload.

Does PDF conversion work on scanned (image-only) PDFs?

No. The new engine optimizes PDFs that already contain a text layer (layout reassembly, multi-column detection, header/footer removal). Scanned PDFs lack a text layer and must be OCR-processed first; the source does not integrate OCR functionality.

How to use Get Books Amazon search on a headless server with Content Server?

Install a system browser (e.g., Chromium) and its driver, configure a virtual display or use Playwright/Selenium headless mode. The source only notes “uses a browser” without concrete deployment steps.

Sources & References

Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

Related articles