|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
double |
similarity(java.lang.String s1,
java.lang.String s2)
Compute similarity between two strings. |
Method Detail |
---|
double similarity(java.lang.String s1, java.lang.String s2)
s1
- First string.s2
- Second string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |