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>
29- * (Cologne Phonetic) algorithm issued by Hans Joachim Postel in 1969.
28+ * Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">Kölner Phonetik</a> (Cologne
29+ * Phonetic) algorithm issued by Hans Joachim Postel in 1969.
3030 * </p>
3131 * <p>
32- * The <i>Kölner Phonetik</i> is a phonetic algorithm which is optimized for the German language.
33- * It is related to the well-known soundex algorithm.
32+ * The <i>Kölner Phonetik</i> is a phonetic algorithm which is optimized for the German language. It is related to
33+ * the well-known soundex algorithm.
3434 * </p>
3535 *
3636 * <h2>Algorithm</h2>
4343 * href="http://en.wikipedia.org/wiki/Germanic_umlaut">germanic umlauts</a>, removal of non alphabetical characters) the
4444 * letters of the supplied text are replaced by their phonetic code according to the following table.
4545 * <table border="1">
46- * <caption style="caption-side: bottom"><small><i>(Source: <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik#Buchstabencodes">Wikipedia (de):
47- * K ölner Phonetik -- Buchstabencodes</a>)</i></small></caption>
48- * <tbody>
46+ * <caption style="caption-side: bottom"><small><i>(Source: <a
47+ * href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik#Buchstabencodes">Wikipedia (de): K ölner Phonetik --
48+ * Buchstabencodes</a>)</i></small></caption> <tbody>
4949 * <tr>
5050 * <th>Letter</th>
5151 * <th>Context</th>
151151 *
152152 * <h4>Example:</h4>
153153 *
154- * <code>"M</code>ü<code>ller-L</code>ü<code>denscheidt" => "MULLERLUDENSCHEIDT" => "6005507500206880022"</code>
154+ * <code>"M</code>ü<code>ller-L</code>ü
155+ * <code>denscheidt" => "MULLERLUDENSCHEIDT" => "6005507500206880022"</code>
155156 *
156157 * </li>
157158 *
You can’t perform that action at this time.
0 commit comments