Soundex is phonetic algorithm for indexing names by sound as pronounced in English. LibIndic’s soundex module implements Soundex algorithm for Engish as well as a modified version of soundex algorithm for Indian languages.
Details on how Soundex is implemented can be found at [Santhosh’s blog](http://thottingal.in/blog/2009/07/26/indicsoundex/)
Installation
Python 3 is required. Using with venv is recommended
$ pip install libindic-soundex
Usage
from libindic.soundex import Soundex instance = Soundex() instance.soundex(u"കൃത്രിമം") u'\u0d15PKPBN00' instance.compare(u"വിദ്യാർഥി", u"വിദ്യാർദി") 1 instance.compare(u"മോര്", u"മുതിര") -1 instance.compare(u'ಬೆಂಗಳೂರು', u'बॆंगळूरु') 2
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libindic-soundex-1.0.2.tar.gz
(10.4 kB
view details)
File details
Details for the file libindic-soundex-1.0.2.tar.gz.
File metadata
- Download URL: libindic-soundex-1.0.2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a164434015b601399265428b0c8f9fa5c82ecc82ef12aa754509a6e1f088f563
|
|
| MD5 |
8b093e1939df08de6342b300edeb7ce3
|
|
| BLAKE2b-256 |
49cec3b6b5eff49550d2818858081e2286b677a9148aaa5febc3edf06792a3fc
|