Repository navigation
v1.5.0
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
SpellCheckandSpellLanguagesRPCs 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.0Full changelog: v1.4.0...v1.5.0