setUserDictionaryFile

fun setUserDictionaryFile(path: String, dictionaryType: Int = AILIA_VOICE_DICTIONARY_TYPE_OPEN_JTALK)

Sets a user dictionary file.

The user dictionary is in MeCab format. Call before openDictionaryFile.

Parameters

path

Path to the user dictionary file.

dictionaryType

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