echogarden
Version:
An easy-to-use speech toolset. Includes tools for synthesis, recognition, alignment, speech translation, language detection, source separation and more.
9 lines (8 loc) • 559 B
TypeScript
export declare function getNormalizedFragmentsForSpeech(words: string[], nonWhitespaceWords: string[], nonWhitespaceWordOriginalIndex: number[], language: string): {
normalizedFragments: string[];
referenceFragments: string[];
};
export declare function normalizeFourDigitYearString(yearString: string): string;
export declare function normalizeFourDigitDecadeString(decadeString: string): string;
export declare function simplifyPunctuationCharacters(text: string): string;
export declare const punctuationSubstitutionLookup: Record<string, string>;