/
com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.yml
101 lines (101 loc) · 9.11 KB
/
com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer"
name: "SpeakerRecognizer"
nameWithType: "SpeakerRecognizer"
summary: "Performs speaker recognition on the speech input."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public final class **SpeakerRecognizer**</br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.SpeakerRecognizer(com.microsoft.cognitiveservices.speech.SpeechConfig,com.microsoft.cognitiveservices.speech.audio.AudioConfig)"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.SpeakerRecognizer(SpeechConfig speechConfig, AudioConfig audioConfig)"
name: "SpeakerRecognizer(SpeechConfig speechConfig, AudioConfig audioConfig)"
nameWithType: "SpeakerRecognizer.SpeakerRecognizer(SpeechConfig speechConfig, AudioConfig audioConfig)"
summary: "Creates a new instance of a speaker recognizer."
parameters:
- description: "speech configuration."
name: "speechConfig"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.SpeechConfig?alt=com.microsoft.cognitiveservices.speech.SpeechConfig&text=SpeechConfig\" data-throw-if-not-resolved=\"False\" />"
- description: "audio configuration."
name: "audioConfig"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioConfig?alt=com.microsoft.cognitiveservices.speech.audio.AudioConfig&text=AudioConfig\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SpeakerRecognizer(SpeechConfig speechConfig, AudioConfig audioConfig)"
desc: "Creates a new instance of a speaker recognizer. If no audio config is provided as input parameter, it will be equivalent to calling with a config constructed with AudioConfig::FromDefaultMicrophoneInput."
methods:
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.close()"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.close()"
name: "close()"
nameWithType: "SpeakerRecognizer.close()"
summary: "Dispose of associated resources."
syntax: "public void close()"
desc: "Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object."
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.getImpl()"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.getImpl()"
name: "getImpl()"
nameWithType: "SpeakerRecognizer.getImpl()"
summary: "Internal method to get the underlying native handle."
syntax: "public SafeHandle getImpl()"
desc: "Internal method to get the underlying native handle."
returns:
description: "the native handle to the underlying object."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.getProperties()"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.getProperties()"
name: "getProperties()"
nameWithType: "SpeakerRecognizer.getProperties()"
summary: "The collection of properties and their values defined for Speaker<wbr>Recognizer."
syntax: "public PropertyCollection getProperties()"
desc: "The collection of properties and their values defined for SpeakerRecognizer."
returns:
description: "The collection of properties and their values defined for SpeakerRecognizer."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.PropertyCollection?alt=com.microsoft.cognitiveservices.speech.PropertyCollection&text=PropertyCollection\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.recognizeOnceAsync(com.microsoft.cognitiveservices.speech.speaker.SpeakerIdentificationModel)"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.recognizeOnceAsync(SpeakerIdentificationModel model)"
name: "recognizeOnceAsync(SpeakerIdentificationModel model)"
nameWithType: "SpeakerRecognizer.recognizeOnceAsync(SpeakerIdentificationModel model)"
summary: "Starts a speaker recognition session to identify the speaker in the identification model."
parameters:
- description: "The speaker identification model that specifies the speaker to be identified."
name: "model"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.speaker.SpeakerIdentificationModel?alt=com.microsoft.cognitiveservices.speech.speaker.SpeakerIdentificationModel&text=SpeakerIdentificationModel\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Future<SpeakerRecognitionResult> recognizeOnceAsync(SpeakerIdentificationModel model)"
desc: "Starts a speaker recognition session to identify the speaker in the identification model."
returns:
description: "A task representing the speaker recognition operation. The task returns an instance of SpeakerRecognitionResult."
type: "<xref href=\"java.util.concurrent.Future?alt=java.util.concurrent.Future&text=Future\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognitionResult?alt=com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognitionResult&text=SpeakerRecognitionResult\" data-throw-if-not-resolved=\"False\" />>"
- uid: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.recognizeOnceAsync(com.microsoft.cognitiveservices.speech.speaker.SpeakerVerificationModel)"
fullName: "com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognizer.recognizeOnceAsync(SpeakerVerificationModel model)"
name: "recognizeOnceAsync(SpeakerVerificationModel model)"
nameWithType: "SpeakerRecognizer.recognizeOnceAsync(SpeakerVerificationModel model)"
summary: "Starts a speaker recognition session to verify the speaker in the verification model."
parameters:
- description: "The speaker verification model that specifies the speaker to be verified."
name: "model"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.speaker.SpeakerVerificationModel?alt=com.microsoft.cognitiveservices.speech.speaker.SpeakerVerificationModel&text=SpeakerVerificationModel\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Future<SpeakerRecognitionResult> recognizeOnceAsync(SpeakerVerificationModel model)"
desc: "Starts a speaker recognition session to verify the speaker in the verification model."
returns:
description: "A task representing the speaker recognition operation. The task returns an instance of SpeakerRecognitionResult."
type: "<xref href=\"java.util.concurrent.Future?alt=java.util.concurrent.Future&text=Future\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognitionResult?alt=com.microsoft.cognitiveservices.speech.speaker.SpeakerRecognitionResult&text=SpeakerRecognitionResult\" data-throw-if-not-resolved=\"False\" />>"
type: "class"
desc: "Performs speaker recognition on the speech input. Note: close() must be called in order to release underlying resources held by the object."
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech.speaker"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.34.0