public class JaccardOnNGramsSimilarity extends SimilarityMeasure<String>
| Constructor and Description | 
|---|
JaccardOnNGramsSimilarity(int n)  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
calculate(String first,
         String second)
Calculates the similarity of first and second 
 | 
public double calculate(String first, String second)
SimilarityMeasurecalculate in class SimilarityMeasure<String>first - the first record (must not be null)second - the second record (must not be null)Copyright © 2018. All rights reserved.