Dictionary Functions


Functions to manage the Invox Dictation Dictionary Repository. The dictionary allows users to add custom words to improve recognition.

User Dictionary

GetUserDictionary

FunctionDescriptionParametersReturns
INVOX.GetUserDictionary()Returns the user dictionary repository object.—Object
const userDict = INVOX.GetUserDictionary();

UserDictionaryGet

Returns all words in the user dictionary.

INVOX.UserDictionaryGet()
    .then((words) => console.log(words));

UserDictionaryAdd

Adds a new word to the user dictionary.

INVOX.UserDictionaryAdd("myCustomWord")
    .then(() => console.log("Word added successfully"));

UserDictionaryRemove

Removes a word from the user dictionary.

INVOX.UserDictionaryRemove("wordToRemove")
    .then(() => console.log("Word removed successfully"));

UserDictionaryReplace

Replaces an existing word in the user dictionary.

INVOX.UserDictionaryReplace("oldWord", "newWord")
    .then(() => console.log("Word replaced successfully"));

Specialty Dictionary

GetSpecialtyDictionary

FunctionDescriptionParametersReturns
INVOX.GetSpecialtyDictionary()Returns the specialty dictionary repository object.—Object
const specialtyDict = INVOX.GetSpecialtyDictionary();

SpecialtyDictionaryGet

Returns all words in the specialty dictionary.

INVOX.SpecialtyDictionaryGet()
    .then((words) => console.log(words));