The Cologne phonetic procedure (Koelner Phonetik) is the German-language
counterpart to Soundex. It maps text to a digit string by German
pronunciation rules, so variants like "Meier", "Maier", and "Mayer"
share one key. Reach for this over as_soundex() or as_metaphone() when the
data is German.
Details
Returns text, so it slots ahead of a token generator, or use it directly on a one-word column. Like any phonetic key it favours recall over precision; pair it with a sharper field rather than matching on the key alone.
See also
Other phonetic encoders:
as_metaphone(),
as_soundex()
Examples
as_cologne(c("Meier", "Maier", "Mayer")) # same key
#> [1] "67" "67" "67"
