Class FST
LUCENENET specific: This new base class is to mimic Java's ability to use nested types without specifying a type parameter. i.e. FST.BytesReader instead of FST<BytesRef>.BytesReader
Inheritance
System.Object
FST
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util.Fst
Assembly: Lucene.Net.dll
Syntax
public sealed class FST
Constructors
| Improve this Doc View SourceFST()
Declaration
public FST()
Fields
| Improve this Doc View SourceDEFAULT_MAX_BLOCK_BITS
Declaration
public static readonly int DEFAULT_MAX_BLOCK_BITS
Field Value
Type | Description |
---|---|
System.Int32 |
END_LABEL
If arc has this label then that arc is final/accepted
Declaration
public static readonly int END_LABEL
Field Value
Type | Description |
---|---|
System.Int32 |
FIXED_ARRAY_NUM_ARCS_DEEP
Declaration
public const int FIXED_ARRAY_NUM_ARCS_DEEP = 10
Field Value
Type | Description |
---|---|
System.Int32 |
FIXED_ARRAY_NUM_ARCS_SHALLOW
Declaration
public const int FIXED_ARRAY_NUM_ARCS_SHALLOW = 5
Field Value
Type | Description |
---|---|
System.Int32 |
FIXED_ARRAY_SHALLOW_DISTANCE
Declaration
public const int FIXED_ARRAY_SHALLOW_DISTANCE = 3
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceRead<T>(FileInfo, Outputs<T>)
Reads an automaton from a file.
Declaration
public static FST<T> Read<T>(FileInfo file, Outputs<T> outputs)
Parameters
Type | Name | Description |
---|---|---|
System.IO.FileInfo | file | |
Outputs<T> | outputs |
Returns
Type | Description |
---|---|
FST<T> |
Type Parameters
Name | Description |
---|---|
T |
TargetHasArcs<T>(FST.Arc<T>)
returns true
if the node at this address has any
outgoing arcs
Declaration
public static bool TargetHasArcs<T>(FST.Arc<T> arc)
Parameters
Type | Name | Description |
---|---|---|
FST.Arc<T> | arc |
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
T |