Cloud Speech-to-Text v2 API - Class SpeechAdaptation (1.0.0-beta07)

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

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SpeechAdaptation.

Provides "hints" to the speech recognizer to favor specific words and phrases in the results. PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.

Inheritance

object > SpeechAdaptation

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

SpeechAdaptation()

public SpeechAdaptation()

SpeechAdaptation(SpeechAdaptation)

public SpeechAdaptation(SpeechAdaptation other)
Parameter
NameDescription
otherSpeechAdaptation

Properties

CustomClasses

public RepeatedField<CustomClass> CustomClasses { get; }

A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.

Property Value
TypeDescription
RepeatedFieldCustomClass

PhraseSets

public RepeatedField<SpeechAdaptation.Types.AdaptationPhraseSet> PhraseSets { get; }

A list of inline or referenced PhraseSets.

Property Value
TypeDescription
RepeatedFieldSpeechAdaptationTypesAdaptationPhraseSet