Follow along with the runnable example. This guide walks through the Dictionary terms example in
corti-examples — bootstrap your build from it or use it as reference.For how keyterms behave — case-sensitivity, the per-connection and per-term limits, and roadmap — see the Custom Dictionary Keyterms reference. This page focuses on wiring them into your app.
Configure keyterms
Add akeyterms object to your dictationConfig. Its terms array holds one { term } entry per word or phrase.
Keyterms are case-sensitive, so define each term with the casing you want preserved (e.g. "Corti", not "corti"). Each term is limited to 50 characters, with up to 1,000 terms per connection — see the reference for details.
Manage a term set
As with replacements, terms usually come from a catalog plus user-defined entries. Model each with a stableid so it can be edited, removed, or protected, then derive the config from the active set.
JavaScript
Export and share a term set
To move a term set between environments or check it into source control, serialize it in the config shape so it round-trips cleanly:corti-terms.json
Next steps
Custom Dictionary Keyterms
Case-sensitivity, limits, and roadmap for the keyterms feature.
Commands
Turn spoken command phrases into real editor actions.
Example code
The complete, runnable Dictionary terms example in
corti-examples.Please contact us for help or questions.