Skip to content

Commit 7b9ece2

Browse files
committed
Merge branch 'master' of github.com:tdebatty/java-string-similarity
2 parents f6dfc4f + 268fd4e commit 7b9ece2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,13 @@ Distance is computed as 1 - cosine similarity.
437437
### Jaccard index
438438
Like Q-Gram distance, the input strings are first converted into sets of n-grams (sequences of n characters, also called k-shingles), but this time the cardinality of each n-gram is not taken into account. Each input string is simply a set of n-grams. The Jaccard index is then computed as |V1 inter V2| / |V1 union V2|.
439439

440-
Distance is computed as 1 - cosine similarity.
440+
Distance is computed as 1 - similarity.
441441
Jaccard index is a metric distance.
442442

443443
### Sorensen-Dice coefficient
444444
Similar to Jaccard index, but this time the similarity is computed as 2 * |V1 inter V2| / (|V1| + |V2|).
445445

446-
Distance is computed as 1 - cosine similarity.
446+
Distance is computed as 1 - similarity.
447447

448448
## Experimental
449449

0 commit comments

Comments
 (0)