Phonetic algorithms library in Python focusing of multiple languages.
- Implementation of Soundex and Caverphone.
- Simple to use.
- Support multiple languages.
- Supports Python 3.4+.
Use pip to install the latest version:
pip install phonetisch
from phonetisch import soundex, caverphone
first_code = soundex.encode_word('Example')
second_code = soundex.encode_word('Ekzampul')
if first_code == second_code:
print('Both words are homophones')
print(caverphone.encode_word("Thompson"))
- https://en.wikipedia.org/wiki/Phonetic_algorithm
- https://en.wikipedia.org/wiki/Soundex
- https://en.wikipedia.org/wiki/Caverphone
MIT License
- Muhammad Ahsan @muhammad-ahsan
- Dounia Sediame @sediame