secure_inner_join.phonem module¶
Implementation of phonem
Based on: Wilde, Georg ; Meyer, Carsten: Doppelgänger gesucht - Ein Programm fur kontext-sensitive phonetische Textumwandlung. In: ct Magazin fur Computer & Technik 25 (1988)
Inspired by Talisman’s implementation: https://raw.githubusercontent.com/Yomguithereal/talisman/4c8ac7fd9/src/phonetics/german/phonem.js
- secure_inner_join.phonem.phonem_encode(string)[source]¶
Implements the phonem phonetic algorithm suitable for Germanic names.
Based on: Wilde, Georg ; Meyer, Carsten: Doppelgänger gesucht - Ein Programm fur kontext-sensitive phonetische Textumwandlung. In: ct Magazin fur Computer & Technik 25 (1988)
Inspired by Talisman’s implementation: https://raw.githubusercontent.com/Yomguithereal/talisman/4c8ac7fd9/src/phonetics/german/phonem.js
Spaces and dashes (’ ‘, ‘-‘), are considered as word/name separators.
- Parameters:
string (
str
) – string to encode- Return type:
str
- Returns:
encoded string