roshan-research/hazm
Persian NLP Toolkit observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 75
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 51.0
- age_days: 4691
- days_rel: 154
- days_push: 154
- n_releases_24m: 3
Adoption not part of the score
1417 stars · 208 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Hazm is a Python library for natural language processing on Persian (Farsi) text, offering normalization, tokenization, stemming, lemmatization, POS tagging, dependency parsing, and embeddings. It integrates with Hugging Face Hub to automatically download and cache pretrained models.
Use cases
- normalize persian text
- tokenize farsi sentences and words
- lemmatize persian verbs and nouns
- pos tagging for persian text
- dependency parsing of persian sentences
- create persian word embeddings
- read persian corpora in python
When to choose
- you need Persian-specific NLP preprocessing in Python
- you want pretrained Persian models with automatic Hugging Face download
- you need to read popular Persian corpora with ready-made scripts
When to avoid
- you need multilingual NLP beyond Persian
- you work with Python versions older than 3.12
- you need a full end-to-end NLP pipeline with training tooling
Facets
library · maturity active
nlp parser machine-learning search-engine machine-learning developer-tools python cross-platform persian farsi tokenization lemmatization pos-tagging dependency-parsing embeddings text-normalization hugging-face natural-language-processing
3 sources
- readme: https://github.com/roshan-research/hazm · fetched 2026-08-28 · 9ec4a803f825
- homepage: https://www.roshan-ai.ir/hazm/ · fetched 2026-08-29 · 0950a86535c6
- registry_pypi: https://pypi.org/pypi/hazm/json · fetched 2026-08-29 · 6515e8f075c6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| roshan-research/hazm | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="roshan-research/hazm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem