Skip to content
forked from libindic/soundex

Soundex Phonetic Code Algorithm Demo for Indian Languages. Supports all indian languages and English. Provides intra-indic string comparison

License

Notifications You must be signed in to change notification settings

jsirois/soundex

This branch is up to date with libindic/soundex:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5d41126 · Feb 9, 2019

History

76 Commits
Feb 9, 2019
Feb 9, 2019
Sep 4, 2017
Sep 4, 2017
Feb 9, 2019
Apr 11, 2012
Sep 4, 2017
Feb 9, 2019
Sep 4, 2017
Feb 9, 2019
Feb 9, 2019
Feb 9, 2019
Sep 4, 2017

Repository files navigation

LibIndic Soundex

PyPI Version

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

About

Soundex Phonetic Code Algorithm Demo for Indian Languages. Supports all indian languages and English. Provides intra-indic string comparison

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 52.8%
  • HTML 45.1%
  • Makefile 2.1%