<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
Step1:  Using Indic NLP Library
https
Step2:  Transliteration
Step3:  Using Silpa
https
Step4:  Using BengaliStemmer
https
Step5:  Using BanglaStemmer
https
Step6:  Using Avro
https
<ASSISTANT_TASK:>
Python Code:
from indicnlp.morph import unsupervised_morph 
morph = unsupervised_morph.UnsupervisedMorphAnalyzer("bn")
text = u\
করা করেছিলাম করেছি করতে করেছিল হয়েছে হয়েছিল হয় হওয়ার হবে আবিষ্কৃত আবিষ্কার অভিষিক্ত অভিষেক অভিষেকের আমি আমার আমাদের তুমি তোমার তোমাদের বসা বসেছিল বসে বসি বসেছিলাম বস বসার\
word_token = text.split(" ")
word_morph = []
for i in word_token:
    word_morph.append(morph.morph_analyze(i))
import pandas as pd
indic = pd.DataFrame({"1_Word": word_token, "2_Morpheme": word_morph})
indic
Explanation: Using Indic NLP Library
https://github.com/anoopkunchukuttan/indic_nlp_library
Morphological Analysis
End of explanation
from indicnlp.transliterate.unicode_transliterate import ItransTransliterator
bangla_text = "ami apni tumi tomar tomader amar apnar apnader akash"
text_trans = ItransTransliterator.from_itrans(bangla_text, "bn")
print repr(text_trans).decode("unicode_escape")
Explanation: Transliteration
End of explanation
from transliteration import getInstance 
trans = getInstance()
text_trans = trans.transliterate(bangla_text, "bn_IN")
print repr(text_trans).decode("unicode_escape")
Explanation: Using Silpa
https://github.com/libindic/Silpa-Flask
Transliteration
End of explanation
import rbs
word_stem1 = []
for i in word_token:
    word_stem1.append(rbs.stemWord(i, True))
bs1 = pd.DataFrame({"1_Word": word_token, "2_Stem": word_stem1})
bs1
Explanation: Using BengaliStemmer
https://github.com/gdebasis/BengaliStemmer
Stemming
End of explanation
import jnius_config
jnius_config.set_classpath(".", "path to class")
from jnius import autoclass
cls = autoclass("RuleFileParser")
stemmer = cls()
word_stem2 = []
for i in word_token:
    word_stem2.append(stemmer.stemOfWord(i))
bs2 = pd.DataFrame({"1_Word": word_token, "2_Stem": word_stem2})
bs2
Explanation: Using BanglaStemmer
https://github.com/rafi-kamal/Bangla-Stemmer
Stemming
End of explanation
from pyavrophonetic import avro
trans_text = avro.parse(bangla_text)
print repr(trans_text).decode("unicode_escape")
Explanation: Using Avro
https://github.com/kaustavdm/pyAvroPhonetic
Transliteration
End of explanation
<END_TASK>