Show / Hide Table of Contents

    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 Source

    SuggestWord()

    Creates a new empty suggestion with null text.

    Declaration
    public SuggestWord()

    Properties

    | Improve this Doc View Source

    Freq

    The freq of the word

    Declaration
    public int Freq { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Score

    the score of the word

    Declaration
    public float Score { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    String

    the suggested word

    Declaration
    public string String { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)