File tree Expand file tree Collapse file tree
src/java/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 * @author bayard@generationjava.com
5656 * @author Tim O'Brien
5757 * @author Gary Gregory
58- * @version $Id: Soundex.java,v 1.14 2003/12/10 00:04:46 ggregory Exp $
58+ * @version $Id: Soundex.java,v 1.15 2003/12/10 02:51:26 ggregory Exp $
5959 */
6060public class Soundex implements StringEncoder {
6161
@@ -76,10 +76,10 @@ public class Soundex implements StringEncoder {
7676 * Soundex, this return value ranges from 0 through 4: 0 indicates little or
7777 * no similarity, and 4 indicates strong similarity or identical values.
7878 *
79- * @param s1
80- * A String.
81- * @param s2
82- * A String.
79+ * @param s1
80+ * A String that will be encoded and compared .
81+ * @param s2
82+ * A String that will be encoded and compared .
8383 * @return The return value ranges from 0 through 4: 0 indicates little or
8484 * no similarity, and 4 indicates strong similarity or identical
8585 * values.
@@ -102,11 +102,11 @@ public int difference(String s1, String s2) throws EncoderException {
102102 * similarity, and 4 indicates strong similarity or identical values.
103103 *
104104 * @param encoder
105- * The encoder to use to encode the String parameters with .
106- * @param s1
107- * A String.
108- * @param s2
109- * A String.
105+ * The encoder to use to encode the String parameters.
106+ * @param s1
107+ * A String that will be encoded and compared .
108+ * @param s2
109+ * A String that will be encoded and compared .
110110 * @return an integer from 0 to the length of the shorter string. The
111111 * smaller the number, the more different the strings are.
112112 *
You can’t perform that action at this time.
0 commit comments