Add benefits section for spacy-persian

Added section highlighting the benefits of spacy-persian.
This commit is contained in:
Kiyarash Fazeli 2026-08-11 11:56:21 +03:30 committed by GitHub
parent 178c9ffa8e
commit 621be65956
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,14 @@ pip install https://huggingface.co/Phazel/fa_core_news_sm/resolve/main/fa_core_n
[('ایران خودرو', 'ORG'), ('۲۰ درصد', 'PCT')] [('ایران خودرو', 'ORG'), ('۲۰ درصد', 'PCT')]
``` ```
## Why spacy-persian?
- **⚡ Performance** **96.24%** POS · **97.91%** Lemma · **85.15%** LAS competitive with English `en_core_web_sm` on syntax.
- **🚀 Speed** ~9,250 words/sec on a standard CPU. No GPU required.
- **📦 Flexibility** Choose `fa_core_news_sm` (13MB, syntax + NER) or `fa_dep_news_sm` (7.5MB, syntax-only).
- **🔁 Reproducibility** Checksummed, versioned builds from UD_Persian-PerDT no black boxes.
- **🔌 Native spaCy** Drop-in replacement. `spacy.load()` works instantly with standard `Doc` objects.
-
## Results ## Results
From `spacy benchmark accuracy`, stored in `metrics/`. From `spacy benchmark accuracy`, stored in `metrics/`.