Skip to content

Dictionary

Chris Smashe edited this page Nov 17, 2026 · 15 revisions

Dictionary & Term Packs

The Dictionary holds corrections and terms that TypeWhisper applies to your transcriptions, plus built-in term packs you can toggle on and off. Dictionary corrections and vocabulary boosting run as part of the dictation post-processing pipeline.

The Dictionary page: the vocabulary-boosting toggle, the All / Terms / Corrections / Packs tabs, search, and the add-entry row (Correction / Term)

Corrections vs. terms

There are two kinds of entry, which is what the All / Terms / Corrections tabs filter on:

  • Corrections rewrite recognized text. Each has an Original and a Replacement, and any occurrence of the original in a transcription is replaced. A plain correction whose replacement is only a line break (for a spoken "new line", say) also swallows the punctuation mark the recognizer put after it, so the next line no longer starts with a stray .. Since v0.16.1 this applies anywhere in the text (v0.15.2 handled only a final period) and to one following ., ,, ;, :, ! or ?; a mark attached to the next word is kept, so "new line .NET" keeps .NET. Ordinary and regex corrections keep their punctuation.
  • Terms are single entries (Original only, no replacement) that boost recognition of that word or phrase. They do not rewrite text; they help the engine recognize the term in the first place.

You add either kind from the add-entry row by choosing Correction or Term.

Dictionary entries

Each entry supports the following:

Attribute Description
Starring Mark an entry as starred. Starred entries sort first.
Priority An integer from 0 to 999. Entries sort starred-first, then by priority (high to low), then alphabetically.
Case-sensitive Match the original exactly by case (off by default).
Enabled Per-entry toggle; disabled entries are not applied.
Source How the entry originated: Manual, Import, CorrectionSuggestion, or AutoLearned.
Times applied How many times the entry has been applied to transcriptions.
Times corrected How many times the entry has been corrected.

Entries sourced from CorrectionSuggestion and AutoLearned come from edits you make in History. They are only saved here automatically when Auto-learn approved history corrections is enabled on the Dictation settings page — that toggle is off by default, so without it your history edits are reviewed inline in History rather than saved here automatically.

Corrections learned from other apps

There is a second, separate way entries land here automatically: Learn corrections from other apps, also on the Dictation settings page and also off by default. With it on, typing over a dictated word in the app you dictated into is enough — TypeWhisper observes the edit through AT-SPI and saves the correction here silently, without a review step.

Each learned batch raises a brief toast showing what was learned, with an Undo action that removes that batch from the dictionary again. Anything learned this way is an ordinary correction entry, so you can also star, disable, edit, or delete it here at any time.

Learning is deliberately conservative: password fields are excluded (failing closed when the field's role can't be determined), change-of-intent rewrites are rejected, and edits that would introduce a line break are never learned. See Dictation for the full behavior and for the accessibility-bridge setup that Chromium/Electron and Qt apps need.

A learned dictionary entry — "app → application" — a Correction-type entry with a CorrectionSuggestion source, showing its priority, times-applied counter, star, and enable toggle

Importing and exporting entries

You can export all dictionary entries to CSV and import entries from CSV. This makes it easy to back up your vocabulary or move it between machines.

Since v0.13.1 the two entry types import differently:

  • Vocabulary terms — duplicates are skipped, as before.
  • Corrections — rows merge on a case-insensitive Original. A later row updates the existing correction's replacement and flags rather than being skipped, keeping the original entry's ID; where two rows conflict, the last one wins. A row identical to what is already stored is skipped.

Careful re-importing an old export. Because corrections now merge, importing a stale CSV will overwrite corrections you have edited since it was taken. Export first if you want a way back.

Built-in term packs

TypeWhisper ships built-in term packs that you can enable or disable with toggles. Turn on the packs relevant to your vocabulary to improve recognition of those terms.

