SpeechAdaptation
import type { SpeechAdaptation } from "https://googleapis.deno.dev/v1/speech:v1.ts";
Speech adaptation configuration.
interface SpeechAdaptation {
abnfGrammar?: ABNFGrammar;
customClasses?: CustomClass[];
phraseSetReferences?: string[];
phraseSets?: PhraseSet[];
}§Properties
§
abnfGrammar?: ABNFGrammar
[src]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
§
customClasses?: CustomClass[]
[src]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
.