Namespace Lucene.Net.Util.Fst
Misc FST classes.
Classes
ListOfOutputs<T>
Wraps another Outputs implementation and encodes one or
more of its output values. You can use this when a single
input may need to map to more than one output,
maintaining order: pass the same input with a different
output by calling Add(Int32s
The resulting FST may not be minimal when an input has more than one output, as this requires pushing all multi-output values to a final state.
NOTE: the only way to create multiple outputs is to
add the same input to the FST multiple times in a row. This is
how the FST maps a single input to multiple outputs (e.g. you
cannot pass a List<Object> to Add(Int32s
NOTE: this cannot wrap itself (ie you cannot make an FST with List<List<Object>> outputs using this). @lucene.experimental
UpToTwoPositiveInt64Outputs
An FST Outputs<T> implementation where each output
is one or two non-negative long values. If it's a
NOTE: the only way to create a TwoLongs output is to
add the same input to the FST twice in a row. This is
how the FST maps a single input to two outputs (e.g. you
cannot pass a Up
NOTE: the resulting FST is not guaranteed to be minimal! See Builder<T>.
NOTE: This was UpToTwoPositiveIntOutputs in Lucene - the data type (int) was wrong there - it should have been long
UpToTwoPositiveInt64Outputs.TwoInt64s
Holds two long outputs.
NOTE: This was TwoLongs in Lucene