Class DirectSpellChecker.ScoreTerm
Inheritance
System.Object
DirectSpellChecker.ScoreTerm
Assembly: Lucene.Net.Suggest.dll
Syntax
protected class ScoreTerm : IComparable<DirectSpellChecker.ScoreTerm>
Constructors
|
Improve this Doc
View Source
ScoreTerm()
Declaration
Properties
|
Improve this Doc
View Source
Boost
The boost representing the similarity from the FuzzyTermsEnum (internal similarity score)
Declaration
public float Boost { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Docfreq
The df of the spellcheck correction.
Declaration
public int Docfreq { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Score
Declaration
public float Score { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Term
The actual spellcheck correction.
Declaration
public BytesRef Term { get; set; }
Property Value
Type |
Description |
BytesRef |
|
|
Improve this Doc
View Source
TermAsString
The spellcheck correction represented as string, can be
null
.
Declaration
public string TermAsString { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CompareTo(DirectSpellChecker.ScoreTerm)
Declaration
public virtual int CompareTo(DirectSpellChecker.ScoreTerm other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|