Crate arpabet[−][src]
Arpabet (A1 R P AH0 B EH2 T), a library for speech synthesis that leverages Carnegie Mellon University's CMUdict. This is a simple library to enable the building of concatenative speech synthesis engines.
Usage:
extern crate arpabet; use arpabet::Arpabet; let arpabet = Arpabet::load_cmudict(); assert_eq!(arpabet.get_polyphone_ref("test"), Some(&vec!["T".into(), "EH1".into(), "S".into(), "T".into()]));
Structs
Arpabet |
A dictionary that contains mappings of words to polyphones. |
Enums
ArpabetError |
Errors for the Arpabet crate. |
Type Definitions
Phoneme |
A phoneme is a simple string containing no space characters. |
Polyphone |
A polyphone is several phonemes read in order. |
Word |
A word is a simple string containing no space characters. |