Class TokenInfoFST
Thin wrapper around an FST with root-arc caching for Japanese.
Depending upon fasterButMoreRam, either just kana (191 arcs), or kana and han (28,607 arcs) are cached. The latter offers additional performance at the cost of more RAM.
Inheritance
System.Object
TokenInfoFST
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.Analysis.Ja.Dict
Assembly: Lucene.Net.Analysis.Kuromoji.dll
Syntax
public sealed class TokenInfoFST
Constructors
| Improve this Doc View SourceTokenInfoFST(FST<Nullable<Int64>>, Boolean)
Declaration
public TokenInfoFST(FST<long?> fst, bool fasterButMoreRam)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Fst.FST<System.Nullable<System.Int64>> | fst | |
System.Boolean | fasterButMoreRam |
Properties
| Improve this Doc View SourceNoOutput
Declaration
public long? NoOutput { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Methods
| Improve this Doc View SourceFindTargetArc(Int32, FST.Arc<Nullable<Int64>>, FST.Arc<Nullable<Int64>>, Boolean, FST.BytesReader)
Declaration
public FST.Arc<long?> FindTargetArc(int ch, FST.Arc<long?> follow, FST.Arc<long?> arc, bool useCache, FST.BytesReader fstReader)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | ch | |
Lucene.Net.Util.Fst.FST.Arc<System.Nullable<System.Int64>> | follow | |
Lucene.Net.Util.Fst.FST.Arc<System.Nullable<System.Int64>> | arc | |
System.Boolean | useCache | |
Lucene.Net.Util.Fst.FST.BytesReader | fstReader |
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.Arc<System.Nullable<System.Int64>> |
GetBytesReader()
Declaration
public FST.BytesReader GetBytesReader()
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.BytesReader |
GetFirstArc(FST.Arc<Nullable<Int64>>)
Declaration
public FST.Arc<long?> GetFirstArc(FST.Arc<long?> arc)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Fst.FST.Arc<System.Nullable<System.Int64>> | arc |
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.Arc<System.Nullable<System.Int64>> |