A stemmer for the Arabic language
Project description
cooc_ar_stemmer
A stemmer for the Arabic language
Comparison to other stemmers for the Arabic language:
| Stemmer | Test Accuracy |
|---|---|
| This work | |
| cooc_ar_stemmer | 0.7469 |
| Other stemmers | |
| Lucene Arabic Analyzer | 0.5510 |
| Shereene Khoja Stemmer | 0.5494 |
| ISRIStemmer | 0.5397 |
| ArabicProcessingCog | 0.2361 |
| Arabic-Stemming-Toolkit AST | 0.2358 |
| Tashaphyne: Arabic Light Stemmer | 0.2332 |
| Assem's Arabic Light Stemmer | 0.2310 |
| FARASA | 0.2303 |
| Al Khalil Morpho Sys Stemmer | 0.2195 |
| Qutuf | 0.1923 |
Based on the work:
@ARTICLE {iskanderakhmetovalexandrpakirinaualiyevaalexandergelbukh2020,
author = "Iskander Akhmetov, Alexandr Pak, Irina Ualiyeva, Alexander Gelbukh",
title = "Highly Language-Independent Word Lemmatization Using a Machine-Learning Classifier",
journal = "Computacion y Sistemas",
year = "2020",
volume = "24",
number = "3",
pages = "1353-1364",
month = "sep" }\
Installation:
pip install cooc_ar_stemmer
Usage:
import cooc_ar_stemmer.ar_stem as cas
cas.stem_it('شطط')
# Output: 'شط'
# You can also provide a list of words:
cas.stem_it(['شطط', 'ضحي'])
# Output: ['شط', 'ضحى']
The model files can be downloaded at https://drive.google.com/file/d/1VRqygWHz81UqF6e5zVceP37lhMax90n0/view?usp=sharing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cooc_ar_stemmer-0.1.1.tar.gz.
File metadata
- Download URL: cooc_ar_stemmer-0.1.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74eee9e39ed587fc3f6117880d640d38c46ab1d07e357792460138c11e3eff21
|
|
| MD5 |
47865514685ba1f1e2a9a49b23f63360
|
|
| BLAKE2b-256 |
237d8494f242a2a23ca863371a43d70bb157eb0d11a75f025d28b78f3ab63a3d
|
File details
Details for the file cooc_ar_stemmer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cooc_ar_stemmer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c9918f18cd27eb5760a620454474701d50921dfc5e46ca5b51fa60d440f812
|
|
| MD5 |
a71823a71a2191671f8d340bb05322fa
|
|
| BLAKE2b-256 |
20b2ac47a82da42051b8bff586e5bf79288211f6d38d4b54d34e6965f1e997d2
|