@@ -137,29 +137,29 @@ public void testDropBy2() throws EncoderException {
137137 // Algorithm (taken from www.dropby.com/NYSIIS.html):
138138 //
139139 // 1. Transcode first characters of name:
140- // MAC » MCC
141- // KN » NN
142- // K » C
143- // PH » FF
144- // PF » FF
145- // SCH » SSS
140+ // MAC > MCC
141+ // KN > NN
142+ // K > C
143+ // PH > FF
144+ // PF > FF
145+ // SCH > SSS
146146 //
147147 // 2. Transcode last characters of name:
148- // EE, IE » Y
149- // DT,RT,RD,NT,ND » D
148+ // EE, IE > Y
149+ // DT,RT,RD,NT,ND > D
150150 //
151151 // 3. First character of key = first character of name.
152152 //
153153 // 4. Transcode remaining characters by following these rules, incrementing by one character each time:
154- // 4a. EV » AF else A,E,I,O,U » A
155- // 4b. Q » G
156- // 4c. Z » S
157- // 4d. M » N
158- // 4e. KN » N else K » C
159- // 4f. SCH » SSS
160- // 4g. PH » FF
161- // 4h. H » If previous or next is nonvowel, previous
162- // 4i. W » If previous is vowel, previous
154+ // 4a. EV > AF else A,E,I,O,U > A
155+ // 4b. Q > G
156+ // 4c. Z > S
157+ // 4d. M > N
158+ // 4e. KN > N else K > C
159+ // 4f. SCH > SSS
160+ // 4g. PH > FF
161+ // 4h. H > If previous or next is nonvowel, previous
162+ // 4i. W > If previous is vowel, previous
163163 // 4j. Add current to key if current != last key character
164164 //
165165 // 5. If last character is S, remove it
@@ -186,7 +186,7 @@ public void testDropBy2() throws EncoderException {
186186 new String [] { "PHILLIPSON" , "FALAPSAN" }, // Original: FFALAP[SAN]
187187 // violates 4j: see also KNUTH
188188 new String [] { "PFEISTER" , "FASTAR" }, // Original: FFASTA[R]
189- // violoates 4j: see also KNUTH
189+ // violates 4j: see also KNUTH
190190 new String [] { "SCHOENHOEFT" , "SANAFT" }, // Original: SSANAF[T]
191191 // http://www.dropby.com/indexLF.html?content=/NYSIIS.html
192192 // 2.Transcode last characters of name:
@@ -213,7 +213,7 @@ public void testDropBy2() throws EncoderException {
213213 // violates 4h: the H should be transcoded to S and thus ignored as
214214 // the first key character is also S
215215 new String [] { "SHRIVER" , "SRAVAR" }, // Original: SHRAVA[R]
216- // same as KOEHN, the L gets mysteriously lost, the correct one
216+ // same as KOEHN, the L gets mysteriously lost
217217 new String [] { "KUHL" , "CAL" }, // Original: C
218218 new String [] { "RAWSON" , "RASAN" },
219219 // If last character is S, remove it
0 commit comments