arpabet-and-ipa-convertor-ts
Version:
Typescript code to convert between Arpabet and IPA phonetic transcriptions
15 lines (14 loc) • 510 B
TypeScript
import { Phoneme } from './phoneme';
import { Stress } from './stress';
export declare class Syllable {
stress: Stress | null;
private _haveVowel;
private phonemes;
get haveVowel(): boolean;
isEmpty(): boolean;
addPhoneme(phoneme: Phoneme): void;
toArpabet(): string;
toAmericanPhoneticAlphabet(hideStressMark?: boolean): string | undefined;
toEnglishPhoneticAlphabet(hideStressMark?: boolean): string | undefined;
toIPA(hideStressMark?: boolean): string | undefined;
}