You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/09/03 20:53:34 UTC
svn commit: r1380309 -
/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java
Author: tn
Date: Mon Sep 3 18:53:34 2012
New Revision: 1380309
URL: http://svn.apache.org/viewvc?rev=1380309&view=rev
Log:
Make use of paragraph tags consistent with rest of codec.
Modified:
commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java
Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java?rev=1380309&r1=1380308&r2=1380309&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Nysiis.java Mon Sep 3 18:53:34 2012
@@ -25,12 +25,10 @@ import org.apache.commons.codec.StringEn
/**
* Encodes a string into a NYSIIS value. NYSIIS is an encoding used to relate similar names, but can also be used as a
* general purpose scheme to find word with similar phonemes.
- *
* <p>
* NYSIIS features an accuracy increase of 2.7% over the traditional Soundex algorithm.
- * </p>
- *
- * <p>Algorithm description:
+ * <p>
+ * Algorithm description:
* <pre>
* 1. Transcode first characters of name
* 1a. MAC -> MCC
@@ -59,9 +57,9 @@ import org.apache.commons.codec.StringEn
* 7. If last character is A, remove it
* 8. Collapse all strings of repeated characters
* 9. Add original first character of name as first character of key
- * </pre></p>
- *
- * <p>This class is immutable and thread-safe.</p>
+ * </pre>
+ * <p>
+ * This class is immutable and thread-safe.
*
* @see <a href="http://en.wikipedia.org/wiki/NYSIIS">NYSIIS on Wikipedia</a>
* @see <a href="http://www.dropby.com/NYSIIS.html">NYSIIS on dropby.com</a>