lling-llang 0.1.0

WFST framework for text normalization and grammar correction
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Layers that rescore lattice edges (rather than filter them).

#[cfg(feature = "lm-rerank")]
pub mod lm_rerank;
#[cfg(feature = "lm-rerank")]
pub use lm_rerank::{LanguageModel, LanguageModelLayer};

#[cfg(feature = "phonetic-rescore")]
pub mod phonetic_rescore;
#[cfg(feature = "phonetic-rescore")]
pub use phonetic_rescore::{
    PhoneticReference, PhoneticRescoreLayer, SequenceReference, VocabularyReference,
    DEFAULT_PHONETIC_FUEL, DEFAULT_PHONETIC_WEIGHT,
};