Adds user phrases.
The key.
The phrase.
Converts a macro.
Retrieves an array of Unigram objects for the specified key.
The string key to look up unigrams for
An array of Unigram objects matching the key
Whether Unigrams exist for the specified key.
The string key to look up unigrams for
Whether Unigrams exist for the key
Sets the string converter.
Optional
converter: (input: string) => undefined | stringSets the string converter.
Optional
converter: (input: string) => undefined | stringSets the excluded phrases.
Sets the string converter.
Optional
converter: (input: string) => undefined | stringSets the user phrases.
Static
maybeConverts to an absolute-order key if needed.
a key that KeyHandler uses
an absolute-order key if it's not a punctuation key.
The main language model.