Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
phraseSetReferences?: string[]
[src]

A collection of phrase set resource names to use.

§
phraseSets?: PhraseSet[]
[src]

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.