-
Notifications
You must be signed in to change notification settings - Fork 223
/
com.microsoft.cognitiveservices.speech.ClassLanguageModel.yml
67 lines (67 loc) · 5.9 KB
/
com.microsoft.cognitiveservices.speech.ClassLanguageModel.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
### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.ClassLanguageModel"
fullName: "com.microsoft.cognitiveservices.speech.ClassLanguageModel"
name: "ClassLanguageModel"
nameWithType: "ClassLanguageModel"
summary: "Represents a Class<wbr>Language<wbr>Model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar?alt=com.microsoft.cognitiveservices.speech.Grammar&text=Grammar\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar.close()?alt=com.microsoft.cognitiveservices.speech.Grammar.close&text=close\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar.fromStorageId(java.lang.String)?alt=com.microsoft.cognitiveservices.speech.Grammar.fromStorageId&text=fromStorageId\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar.getImpl()?alt=com.microsoft.cognitiveservices.speech.Grammar.getImpl&text=getImpl\" data-throw-if-not-resolved=\"False\" />"
- 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 **ClassLanguageModel**</br> extends <xref href=\"com.microsoft.cognitiveservices.speech.Grammar?alt=com.microsoft.cognitiveservices.speech.Grammar&text=Grammar\" data-throw-if-not-resolved=\"False\" /></br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.cognitiveservices.speech.ClassLanguageModel.assignClass(java.lang.String,com.microsoft.cognitiveservices.speech.Grammar)"
fullName: "com.microsoft.cognitiveservices.speech.ClassLanguageModel.assignClass(String className, Grammar grammar)"
name: "assignClass(String className, Grammar grammar)"
nameWithType: "ClassLanguageModel.assignClass(String className, Grammar grammar)"
summary: "Assigns a grammar to a specified class in a language model."
parameters:
- description: "The name of a class in the language model."
name: "className"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "The grammar to associate with the class."
name: "grammar"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.Grammar?alt=com.microsoft.cognitiveservices.speech.Grammar&text=Grammar\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void assignClass(String className, Grammar grammar)"
desc: "Assigns a grammar to a specified class in a language model."
- uid: "com.microsoft.cognitiveservices.speech.ClassLanguageModel.fromStorageId(java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.ClassLanguageModel.fromStorageId(String id)"
name: "fromStorageId(String id)"
nameWithType: "ClassLanguageModel.fromStorageId(String id)"
summary: "Creates a class<wbr>Language<wbr>Model from its storage Id."
modifiers:
- "static"
parameters:
- description: "The Id of the Class Language Model"
name: "id"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ClassLanguageModel fromStorageId(String id)"
desc: "Creates a classLanguageModel from its storage Id. Creating a ClassLanguageModel from a storage ID is only usable in specific scenarios and is not generally available."
returns:
description: "classLanguageModel associated with the given Id."
type: "<xref href=\"com.microsoft.cognitiveservices.speech.ClassLanguageModel?alt=com.microsoft.cognitiveservices.speech.ClassLanguageModel&text=ClassLanguageModel\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents a ClassLanguageModel. ClassLanguageModels are only usable in specific scenarios and are not generally available. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.7.0"
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0