Interface ISimilarityCalculator

  • All Known Implementing Classes:
    LevenshteinDistance

    public interface ISimilarityCalculator
    Interface for similarity calculator. It require to implement more than one token comparison algorithm.
    • Method Detail

      • compute

        int compute​(Token[] source,
                    Token[] target)
        Compute similarity.
        Parameters:
        source - source segment
        target - target segment
        Returns:
        similarity