hsen-dev / PersianStemmer-Python

PersianStemmer-Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PersianStemmer-Python

Installation

pip install PersianStemmer

Code Example

from PersianStemmer import PersianStemmer 

ps = PersianStemmer()
print(ps.run("زیباست"))

# or NLTK compatible form
print(ps.stem("زیباست"))

Citation

If you use this software please cite the followings:

Taghi-Zadeh, Hossein and Sadreddini, Mohammad Hadi and Diyanati, Mohammad Hasan and Rasekh, Amir Hossein. 2015. A New Hybrid Stemming Method for Persian Language. In Digital Scholarship in the Humanities. The Oxford University Press. DOI Link

H. Taghi-Zadeh and M. H. Sadreddini and M. H. Dianaty and A. H. Rasekh. 2013. A New Rule-Based Persian Stemmer Using Regular Expression (In Persian). In Iranian Conference on Intelligent Systems (ICIS 2013), pages 401–407. Link

About

PersianStemmer-Python

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%