edu.northwestern.at.morphadorner.corpuslinguistics.stringsimilarity

## Interface StringSimilarity

- All Known Implementing Classes:
    JaroWinkler, LCS, LetterEquivalence, LetterPairSimilarity, LevensteinDistance

      public interface StringSimilarity

  Interface defining a method for computing string similarity.

  The similarity values computed by concrete implementations of this interface must take on values from 0.0 (no similarity) to 1.0 (perfect similarity).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `similarity(java.lang.String s1, java.lang.String s2)` Compute similarity between two strings.

- - ### Method Detail

    - #### similarity

          double similarity(java.lang.String s1,
                          java.lang.String s2)

      Compute similarity between two strings.
      Parameters:
        `s1` - First string.
        `s2` - Second string.
      Returns:
        Similarity as a value from 0.0 (no similarity) to 1.0 (perfect similarity).