AiliaSpeech

constructor(envId: Int = -1, numThread: Int = 0, memoryMode: Int = 11, task: Int = AILIA_SPEECH_TASK_TRANSCRIBE, flags: Int = AILIA_SPEECH_FLAG_NONE)

Creates an ailia Speech instance.

Parameters

envId

Environment id of the ailia execution. -1 (ENVIRONMENT_ID_AUTO) selects the environment automatically.

numThread

Number of threads. 0 (MULTITHREAD_AUTO) means the system's logical processor count.

memoryMode

Memory management mode of the ailia execution. The default value 11 reduces the memory consumption.

task

Task of the recognition, one of the AILIA_SPEECH_TASK_* constants.

flags

Flags of the recognition, one of the AILIA_SPEECH_FLAG_* constants.