Class SuggestWord
SuggestWord, used in suggestSimilar method in SpellChecker class.
Default sort is first by score, then by frequency.
Inheritance
System.Object
SuggestWord
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.Search.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public sealed class SuggestWord
Constructors
| Improve this Doc View SourceSuggestWord()
Creates a new empty suggestion with null text.
Declaration
public SuggestWord()
Properties
| Improve this Doc View SourceFreq
The freq of the word
Declaration
public int Freq { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Score
the score of the word
Declaration
public float Score { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
String
the suggested word
Declaration
public string String { get; set; }
Property Value
Type | Description |
---|---|
System.String |