openDiarization

fun openDiarization(segmentationPath: String, embeddingPath: String, diarizationType: Int): Int

Opens the speaker diarization model files.

Return

0 if successful, otherwise an error code.

Parameters

segmentationPath

Path to the segmentation model file.

embeddingPath

Path to the speaker embedding model file.

diarizationType

Type of the diarization, one of the AILIA_SPEECH_DIARIZATION_TYPE_* constants.