The built-in term packs (Web Development, .NET / C#, DevOps & Cloud, Data & AI, Design, Game Development, Mobile, Cybersecurity, and more), each with a term count and an enable/disable toggle

Vocabulary boosting

Vocabulary boosting supplies terms to a supporting transcription engine before recognition. Dictionary corrections then rewrite the recognized text during post-processing. Next to the boosting toggle, a status line reports how many terms are eligible — e.g. "N active term(s) available for boosting" (or "No active terms available for boosting" when there are none).

Acoustic dictionary boosting (v0.16.0)

Text-only vocabulary boosting can only fix words that are spelled like a term. Acoustic dictionary boosting goes back to the audio: after a local Parakeet transcription, a second small model (NVIDIA Parakeet TDT-CTC 110M, English, ~126 MB) checks every word that could be a misheard term and replaces it only when the recording sounds like the term. It fixes cases such as "custral" → Kestrel or "Fodora" → Fedora, which no spelling match can catch, and it does not touch neighbouring words.

What you need:

  • The Parakeet CTC Vocabulary plugin enabled on the Plugins page. It is off by default because enabling it downloads the model once (from GitHub and Hugging Face) into the plugin's data folder.
  • A local Parakeet model — Parakeet Ultra 0.6B (since v0.17.0) or Parakeet TDT 0.6B (Transcription Engines). They are the only models that report word timings, which the acoustic check needs; with any other engine the stage stays inactive and text-only boosting runs as before. Since v0.17.0 recordings longer than 15 seconds carry word timings too, so the check also runs on long dictations and files; before that it silently skipped them.
  • At least one active term in the Dictionary.

The Enable acoustic dictionary boosting toggle on this page switches the stage on and off, and the status line under it tells you why it is or is not active ("Active with the local Parakeet model.", "Inactive: requires a local Parakeet model, Ultra or TDT (current: …)", "Parakeet CTC Vocabulary plugin is not enabled.", "No active terms to check."). While the stage is active, text-only boosting is skipped for that transcription; dictionary corrections still run afterwards. The acoustic check also runs for File Transcription and the HTTP API when the Parakeet engine is selected.

Each term row has a Boost button that sets how close the audio must sound before a word becomes that term: Auto (the engine default, 60 %), Strong (50 %, accepts more pronunciations — use it when a term keeps being missed), Balanced (65 %) or Precise (80 %, use it when a common word keeps turning into the term). The setting is per term, travels with CSV export/import (column CtcMinSimilarity, 0.4–0.95) and backups, and is ignored by engines other than Parakeet. Terms containing hyphens are matched by how they are spoken ("sherpa-onnx" is checked as "sherpa onnx") and inserted with their exact spelling.

The model is English-only and runs on the CPU in roughly 100–400 ms per dictation; it loads on the first use after you enable it and unloads again after ten idle minutes, so it costs no memory while you use another engine. Nothing is sent anywhere.

Whole terms for engines that accept a list (v0.17.0)

Most engines receive dictionary terms as one comma-separated hint, and only through the HTTP API. An engine can now ask for the terms as a list instead, so a term containing a comma, such as Washington, D.C., stays one term. Meta is the first engine to do so: it receives your enabled terms during dictation, live preview, streaming, retry from History and File Transcription as well as through the API, and a term that does not fit Meta's keyword limits (100 keywords, 8 words or 100 characters each, 600 characters in total) is left out whole rather than cut. Disable a term to keep it out. Other engines are unchanged.

Whole terms for more cloud engines (v0.18.0)

These engines now receive your enabled terms as a list, on every path, with these limits:

Engine How terms are sent Limit
OpenAI GPT Transcribe, GPT Live Transcribe keywords (a term with <, > or a line break goes into the prompt) 600 characters in total
OpenAI whisper-1, GPT-4o (mini) Transcribe, GPT Realtime Whisper prompt text, after the caller's prompt 600 characters in total
Gemini custom vocabulary (recordings and Gemini Live) 100 terms, 4,000 characters
Gladia custom vocabulary (recordings and live) 100 terms, 4,000 characters
Speechmatics additional vocabulary (recordings and live) 100 terms of at most 6 words, 4,000 characters
Cloudflare Whisper Large V3 Turbo initial_prompt
ElevenLabs (recordings only), opt-in keyterms 1,000 terms, under 50 characters and at most 5 words each
AssemblyAI (recordings and live), opt-in keyterms Universal-2: 200, Universal-3.5 Pro: 1,000, live: 100 terms of up to 6 words

ElevenLabs and AssemblyAI send terms only when you turn on Send dictionary terms as keyterms in their plugin settings, because both charge extra for keyterms. A term that does not fit an engine's limits is left out whole, never cut. Disable a term here to keep it out of every request.

Pattern matching and replacement escapes (v0.14.1)

A correction can opt into Regular expression matching. Otherwise the original phrase is literal. Replacement escapes include \s (space), \n (line break), \r (carriage return), \t (tab), and \ (backslash). Escape expansion is tracked per entry; existing literal entries, imports without the flag, API writes, and learned corrections keep their prior literal behavior.

Regex replacement capture tokens such as $1 and $& remain literal text. Invalid patterns are reported in the editor, and an invalid or slow stored pattern cannot prevent later corrections from running. CSV exports/imports preserve the regex and escape flags; literal and regex corrections are separate identities.

Vocabulary terms are supplied to supporting transcription engines before recognition, subject to the engine's term budget. This differs from corrections, which rewrite recognized text.

Suggest aliases (v0.19.0)

Suggest aliases… asks a local language model how a term might be misheard. Enter the correct spelling, choose the spoken language and a Local language model, and Generate suggestions. Suggestions arrive unchecked; Save adds the checked ones as corrections. Only models on this computer are offered: Gemma (Local), or an OpenAI-compatible server reached at localhost or a loopback address (such as Ollama). Ollama's :cloud models are hidden, and requests to a loopback server never follow redirects or use a proxy. If none is ready, the panel says so.

Import from Handy and Wispr Flow (v0.19.0)

Import adds From Handy… (custom words, read from ~/.local/share/com.pais.handy/settings_store.json, or pick the file for a portable Handy) and From Wispr Flow… (pick a flow.sqlite copied from Wispr Flow on another computer; terms plus phrase-to-spelling corrections; deleted entries and snippets are left out). You review new entries, duplicates and conflicts before anything is written; nothing changes until Add, and a dictionary edited meanwhile stops the import. The Wispr Flow import uses the system SQLite library.

Terms for xAI and Reson8 (v0.19.0)

xAI and Reson8 now receive dictionary terms during dictation; see Transcription Engines.

Page scrolling (v0.19.2)

The Dictionary page scrolls like the other settings pages, so the Original / Replacement boxes and + Add are reachable in a 1280×800 window. The entry list keeps its own scrolling. In a narrow window (800×600) each entry row stacks its name, badges and actions, so Delete stays reachable.

Localized badges (v0.19.3)

The type and priority badges on each entry follow the interface language: German shows Begriff / Korrektur and Priorität 2 instead of Term / Correction and Priority 2.

Related pages

  • History — where correction suggestions are generated and auto-learned into the dictionary.
  • Dictation — the Learn corrections from other apps setting that feeds this page automatically.
  • Snippets — reusable text expansions that complement dictionary terms.

Changelog

Date Change
2026-06-17 Initial version.
2026-06-17 Added Dictionary and term-packs screenshots.
2026-06-17 Added correction entry-detail screenshot; documented the auto-learn requirement.
2026-06-17 Fixed the entry source label (CorrectionSuggestion, not Correction); added the correction-vs-term distinction, CSV import/export, per-entry case-sensitive and enable toggle, the active-terms boosting status, and the 0–999 priority / sort order.
2026-07-27 v0.13.0: documented corrections learned automatically from edits made in other apps, and the Undo action on the learned-correction toast.
2026-09-07 v0.13.1: CSV correction imports merge on a case-insensitive Original (last row wins) instead of skipping duplicates; vocabulary terms still skip.
2026-09-11 v0.14.1: documented regex rules, replacement escapes, CSV flags, and provider term budgets.
2026-09-17 v0.15.2: newline-only corrections consume the trailing recognizer period.
2026-10-04 v0.16.0: acoustic dictionary boosting (Parakeet CTC Vocabulary plugin), the per-term Boost presets, the acoustic toggle and status line, and the CtcMinSimilarity CSV column.
2026-10-07 v0.16.1: newline-only corrections consume one following . , ; : ! ? anywhere in the text and keep marks attached to the next word.
2026-10-12 v0.17.0: acoustic boosting also works with Parakeet Ultra and on recordings over 15 seconds; whole dictionary terms for Meta.
2026-10-19 v0.18.0: whole dictionary terms for OpenAI, Gemini, Gladia, Speechmatics, Cloudflare Turbo, and opt-in ElevenLabs and AssemblyAI, with each engine's limits.
2026-10-25 v0.19.0: added Suggest aliases, Handy and Wispr Flow import, and terms for xAI and Reson8.
2026-11-07 v0.19.2: the page scrolls so the add form is reachable, and entry rows stack in a narrow window.
2026-11-17 v0.19.3: entry badges follow the interface language.

Clone this wiki locally