Skip to content

Bengali Soundex (Phonetic Similarity Algorithm) Implementation

License

Notifications You must be signed in to change notification settings

banglakit/shobdohash

Repository files navigation

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}
}

About

Bengali Soundex (Phonetic Similarity Algorithm) Implementation

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages