StructsΒ§
- Node
- Node represents a single state in a finite state transducer.
- Pack
Sizes π - State
AnyTrans π - State
OneTrans π - State
OneTrans πNext - Transitions
- An iterator over all transitions in a node.
EnumsΒ§
- State π
ConstantsΒ§
- TRANS_
INDEX_ πTHRESHOLD - The threshold (in number of transitions) at which an index is created for a nodeβs transitions. This speeds up lookup time at the expense of FST size.
FunctionsΒ§
- common_
idx π - common_idx translate a byte to an index in the COMMON_INPUTS_INV array.
- common_
input π - common_input translates a common input index stored in a serialized FST to the corresponding byte.
- pack_
delta π - pack_
delta_ πin - pack_
delta_ πsize - unpack_
delta π