Skip to main content

Crate espeak_ng_data_dicts

Crate espeak_ng_data_dicts 

Source
Expand description

Language dictionaries for eSpeak NG (all languages except Russian), embedded at compile time.

Contains 113 compiled language dictionaries for eSpeak NG 1.52.0: Afrikaans, Amharic, Arabic, Basque, Bengali, Bulgarian, Cantonese, Catalan, Chinese (Mandarin), Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Finnish, French, Galician, German, Greek, … and many more.

The Russian dictionary is published separately as espeak-ng-data-dict-ru because of its size (~8 MB).

§Usage

use std::path::Path;

let data_dir = Path::new("/tmp/espeak-data");
espeak_ng_data_dicts::install(data_dir).unwrap();

Statics§

ALL_FILES
All data files embedded in this crate.

Functions§

install
Install all embedded language dictionaries into dest_dir.