|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FST | |
---|---|
org.apache.lucene.util.fst | Finite state transducers |
Uses of FST in org.apache.lucene.util.fst |
---|
Methods in org.apache.lucene.util.fst that return FST | ||
---|---|---|
FST<T> |
Builder.finish()
Returns final FST. |
|
FST<T> |
FST.pack(int minInCountDeref,
int maxDerefNodes,
float acceptableOverheadRatio)
Expert: creates an FST by packing this one. |
|
static
|
FST.read(File file,
Outputs<T> outputs)
Reads an automaton from a file. |
Methods in org.apache.lucene.util.fst with parameters of type FST | ||
---|---|---|
static
|
Util.get(FST<T> fst,
BytesRef input)
Looks up the output for this input, or null if the input is not accepted |
|
static
|
Util.get(FST<T> fst,
IntsRef input)
Looks up the output for this input, or null if the input is not accepted. |
|
static IntsRef |
Util.getByOutput(FST<Long> fst,
long targetOutput)
Reverse lookup (lookup by output instead of by input), in the special case when your FSTs outputs are strictly ascending. |
|
static
|
Util.shortestPaths(FST<T> fst,
FST.Arc<T> fromNode,
Comparator<T> comparator,
int topN)
Starting from node, find the top N min cost completions to a final node. |
|
static
|
Util.toDot(FST<T> fst,
Writer out,
boolean sameRank,
boolean labelStates)
Dumps an FST to a GraphViz's dot language description
for visualization. |
Constructors in org.apache.lucene.util.fst with parameters of type FST | |
---|---|
BytesRefFSTEnum(FST<T> fst)
doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target. |
|
IntsRefFSTEnum(FST<T> fst)
doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |