com.groupdocs.search.options

Class FuzzyAlgorithm

    • Constructor Detail

      • FuzzyAlgorithm

        public FuzzyAlgorithm()
    • Method Detail

      • getSimilarityLevel

        public abstract double getSimilarityLevel(int termLength)

        Gets the similarity level for the specified term length.

        Parameters:
        termLength - The term length.
        Returns:
        The similarity level.
      • getMaxMistakeCount

        public abstract int getMaxMistakeCount(int termLength)

        Gets the maximum allowed number of mistakes for the specified term length.

        Parameters:
        termLength - The term length.
        Returns:
        The maximum allowed number of mistakes.