Class FST<T>
Represents an finite state machine (FST), using a compact byte[] format.
The format is similar to what's used by Morfologik (http://sourceforge.net/projects/morfologik).
See the FST package documentation for some simple examples.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class FST<T> : object
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
FST(DataInput, Outputs<T>) | Load a previously saved FST. |
FST(DataInput, Outputs<T>, Int32) | Load a previously saved FST; |
Properties
Name | Description |
---|---|
ArcCount | |
ArcWithOutputCount | |
EmptyOutput | |
InputType | |
NodeCount | |
Outputs |
Methods
Name | Description |
---|---|
FindTargetArc(Int32, FST.Arc<T>, FST.Arc<T>, FST.BytesReader) | Finds an arc leaving the incoming |
GetBytesReader() | Returns a FST.BytesReader for this FST, positioned at position 0. |
GetFirstArc(FST.Arc<T>) | Fills virtual 'start' arc, ie, an empty incoming arc to the FST's start node |
GetSizeInBytes() | Returns bytes used to represent the FST |
ReadFirstRealTargetArc(Int64, FST.Arc<T>, FST.BytesReader) | |
ReadFirstTargetArc(FST.Arc<T>, FST.Arc<T>, FST.BytesReader) | Follow the |
ReadLastTargetArc(FST.Arc<T>, FST.Arc<T>, FST.BytesReader) | Follows the |
ReadNextArc(FST.Arc<T>, FST.BytesReader) | In-place read; returns the arc. |
ReadNextArcLabel(FST.Arc<T>, FST.BytesReader) | Peeks at next arc's label; does not alter |
ReadNextRealArc(FST.Arc<T>, FST.BytesReader) | Never returns |
ReadRootArcs(FST.Arc<T>[]) | |
Save(FileInfo) | Writes an automaton to a file. |
Save(DataOutput) | |
TargetHasArcs(FST.Arc<T>) | returns |