Expand description
Core eSpeak NG phoneme data, embedded at compile time.
Contains the binary phoneme tables, language definitions, and voice definitions shared by all languages:
| File | Description |
|---|---|
phondata | Formant frame sequences and WAV samples |
phonindex | Phoneme bytecode index |
phontab | Phoneme name/attribute table |
intonations | Intonation contour data |
lang/* | Language definition files (145 languages) |
voices/* | Voice definition files (200 voices) |
mbrola_ph/* | MBROLA phoneme mappings |
§Usage
use std::path::Path;
// Install all files into a directory (e.g. a temp dir)
let data_dir = Path::new("/tmp/espeak-data");
std::fs::create_dir_all(data_dir).unwrap();
espeak_ng_data_phonemes::install(data_dir).unwrap();Statics§
- ALL_
FILES - All data files embedded in this crate.
Functions§
- install
- Install all embedded data files into
dest_dir.