Function rustfst::algorithms::minimize_with_config[][src]

pub fn minimize_with_config<W, F>(
    ifst: &mut F,
    config: MinimizeConfig
) -> Result<()> where
    F: MutableFst<W> + ExpandedFst<W> + AllocableFst<W>,
    W: WeaklyDivisibleSemiring + WeightQuantize,
    W::ReverseWeight: WeightQuantize
Expand description

In place minimization of deterministic weighted automata and transducers, and also non-deterministic ones if they use an idempotent semiring. For transducers, the algorithm produces a compact factorization of the minimal transducer.