File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525/**
2626 * Encodes a string into a Cologne Phonetic value.
2727 * <p>
28- * Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">Kölner Phonetik</a> (Cologne Phonetic)
29- * algorithm issued by Hans Joachim Postel in 1969.
30- * </p>
31- *
28+ * Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">Kölner Phonetik</a>
29+ * (Cologne Phonetic) algorithm issued by Hans Joachim Postel in 1969.
30+ * <p>
31+ * The <i>Kölner Phonetik</i> is a phonetic algorithm which is optimized for the German language.
32+ * It is related to the well-known soundex algorithm.
3233 * <p>
33- * The <i>Kölner Phonetik</i> is a phonetic algorithm which is optimized for the German language. It is related to the
34- * well-known soundex algorithm.
35- * </p>
3634 *
3735 * <h2>Algorithm</h2>
3836 *
Original file line number Diff line number Diff line change 2525 * <p>
2626 * Initial Java implementation by <CITE>William B. Brogden. December, 1997</CITE>.
2727 * Permission given by <CITE>wbrogden</CITE> for code to be used anywhere.
28- * </p>
2928 * <p>
30- * <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE> in <CITE>Computer Language of Dec. 1990, p
31- * 39.</CITE>
32- * </p>
29+ * <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE> in <CITE>Computer Language of Dec. 1990,
30+ * p 39.</CITE>
3331 * <p>
34- * Note, that this does not match the algorithm that ships with PHP, or the algorithm
35- * found in the Perl <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
32+ * Note, that this does not match the algorithm that ships with PHP, or the algorithm found in the Perl
33+ * <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
3634 * They have had undocumented changes from the originally published algorithm.
3735 * For more information, see <a href="https://issues.apache.org/jira/browse/CODEC-57">CODEC-57</a>.
38- * </p>
39- *
36+ * <p>
4037 * This class is conditionally thread-safe.
4138 * The instance field {@link #maxCodeLen} is mutable {@link #setMaxCodeLen(int)}
4239 * but is not volatile, and accesses are not synchronised.
You can’t perform that action at this time.
0 commit comments