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<Int64>, Boolean)
Declaration
public TokenInfoFST(FST<Int64> fst, bool fasterButMoreRam)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Fst.FST<J2N.Numerics.Int64> | fst | |
System.Boolean | fasterButMoreRam |
Properties
| Improve this Doc View SourceNoOutput
Declaration
public Int64 NoOutput { get; }
Property Value
Type | Description |
---|---|
J2N.Numerics.Int64 |
Methods
| Improve this Doc View SourceFindTargetArc(Int32, FST.Arc<Int64>, FST.Arc<Int64>, Boolean, FST.BytesReader)
Declaration
public FST.Arc<Int64> FindTargetArc(int ch, FST.Arc<Int64> follow, FST.Arc<Int64> arc, bool useCache, FST.BytesReader fstReader)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | ch | |
Lucene.Net.Util.Fst.FST.Arc<J2N.Numerics.Int64> | follow | |
Lucene.Net.Util.Fst.FST.Arc<J2N.Numerics.Int64> | arc | |
System.Boolean | useCache | |
Lucene.Net.Util.Fst.FST.BytesReader | fstReader |
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.Arc<J2N.Numerics.Int64> |
GetBytesReader()
Declaration
public FST.BytesReader GetBytesReader()
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.BytesReader |
GetFirstArc(FST.Arc<Int64>)
Declaration
public FST.Arc<Int64> GetFirstArc(FST.Arc<Int64> arc)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Fst.FST.Arc<J2N.Numerics.Int64> | arc |
Returns
Type | Description |
---|---|
Lucene.Net.Util.Fst.FST.Arc<J2N.Numerics.Int64> |