Fork me on GitHub
  • API

    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
    object
    SuggestWord
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Search.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public sealed class SuggestWord

    Constructors

    SuggestWord()

    Creates a new empty suggestion with null text.

    Declaration
    public SuggestWord()

    Properties

    Freq

    The freq of the word

    Declaration
    public int Freq { get; set; }
    Property Value
    Type Description
    int

    Score

    the score of the word

    Declaration
    public float Score { get; set; }
    Property Value
    Type Description
    float

    String

    the suggested word

    Declaration
    public string String { get; set; }
    Property Value
    Type Description
    string
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.