com.groupdocs.search.legacy

Interfaces

Classes

Exceptions

com.groupdocs.search.legacy

Class SimilarityLevel


  • Deprecated. 
    This class is deprecated and will be available until January 2020 (version 20.1).

    @Deprecated
    public class SimilarityLevel
    extends FuzzyAlgorithm

    Represents the similarity level.

    • Constructor Detail

      • SimilarityLevel

        public SimilarityLevel(double value)
        Deprecated. 

        Initializes a new instance of the SimilarityLevel class.

        Parameters:
        value - The similarity level value.
    • Method Detail

      • getSimilarityLevel

        public double getSimilarityLevel(int termLength)
        Deprecated. 

        Gets a similarity level for specified term length.

        Specified by:
        getSimilarityLevel in class FuzzyAlgorithm
        Parameters:
        termLength - The term length.
        Returns:
        A similarity level.
      • getMaxMistakeCount

        public int getMaxMistakeCount(int termLength)
        Deprecated. 

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

        Specified by:
        getMaxMistakeCount in class FuzzyAlgorithm
        Parameters:
        termLength - The term length.
        Returns:
        A maximum allowed number of mistakes.