FSTCompiler.Builder<T> |
FSTCompiler.Builder.allowFixedLengthArcs(boolean allowFixedLengthArcs) |
Pass false to disable the fixed length arc optimization (binary search or direct
addressing) while building the FST; this will make the resulting FST smaller but slower to
traverse.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.bytesPageBits(int bytesPageBits) |
How many bits wide to make each byte[] block in the BytesStore; if you know the FST will be
large then make this larger.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.directAddressingMaxOversizingFactor(float factor) |
Overrides the default the maximum oversizing of fixed array allowed to enable direct
addressing of arcs instead of binary search.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.minSuffixCount1(int minSuffixCount1) |
If pruning the input graph during construction, this threshold is used for telling if a node
is kept or pruned.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.minSuffixCount2(int minSuffixCount2) |
Better pruning: we prune node (and all following nodes) if the prior node has less than this
number of terms go through it.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.shareMaxTailLength(int shareMaxTailLength) |
Only used if shouldShareSuffix is true.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.shouldShareNonSingletonNodes(boolean shouldShareNonSingletonNodes) |
Only used if shouldShareSuffix is true.
|
FSTCompiler.Builder<T> |
FSTCompiler.Builder.shouldShareSuffix(boolean shouldShareSuffix) |
If true , the shared suffixes will be compacted into unique paths.
|