Fuzzy is a Python library providing fast implementations of phonetic algorithms such as Soundex, NYSIIS, Metaphone, and Double Metaphone. It is currently at version 1.2.2. Its release cadence is generally infrequent, focusing on stability and bug fixes for its core set of algorithms.
pip install fuzzyVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to import the fuzzy library and apply its main phonetic algorithms (Soundex, NYSIIS, Metaphone, Double Metaphone) to a given word, printing the resulting codes.
Always unpack or index the result of `dm_metaphone`, e.g., `code1, code2 = fuzzy.dm_metaphone('example')`.Ensure inputs are cast to strings, e.g., `fuzzy.soundex(str(my_number))` or handle potential `None` values before calling the functions.
No dependency data recorded yet.