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

CustomPronunciationParams

import type { CustomPronunciationParams } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";

Pronunciation customization for a phrase.

interface CustomPronunciationParams {
phoneticEncoding?: "PHONETIC_ENCODING_UNSPECIFIED" | "PHONETIC_ENCODING_IPA" | "PHONETIC_ENCODING_X_SAMPA";
phrase?: string;
pronunciation?: string;
}

§Properties

§
phoneticEncoding?: "PHONETIC_ENCODING_UNSPECIFIED" | "PHONETIC_ENCODING_IPA" | "PHONETIC_ENCODING_X_SAMPA"
[src]

The phonetic encoding of the phrase.

§
phrase?: string
[src]

The phrase to which the customization will be applied. The phrase can be multiple words (in the case of proper nouns etc), but should not span to a whole sentence.

§
pronunciation?: string
[src]

The pronunciation of the phrase. This must be in the phonetic encoding specified above.