Trait rustfst::algorithms::tr_filters::TrFilter[][src]

pub trait TrFilter<S: Semiring>: Clone + Debug + PartialEq {
    fn keep(&self, tr: &Tr<S>) -> bool;
}
Expand description

Base trait to restrict which trs are traversed in an FST.

Required methods

If true, Tr should be kept, else Tr should be ignored.

Implementors