static int ailiaSpeechOpenModelFile(IntPtr net, string encoder_path, string decoder_path, int model_type)
Set models into a network instance.
static int ailiaSpeechOpenVadFile(IntPtr net, string vad_path, int vad_type)
Set vad model for voice activity detection.
-virtual void Dispose()
Release resources.
Definition: AiliaSpeechModel.cs:287
+virtual void Dispose()
Release resources.
Definition: AiliaSpeechModel.cs:290
static int ailiaSpeechSetPrompt(IntPtr net, IntPtr prompt)
Set prompt.
static int ailiaSpeechSetIntermediateCallback(IntPtr net, ailiaIntermediateCallback callback, IntPtr handle)
Set a callback to get intermediate results of recognition.
static int ailiaSpeechSetLanguage(IntPtr net, string language)
Performs the inferences and provides the inference result.
Definition: AiliaSpeech.cs:495
static int ailiaSpeechSetSilentThreshold(IntPtr net, float silent_threshold, float speech_sec, float no_speech_sec)
Set silent threshold.
-bool IsProcessing()
Check is processing sub thread.
Definition: AiliaSpeechModel.cs:667
+bool IsProcessing()
Check is processing sub thread.
Definition: AiliaSpeechModel.cs:670
static int ailiaSpeechOpenDictionaryFile(IntPtr net, string dictionary_path, int dictionary_type)
Set dictionary for error correction.
const Int32 AILIA_SPEECH_FLAG_LIVE
Definition: AiliaSpeech.cs:170
static int ailiaSpeechOpenPostProcessFile(IntPtr net, string encoder_path, string decoder_path, string source_path, string target_path, IntPtr prefix, int post_process_type)
Set AI model for post process.
-virtual void Close()
Destroys instance.
Definition: AiliaSpeechModel.cs:270
+virtual void Close()
Destroys instance.
Definition: AiliaSpeechModel.cs:273
static AiliaSpeech.AILIASpeechApiCallback GetCallback()
Definition: AiliaSpeech.cs:531
const int AILIA_SPEECH_API_CALLBACK_VERSION
Definition: AiliaSpeech.cs:491
static int ailiaSpeechCreate(ref IntPtr net, int env_id, int num_thread, int memory_mode, int task, int flag, AILIASpeechApiCallback callback, int version)
Creates a network instance.
@@ -1121,7 +1121,7 @@