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.
Implements
IMessageSpeechAdaptation, IEquatableSpeechAdaptation, IDeepCloneableSpeechAdaptation, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
SpeechAdaptation()
public SpeechAdaptation()
SpeechAdaptation(SpeechAdaptation)
public SpeechAdaptation(SpeechAdaptation other)
Parameter | |
---|---|
Name | Description |
other |
SpeechAdaptation |
Properties
CustomClasses
public RepeatedField<CustomClass> CustomClasses { get; }
A list of inline CustomClasses. Existing CustomClass resources can be referenced directly in a PhraseSet.
Property Value | |
---|---|
Type | Description |
RepeatedFieldCustomClass |
PhraseSets
public RepeatedField<SpeechAdaptation.Types.AdaptationPhraseSet> PhraseSets { get; }
A list of inline or referenced PhraseSets.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSpeechAdaptationTypesAdaptationPhraseSet |