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 NYSIIS value. NYSIIS is an encoding used to relate similar names, but can also be used as a
2727 * general purpose scheme to find word with similar phonemes.
28- *
2928 * <p>
3029 * NYSIIS features an accuracy increase of 2.7% over the traditional Soundex algorithm.
31- * </p>
32- *
33- * <p>Algorithm description:
30+ * <p>
31+ * Algorithm description:
3432 * <pre>
3533 * 1. Transcode first characters of name
3634 * 1a. MAC -> MCC
5957 * 7. If last character is A, remove it
6058 * 8. Collapse all strings of repeated characters
6159 * 9. Add original first character of name as first character of key
62- * </pre></p>
63- *
64- * <p> This class is immutable and thread-safe.</p>
60+ * </pre>
61+ * <p>
62+ * This class is immutable and thread-safe.
6563 *
6664 * @see <a href="http://en.wikipedia.org/wiki/NYSIIS">NYSIIS on Wikipedia</a>
6765 * @see <a href="http://www.dropby.com/NYSIIS.html">NYSIIS on dropby.com</a>
You can’t perform that action at this time.
0 commit comments