Class SpeakerVerificationModel
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.speaker.SpeakerVerificationModel
-
- All Implemented Interfaces:
AutoCloseable
public class SpeakerVerificationModel extends Object implements AutoCloseable
Represents the speaker verification 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 SpeakerVerificationModelfromProfile(VoiceProfile profile)Creates a speaker verification model from a voice profile.SafeHandlegetImpl()Returns the speaker verification model.
-
-
-
Method Detail
-
fromProfile
public static SpeakerVerificationModel fromProfile(VoiceProfile profile)
Creates a speaker verification model from a voice profile.- Parameters:
profile- A voice profile.- Returns:
- The speaker verification model being created.
-
close
public void close()
Dispose of associated resources.- Specified by:
closein interfaceAutoCloseable
-
getImpl
public SafeHandle getImpl()
Returns the speaker verification model.- Returns:
- The implementation of the model.
-
-