Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/htaghizadeh/PersianStemmer-Python
PersianStemmer-Python
https://github.com/htaghizadeh/PersianStemmer-Python
information-retrieval nlp persian persian-language persian-nlp persian-stemmer stemmer
Last synced: 3 months ago
JSON representation
PersianStemmer-Python
- Host: GitHub
- URL: https://github.com/htaghizadeh/PersianStemmer-Python
- Owner: htaghizadeh
- License: bsd-2-clause
- Created: 2016-12-25T19:34:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-04T08:24:55.000Z (over 1 year ago)
- Last Synced: 2024-07-14T17:10:49.379Z (4 months ago)
- Topics: information-retrieval, nlp, persian, persian-language, persian-nlp, persian-stemmer, stemmer
- Language: Python
- Size: 1020 KB
- Stars: 50
- Watchers: 3
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PersianStemmer-Python
## Installation
```
pip install PersianStemmer
pip install https://github.com/htaghizadeh/PersianStemmer-Python/archive/master.zip --upgrade
```## Code Example
```python
from PersianStemmer import PersianStemmerps = PersianStemmer()
print(ps.run("زیباست"))# or NLTK compatible form
print(ps.stem("زیباست"))
```## Citation
To cite the paper/code, please use this BibTex:```
@article{10.1093/llc/fqv053,
author = {Taghi-Zadeh, Hossein and Sadreddini, Mohammad Hadi and Diyanati, Mohammad Hasan and Rasekh, Amir Hossein},
title = "{A new hybrid stemming method for persian language}",
journal = {Digital Scholarship in the Humanities},
volume = {32},
number = {1},
pages = {209-221},
year = {2015},
month = {11},
issn = {2055-7671},
doi = {10.1093/llc/fqv053},
url = {https://doi.org/10.1093/llc/fqv053},
eprint = {http://oup.prod.sis.lan/dsh/article-pdf/32/1/209/11046608/fqv053.pdf},
}```
Taghi-Zadeh, Hossein and Sadreddini, Mohammad Hadi and Diyanati, Mohammad Hasan and Rasekh, Amir Hossein. 2017. *A New Hybrid Stemming Method for Persian Language*. In *Digital Scholarship in the Humanities*. The Oxford University Press.
[DOI](https://doi.org/10.1093/llc/fqv053)
[Link](https://academic.oup.com/dsh/article-abstract/32/1/209/2957378)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](http://www.civilica.com/Paper-ICS11-ICS11_109.html)If you have questions, send me an email: h.t.azeri at gmail dot com