Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.26 KB

README.md

File metadata and controls

49 lines (39 loc) · 1.26 KB

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

Citing

@software{aniruddha_adhikary_ani_2021_5091303,
  author       = {Aniruddha Adhikary (Ani) and
                  Mohammad Shiekh Ghazanfar},
  title        = {banglakit/shobdohash: v1.0.4},
  month        = jul,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {v1.0.4},
  doi          = {10.5281/zenodo.5091303},
  url          = {https://doi.org/10.5281/zenodo.5091303}
}