小编msm*_*msm的帖子

What lemmatizer can i use for arabic text using python?

How can I get lemmas for Arabic words? I tried the ISRI Arabic Stemmer from NLTK but it returns roots of words:

from nltk.stem.isri import ISRIStemmer
st = ISRIStemmer()
print st.stem(u'????????')
Run Code Online (Sandbox Code Playgroud)

It returns the root ??? and i want the lemma ??????

python text-processing stanford-nlp python-2.7 python-3.x

2
推荐指数
1
解决办法
2967
查看次数