incorporating comment from chtompki
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/1cf32287 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/1cf32287 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/1cf32287 Branch: refs/heads/master Commit: 1cf32287b072227dffdc67ceb6a832358851f104 Parents: a6a6a27 Author: drajakumar <drajaku...@paypal.com> Authored: Tue Nov 29 18:21:16 2016 +0530 Committer: drajakumar <drajaku...@paypal.com> Committed: Tue Nov 29 18:21:16 2016 +0530 ---------------------------------------------------------------------- pom.xml | 5 +++++ src/changes/changes.xml | 1 + .../org/apache/commons/text/similarity/JaccardSimilarity.java | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/1cf32287/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0c3a10a..02a0630 100644 --- a/pom.xml +++ b/pom.xml @@ -68,6 +68,11 @@ <id>ggregory</id> <email>ggreg...@apache.org</email> </developer> + <developer> + <name>Don Jeba</name> + <id>drajakumar</id> + <email>donj...@yahoo.com</email> + </developer> </developers> <contributors> http://git-wip-us.apache.org/repos/asf/commons-text/blob/1cf32287/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e60b364..722aae4 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -22,6 +22,7 @@ <body> <release version="1.0" date="tba" description="tba"> + <action issue="TEXT-2" type="add" dev="chtompki" due-to="Don Jeba">Add Jaccard Index and Jaccard Distance</action> <action issue="TEXT-23" type="add" dev="chtompki">Moving from commons-lang, the package org.apache.commons.lang3.text</action> <action issue="TEXT-10" type="add" dev="kinow" due-to="Don Jeba">A more complex Levenshtein distance</action> <action issue="TEXT-24" type="add" dev="chtompki">Add coveralls and Travis.ci integration</action> http://git-wip-us.apache.org/repos/asf/commons-text/blob/1cf32287/src/main/java/org/apache/commons/text/similarity/JaccardSimilarity.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/text/similarity/JaccardSimilarity.java b/src/main/java/org/apache/commons/text/similarity/JaccardSimilarity.java index 6c78bad..a87f478 100644 --- a/src/main/java/org/apache/commons/text/similarity/JaccardSimilarity.java +++ b/src/main/java/org/apache/commons/text/similarity/JaccardSimilarity.java @@ -50,7 +50,7 @@ public class JaccardSimilarity implements EditDistance<Double> { } /** - * Calculates Jaccard Similarity of two set character sequence passed as + * Calculates Jaccard Similarity of two character sequences passed as * input. Does the calculation by identifying the union (characters in at * least one of the two sets) of the two sets and intersection (characters * which are present in set one which are present in set two)