Class Suggestion

java.lang.Object
org.apache.lucene.analysis.hunspell.Suggestion

public class Suggestion extends Object
A spelling suggestion with its raw and final output forms.
  • Method Details

    • getRaw

      public String getRaw()
      Returns:
      the raw suggestion before output conversion and case adjustment
    • getResult

      public List<String> getResult()
      Returns:
      the final spell-check suggestions produced from this raw suggestion
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object