FonetiPy implements the BuscaBR algorithm in Python to match misspelled or ambiguous words at Brazil. It's fully inspired at Ruby Fonetica
Install via PIP tool:
pip install fonetipy
A simple usage is:
from fonetipy import FonetiPy
search = FonetiPy()
search('wagner batista') # show "VM BT"
search('vagner baptista') # show "VM BT"
You can also use a shortcut fonetipy
from fonetipy import fonetipy
fonetipy('Wagner batista') # show "VM BT"
fonetipy('Vagner baptista') # show "VM BT"
Just run:
python fonetipy_test.py
The verbose mode is active by default.