Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.10.5
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-10-19 56.5 MB
5.10.5_ Single-Letter Words Recognition (_A_, _I_, _O_) _ Proofing Engine Optimization source code.tar.gz 2026-10-19 23.4 MB
5.10.5_ Single-Letter Words Recognition (_A_, _I_, _O_) _ Proofing Engine Optimization source code.zip 2026-10-19 23.6 MB
README.md 2026-10-19 6.8 kB
openpublisher5_amd64-windows-portable.exe 2026-10-19 183.2 MB
openpublisher5_amd64-windows.exe 2026-10-19 165.2 MB
openpublisher5_amd64-macos.dmg 2026-10-19 233.1 MB
openpublisher5_amd64-linux.run 2026-10-19 193.4 MB
openpublisher5_amd64-linux.rpm 2026-10-19 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-10-19 153.6 MB
openpublisher5_amd64-linux.deb 2026-10-19 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-10-19 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-10-19 185.5 MB
Totals: 13 Items   1.8 GB 0

🚀 Summary

Version 5.10.5 resolves an issue in the proofing and spellchecking engine where valid standalone single-letter English words (such as "A" and "I") were incorrectly flagged with red wavy spelling underlines (::highlight(spelling-error)):

  1. Single-Letter Dictionary Inclusions ('a', 'i', 'o'): Added standalone 'a', 'i', and 'o' directly into the offline dictionary (window.OPUB_DICTIONARY) and common frequency map (window.OPUB_COMMON_MAP), resolving the corpus compilation omission that caused valid single-letter words to be rejected.
  2. Fast-Path Spellcheck Engine Validation: Updated tools/proofing/spellcheck-engine.js with pre-seeded good words in _knownGoodWords and dedicated fast-paths in isWordInDictionary and isWordMisspelled, ensuring words like "A big red ball" and "I am a carrot" are recognized as 100% valid with zero false-positive spelling highlights.
  3. Preserved Grammar Rules & Pronoun 'I' Capitalization: Because valid single-letter words are no longer misidentified as spelling errors, lowercase "i" smoothly progresses to the local grammar scanner, correctly triggering the green wavy underline (PRONOUN_I) with the suggestion "I". Capitalized "I" and "A" remain completely clean with zero error highlights.

Asset cachebusters across all 83 resource tags in index.html have been upgraded to ?v=5.10.5, and the Service Worker cache has been bumped to open-publisher-v5-10-5.


🎨 Key Features & Architectural Improvements

1. Offline Dictionary & Frequency Map Inclusions (tools/proofing/dictionary.js)

  • Root Cause:
  • OpenPublisher's comprehensive 274,000+ word offline dictionary combines SCOWL, ENABLE1, and DTP terminology.
  • During the original raw corpus extraction, words with a length under 2 characters were stripped, omitting standalone 'a', 'i', and 'o' from the raw dictionary payload.
  • While isCheckableWord in the proofing engine explicitly exempted 'a', 'i', and 'o' from single-letter filtering so they could be verified, the underlying dictionary lookup window.OPUB_DICTIONARY.has(clean) returned false.
  • Once the offline dictionary initialized, isWordMisspelled treated these missing entries as definitive spelling errors, rendering red wavy underlines under valid words like "A" and "I".
  • Resolution:
  • Added explicit registration of 'a', 'i', and 'o' during window.OPUB_DICTIONARY initialization.
  • Added frequency rank weights into window.OPUB_COMMON_MAP so phonetic and edit-distance suggestion algorithms score 'a' and 'i' with high common-word priority.
  • Bumped the dictionary header and initialization log to reflect the expanded 274,760-word vocabulary.

2. Fast-Path Spellcheck & Token Validation Engine (tools/proofing/spellcheck-engine.js)

  • Architecture:
  • Pre-seeded _knownGoodWords with 'a', 'i', and 'o' so word validation remains robust even prior to or during asynchronous dictionary initialization.
  • In isWordInDictionary(word), added a zero-overhead fast-path: if (clean === 'a' || clean === 'i' || clean === 'o') return true;.
  • In isWordMisspelled(word), added an explicit guard ensuring 'a', 'i', and 'o' are never marked as spelling errors.
  • Preserved single-letter filtering in isCheckableWord so random standalone characters (e.g. outline bullets, middle initials, mathematical variables like x and y) do not generate false-positive error marks.

3. Grammar Proofing & Pronoun "I" Capitalization (tools/proofing/spellcheck-engine.js)

  • Context & Execution:
  • In scanLocalGrammarRules, the token scanner iterates over all word tokens to check grammatical rules (honorific titles, day/month casing, repeated words, and pronoun capitalization).
  • The grammar loop starts with if (isWordMisspelled(t.raw)) continue; to ensure genuine spelling mistakes receive priority red squiggly underlines without being obscured by grammar highlights.
  • Previously, because lowercase "i" was misclassified as a spelling error, the loop terminated early on line 227 and never evaluated rule PRONOUN_I.
  • With the new architecture:
    • Uppercase "I" and "A": Neither spelling nor grammar rules flag them, resulting in clean text with zero underlines.
    • Lowercase "i": Correctly bypasses the spelling error check and reaches the grammar rule, receiving a green wavy underline (::highlight(grammar-error)) and offering "I" as the suggested replacement in the context menu.

📁 Files Modified in 5.10.5

File Changes
tools/proofing/dictionary.js Added single-letter words 'a', 'i', and 'o' to window.OPUB_DICTIONARY and window.OPUB_COMMON_MAP; bumped header and console log to (v5.10.5).
tools/proofing/spellcheck-engine.js Added 'a', 'i', and 'o' to _builtinGoodWords and _knownGoodWords; implemented fast-path validation in isWordInDictionary and isWordMisspelled; bumped header to (v5.10.5).
index.html Bumped all 83 asset cachebuster query strings from ?v=5.10.4 to ?v=5.10.5.
sw.js Bumped service worker cache name to open-publisher-v5-10-5 and version header to (v5.10.5).
core/boot.js, core/core.js, elements/text/text.js, extensions/legacy-fixes.js, extensions/print-engine.js, extensions/pwa-install.js, extensions/ui-interactions.js, style.css, ui/menus.js, ui/modals/card-sheet-modal.js, ui/modals/options-modal.js, ui/sidebar-context.js Bumped version headers and startup logs to v5.10.5.

✅ Verification Checklist

  • [x] Capitalized Article "A" Recognition: Verified that "A big red ball" renders with 0 red spelling error highlights and 0 grammar error highlights.
  • [x] Capitalized Pronoun "I" & Lowercase Article "a": Verified that "I am a carrot" renders with 0 red spelling error highlights and 0 grammar error highlights.
  • [x] Pronoun "I" Grammar Capitalization: Verified that typing lowercase "i am a carrot" highlights "i" with a green wavy underline (PRONOUN_I) and suggests "I" as the replacement.
  • [x] True Misspelling Detection Intact: Verified that invalid words such as "carrrrot" correctly receive a red wavy underline (::highlight(spelling-error)).
  • [x] Offline Dictionary & Common Map Validation: Verified via automated browser testing that window.OPUB_DICTIONARY.has('a'), has('i'), and has('o') evaluate to true.
  • [x] Cachebuster Synchronization: Verified that all 83 asset tags in index.html and the Service Worker cache in sw.js are updated to v5.10.5.

🎉 Version 5.10.5: Open Publisher

Source: README.md, updated 2026-10-19