ailiaSpeechOpenDiarizationFileA method
~japanese @brief 話者分離に適用するAIモデルを指定します。(MBSC) @param net ネットワークオブジェクトポインタ @param segmentation_path onnxファイルのパス名(MBSC) @param embedding_path onnxファイルのパス名(MBSC) @param type AILIA_SPEECH_DIARIZATION_TYPE_PYANNOTE_AUDIO @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Set AI model for speaker diarization (MBSC) @param net A network instance pointer @param segmentation_path The path name to the onnx file (MBSC) @param embedding_path The path name to the onnx file (MBSC) @param type AILIA_SPEECH_DIARIZATION_TYPE_PYANNOTE_AUDIO @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechOpenDiarizationFileA(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.Char> segmentation_path,
ffi.Pointer<ffi.Char> embedding_path,
int type,
) {
return _ailiaSpeechOpenDiarizationFileA(
net,
segmentation_path,
embedding_path,
type,
);
}