UNPKG

echogarden

Version:

An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.

6 lines (5 loc) 234 B
import { AlignmentPath } from './SpeechAlignment.js'; export declare function alignDTW<T, U>(sequence1: ArrayLike<T>, sequence2: ArrayLike<U>, costFunction: (a: T, b: U) => number): { path: AlignmentPath; pathCost: number; };