phonetisch
Phonetic algorithms library in python focusing of multiple languages.
Key features
- Implementation of Soundex and Caverphone.
- Simple to use.
- Support multiple languages.
- Supports Python 3.4+.
Installation
Use pip to install the lastest version:
pip install phonetisch
Usage Examples
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"))
Reference
https://en.wikipedia.org/wiki/Soundex
Links
License
MIT License
Contributers
- Muhammad Ahsan @muhammad-ahsan
- Dounia Sediame @sediame