com.groupdocs.search

Class SpellingCorrectorParameters



  • public class SpellingCorrectorParameters
    extends Object

    Represents parameters related to spelling corrector.

    • Method Detail

      • getEnabled

        public final boolean getEnabled()

        Gets or sets a value indicating whether spelling corrector is enabled.

        Value: Spelling corrector is enabled.
      • setEnabled

        public final void setEnabled(boolean value)

        Gets or sets a value indicating whether spelling corrector is enabled.

        Value: Spelling corrector is enabled.
      • getMaxMistakeCount_Rename_Namesake

        public final int getMaxMistakeCount_Rename_Namesake()

        Gets or sets maximum mistake count.

        Value: Maximum mistake count.
      • setMaxMistakeCount

        public final void setMaxMistakeCount(int value)

        Gets or sets maximum mistake count.

        Value: Maximum mistake count.
      • getOnlyBestResults

        public final boolean getOnlyBestResults()

        Gets or sets a value indicating that only the best results will be returned.

        Value: true if only the best results will be returned; otherwise false.
      • setOnlyBestResults

        public final void setOnlyBestResults(boolean value)

        Gets or sets a value indicating that only the best results will be returned.

        Value: true if only the best results will be returned; otherwise false.
      • getOnlyBestResultsRange

        public final byte getOnlyBestResultsRange()

        Gets or sets the maximum exceeding of the minimum number of mistakes that are found.

        Value: The maximum exceeding of the minimum number of mistakes found.
      • setOnlyBestResultsRange

        public final void setOnlyBestResultsRange(byte value)

        Gets or sets the maximum exceeding of the minimum number of mistakes that are found.

        Value: The maximum exceeding of the minimum number of mistakes found.
      • getConsiderTranspositions

        public final boolean getConsiderTranspositions()

        Gets or sets a value indicating that the algorithm must consider transposition of two adjacent characters as a single mistake.

        Value: true if algorithm considers transpositions; otherwise false.
      • setConsiderTranspositions

        public final void setConsiderTranspositions(boolean value)

        Gets or sets a value indicating that the algorithm must consider transposition of two adjacent characters as a single mistake.

        Value: true if algorithm considers transpositions; otherwise false.