--- /DoubleMetaphone.java	2023-07-05 02:33:32.642158960 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/DoubleMetaphone.java	2023-07-05 02:33:32.646158961 +0200
@@ -145,8 +145,8 @@
                 break;
             case 'N':
                 result.append('N');
-                index = charAt(value, index + 1) == 'N' ? index + 2 : index + 1;
-                break;
+if  ( charAt ( value, index + 2 )  == 'I' )  { index = charAt ( value, index + 1 )  == 'N' ? index + 2 : index + 1; break; }
+ 
             case '\u00D1':
                 // N with a tilde (spanish ene)
                 result.append('N');
