Skip to content

BNTRANSLIT V2.0.0

Latest
Compare
Choose a tag to compare
@sagorbrur sagorbrur released this 29 Apr 12:01
· 4 commits to master since this release

BNTRANSLIT

A Deep learning-based transliteration app for Bangla word

How to use

  • Install by pip install bntranslit
  • download pre-trained model from here
  • run following API code
    from bntranslit import BNTransliteration
    
    model_path = "bntranslit_model.pth"
    bntrans = BNTransliteration(model_path)
    word = "aami"
    output = bntrans.predict(word, topk=10)
    # output: ['আমি', 'আমী', 'অ্যামি', 'আমিই', 'এমি', 'আমির', 'আমিদ', 'আমই', 'আমে', 'আমিতে']