You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/codec/language/Metaphone.java
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -57,22 +57,22 @@
57
57
publicclassMetaphoneimplementsStringEncoder {
58
58
59
59
/**
60
-
* Five values in the English language
60
+
* Five values in the English language.
61
61
*/
62
62
privatestaticfinalStringVOWELS = "AEIOU";
63
63
64
64
/**
65
-
* Variable used in Metaphone algorithm
65
+
* Variable used in Metaphone algorithm.
66
66
*/
67
67
privatestaticfinalStringFRONTV = "EIY";
68
68
69
69
/**
70
-
* Variable used in Metaphone algorithm
70
+
* Variable used in Metaphone algorithm.
71
71
*/
72
72
privatestaticfinalStringVARSON = "CSPTG";
73
73
74
74
/**
75
-
* The max code length for metaphone is 4
75
+
* The max code length for Metaphone is 4.
76
76
*/
77
77
privateintmaxCodeLen = 4;
78
78
@@ -84,11 +84,11 @@ public Metaphone() {
84
84
}
85
85
86
86
/**
87
-
* Encodes an Object using the metaphone algorithm. This method is provided in order to satisfy the requirements of the Encoder interface, and will throw an
87
+
* Encodes an Object using the Metaphone algorithm. This method is provided in order to satisfy the requirements of the Encoder interface, and will throw an
88
88
* EncoderException if the supplied object is not of type {@link String}.
89
89
*
90
90
* @param obj Object to encode.
91
-
* @return An object (or type {@link String}) containing the metaphone code which corresponds to the String supplied.
91
+
* @return An object (or type {@link String}) containing the Metaphone code which corresponds to the String supplied.
92
92
* @throws EncoderException if the parameter supplied is not of type {@link String}.
0 commit comments