--- /Caverphone.java	2023-07-05 02:24:40.034141862 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Caverphone.java	2023-07-05 02:24:40.034141862 +0200
@@ -83,7 +83,7 @@
         txt = txt.replaceAll("q", "k");
         txt = txt.replaceAll("x", "k");
         txt = txt.replaceAll("v", "f");
-        txt = txt.replaceAll("dg", "2g");
+txt = txt.replaceAll ( "k+", "K" ) ;txt = txt.replaceAll ( "dg", "2g" ) ;
         txt = txt.replaceAll("tio", "sio");
         txt = txt.replaceAll("tia", "sia");
         txt = txt.replaceAll("d", "t");
