omar16100 / shobdohash

Bengali Soundex (Phonetic Similarity Algorithm) Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shobdohash - Bengali Soundex Implementation

Shobdohash is a Bengali Soundex Implementation to phonetically hash and compare similar words. Implemented from the algorithm described by Naushad UzZaman and Mumit Khan in A Bangla Phonetic Encoding for Better Spelling Suggestions.

Installation

Stable Version

$ python -m pip install shobdohash

Development Version

$ python -m pip install -e 'git+https://github.com:banglakit/shobdohash.git#egg=shobdohash'

Usage

from shobdohash import ShobdoHash

s = ShobdoHash()
s('আমি')

s('বাংলা') == s('বাঙলা')

Running Tests

$ pip install -r requirements-test.txt
$ pytest

About

Bengali Soundex (Phonetic Similarity Algorithm) Implementation

License:MIT License


Languages

Language:Python 100.0%