roshan-research/hazm

Persian NLP Toolkit

65
/ 100
Established

Hazm helps anyone working with Persian text analyze, process, and understand it better. It takes raw Persian text and can clean it up, break it into sentences and words, identify the base form of words, and even understand the grammatical relationships between them. This is for researchers, linguists, data analysts, or anyone who needs to extract insights or prepare Persian text for further analysis.

1,381 stars. Used by 2 other packages. Available on PyPI.

Use this if you need to perform detailed linguistic analysis, prepare Persian text for search engines, or power intelligent applications that understand Persian.

Not ideal if your primary need is for languages other than Persian, as it is specifically designed for Persian NLP tasks.

Persian-language-processing text-analysis linguistics-research data-preparation sentiment-analysis
Maintenance 6 / 25
Adoption 12 / 25
Maturity 25 / 25
Community 22 / 25

How are scores calculated?

Stars

1,381

Forks

205

Language

Python

License

MIT

Last pushed

Dec 21, 2025

Commits (30d)

0

Dependencies

11

Reverse dependents

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/roshan-research/hazm"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.