Skip to content

v1.5.0

Choose a tag to compare

@odinnordico odinnordico released this 02 Jun 22:21
· 84 commits to main since this release
596cd4d

v1.5.0

Highlights

🔤 New tool: Spell & Grammar Checker (offline, English + Spanish)

A fully offline spell- and grammar-checking tool. The engine, dictionaries, and grammar rules are embedded in the binary — no text ever leaves the process, consistent with the rest of PrivUtil.

  • Spelling — Norvig edit-distance corrector ranked by word frequency, with proper-noun and contraction handling. Dictionaries are top-50k frequency lists (OpenSubtitles / FrequencyWords).
  • Grammar — repeated words, double spaces, space-before-punctuation, missing space after comma, sentence capitalization (abbreviation-guarded), English a/an, "would of", lowercase "i", and Spanish opening ¿/¡.
  • Languages — English and Latin American Spanish, via a pluggable language registry that's easy to extend.
  • UI — editable text with a highlighted review pane, hover/click popovers to apply or ignore fixes, and a suggestions side panel that jumps to and applies corrections.
  • API — new SpellCheck and SpellLanguages RPCs with rune-based offsets and an input-size guard.

What's Changed

  • feat: add offline Spell & Grammar Checker tool (English + Spanish) (43f8793)
  • docs: document Token Counter and Spell & Grammar Checker (20e536a)
  • docs: bump wiki to API-reference/proto reconciliation (596cd4d)

Install

Binaries — download the archive for your platform from the assets below and extract:

tar -xzf privutil-linux-amd64.tar.gz   # linux/macOS
./privutil

(Windows builds are .zip containing privutil.exe.)

Docker:

docker run --rm -p 8090:8090 ghcr.io/odinnordico/privutil:v1.5.0

Full changelog: v1.4.0...v1.5.0