public sealed class SpeechAdaptation : IMessage<SpeechAdaptation>, IEquatable<SpeechAdaptation>, IDeepCloneable<SpeechAdaptation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API class SpeechAdaptation.
Speech adaptation configuration.
Implements
IMessageSpeechAdaptation, IEquatableSpeechAdaptation, IDeepCloneableSpeechAdaptation, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V1P1Beta1Assembly
Google.Cloud.Speech.V1P1Beta1.dll
Constructors
SpeechAdaptation()
public SpeechAdaptation()
SpeechAdaptation(SpeechAdaptation)
public SpeechAdaptation(SpeechAdaptation other)
Parameter | |
---|---|
Name | Description |
other |
SpeechAdaptation |
Properties
AbnfGrammar
public SpeechAdaptation.Types.ABNFGrammar AbnfGrammar { get; set; }
Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar
Property Value | |
---|---|
Type | Description |
SpeechAdaptationTypesABNFGrammar |
CustomClasses
public RepeatedField<CustomClass> CustomClasses { get; }
A collection of custom classes. To specify the classes inline, leave the
class' name
blank and fill in the rest of its fields, giving it a unique
custom_class_id
. Refer to the inline defined class in phrase hints by its
custom_class_id
.
Property Value | |
---|---|
Type | Description |
RepeatedFieldCustomClass |
PhraseSetReferences
public RepeatedField<string> PhraseSetReferences { get; }
A collection of phrase set resource names to use.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
PhraseSetReferencesAsPhraseSetNames
public ResourceNameList<PhraseSetName> PhraseSetReferencesAsPhraseSetNames { get; }
PhraseSetName-typed view over the PhraseSetReferences resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListPhraseSetName |
PhraseSets
public RepeatedField<PhraseSet> PhraseSets { get; }
A collection of phrase sets. To specify the hints inline, leave the
phrase set's name
blank and fill in the rest of its fields. Any
phrase set can use any custom class.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPhraseSet |