Example usage for Java org.apache.lucene.util.fst Util fields, constructors, methods, implement or subclass
The text is from its open source code.
T | get(FST Looks up the output for this input, or null if the input is not accepted. |
T | get(FST Looks up the output for this input, or null if the input is not accepted |
IntsRef | getByOutput(FST Reverse lookup (lookup by output instead of by input), in the special case when your FSTs outputs are strictly ascending. |
BytesRef | toBytesRef(IntsRef input, BytesRefBuilder scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte. |
void | toDot(FST Dumps an FST to a GraphViz's dot language description for visualization. |
IntsRef | toIntsRef(BytesRef input, IntsRefBuilder scratch) Just takes unsigned byte values from the BytesRef and converts into an IntsRef. |
IntsRef | toUTF16(CharSequence s, IntsRefBuilder scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef. |
IntsRef | toUTF32(CharSequence s, IntsRefBuilder scratch) Decodes the Unicode codepoints from the provided CharSequence and places them in the provided scratch IntsRef, which must not be null, returning it. |