com.groupdocs.search

Class FuzzyAlgorithm

    • Constructor Detail

      • FuzzyAlgorithm

        public FuzzyAlgorithm()
    • Method Detail

      • getSimilarityLevel

        public abstract double getSimilarityLevel(int termLength)

        Gets a similarity level for specified term length.

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

        public abstract int getMaxMistakeCount(int termLength)

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

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