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

TranscriptNormalization

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

Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.

interface TranscriptNormalization {
entries?: Entry[];
}

§Properties

§
entries?: Entry[]
[src]

A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in ["cat" => "dog", "mountain cat" => "mountain dog"] will never be applied because we will always process the first entry before it. At most 100 entries.