Skip to content

amirh1234/PersianStemmer-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PersianStemmer-Python

Installation

  pip install PersianStemmer
  pip install https://github.com/htaghizadeh/PersianStemmer-Python/archive/master.zip --upgrade

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%