Module rustfst::algorithms::tr_mappers[][src]

Expand description

Module that provides structures implementing the TrMapper trait.

Structs

IdentityTrMapper

Mapper that returns its input.

InputEpsilonMapper

Mapper that converts all input symbols to epsilon.

InvertWeightMapper

Mapper to reciprocate all non-Zero() weights.

OutputEpsilonMapper

Mapper that converts all output symbols to epsilon.

PlusMapper

Mapper to add a constant to all weights.

QuantizeMapper

Mapper to quantize all weights.

RmWeightMapper

Mapper to map all non-Zero() weights to One().

TimesMapper

Mapper to (right) multiply a constant to all weights.