Google Cloud Speech v1 API - Class SpeechAdaptation (3.6.0)

public sealed class SpeechAdaptation : IMessage<SpeechAdaptation>, IEquatable<SpeechAdaptation>, IDeepCloneable<SpeechAdaptation>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Speech v1 API class SpeechAdaptation.

Speech adaptation configuration.

Inheritance

object > SpeechAdaptation

Namespace

Google.Cloud.Speech.V1

Assembly

Google.Cloud.Speech.V1.dll

Constructors

SpeechAdaptation()

public SpeechAdaptation()

SpeechAdaptation(SpeechAdaptation)

public SpeechAdaptation(SpeechAdaptation other)
Parameter
NameDescription
otherSpeechAdaptation

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
TypeDescription
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
TypeDescription
RepeatedFieldCustomClass

PhraseSetReferences

public RepeatedField<string> PhraseSetReferences { get; }

A collection of phrase set resource names to use.

Property Value
TypeDescription
RepeatedFieldstring

PhraseSetReferencesAsPhraseSetNames

public ResourceNameList<PhraseSetName> PhraseSetReferencesAsPhraseSetNames { get; }

PhraseSetName-typed view over the PhraseSetReferences resource name property.

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldPhraseSet