Skip to content

arthur-alves/fonetipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FonetiPy

FonetiPy implements the BuscaBR algorithm in Python to match misspelled or ambiguous words at Brazil. It's fully inspired at Ruby Fonetica

Install:

Install via PIP tool:

pip install fonetipy

Usage:

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"

Tests:

Just run:

python fonetipy_test.py

The verbose mode is active by default.

About

A simple implementation of BuscaBr Alghoritm in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages