ailiaSpeechOpenDiarizationFileW method
Set AI model for speaker diarization (UTF16)
Parameters:
net: A network instance pointersegmentation_path: The path name to the onnx file (UTF16)embedding_path: The path name to the onnx file (UTF16)type: AILIA_SPEECH_DIARIZATION_TYPE_PYANNOTE_AUDIO
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechOpenDiarizationFileW(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.WChar> segmentation_path,
ffi.Pointer<ffi.WChar> embedding_path,
int type,
) {
return _ailiaSpeechOpenDiarizationFileW(
net,
segmentation_path,
embedding_path,
type,
);
}