Class SpeakerIdentificationModel
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.speaker.SpeakerIdentificationModel
-
- All Implemented Interfaces:
AutoCloseable
public class SpeakerIdentificationModel extends Object implements AutoCloseable
Represents the speaker identification model used for speaker recognition. Note: close() must be called in order to release underlying resources held by the object.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Dispose of associated resources.static SpeakerIdentificationModelfromProfiles(List<VoiceProfile> profiles)Creates a speaker identification model from the voice profiles.SafeHandlegetImpl()Returns the speaker identification model.
-
-
-
Method Detail
-
fromProfiles
public static SpeakerIdentificationModel fromProfiles(List<VoiceProfile> profiles)
Creates a speaker identification model from the voice profiles.- Parameters:
profiles- A collection of voice profiles.- Returns:
- The speaker identification model being created.
-
close
public void close()
Dispose of associated resources.- Specified by:
closein interfaceAutoCloseable
-
getImpl
public SafeHandle getImpl()
Returns the speaker identification model.- Returns:
- The implementation of the model.
-
-