Crate arpabet_types

Crate arpabet_types 

Source
Expand description

This crate contains the core types for the arpabet crate. This crate is split into sub-crates to aid in compile-time loading of the CMUdict.

You shouldn’t need to import this crate directly. The arpabet crate includes this transitively.

Re-exports§

pub use constants::*;
pub use error::*;
pub use extensions::*;
pub use phoneme::*;

Modules§

constants
This module contains constant lists and maps of phonemes in given classes.
error
Crate errors.
extensions
This module contains a few non-standard tokens and mappings that are not declared in CMUDict.
phoneme
This module defines the various phonemes in the ARPABET.

Structs§

Arpabet
A dictionary that contains mappings of words to polyphones.

Type Aliases§

Polyphone
A polyphone is several phonemes read in order, typically as a single word.
Word
A word is a simple string containing no space characters.