openDictionary

fun openDictionary(dictionaryPath: String, dictionaryType: Int): Int

Opens a dictionary file for correcting the recognition results.

Return

0 if successful, otherwise an error code.

Parameters

dictionaryPath

Path to the dictionary file.

dictionaryType

Type of the dictionary, one of the AILIA_SPEECH_DICTIONARY_TYPE_* constants.