ailiaSpeechOpenDiarizationFileW method

int ailiaSpeechOpenDiarizationFileW(
  1. Pointer<AILIASpeech> net,
  2. Pointer<WChar> segmentation_path,
  3. Pointer<WChar> embedding_path,
  4. int type
)

~japanese @brief 話者分離に適用するAIモデルを指定します。(UTF16) @param net ネットワークオブジェクトポインタ @param segmentation_path onnxファイルのパス名(UTF16) @param embedding_path onnxファイルのパス名(UTF16) @param type AILIA_SPEECH_DIARIZATION_TYPE_PYANNOTE_AUDIO @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Set AI model for speaker diarization (UTF16) @param net A network instance pointer @param segmentation_path The path name to the onnx file (UTF16) @param embedding_path The path name to the onnx file (UTF16) @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 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,
  );
}