flib.base.phonetic module

Phonetic Algorithms.

soundex(string: str) → str

Calculate Soundex Index.

Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones to be encoded to the same representation so that they can be matched despite minor differences in spelling.