roshan-research/hazm
Persian NLP Toolkit
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.
Stars
1,381
Forks
205
Language
Python
License
MIT
Category
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/nlp/roshan-research/hazm"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
Dadmatech/DadmaTools
DadmaTools is a Persian NLP tools developed by Dadmatech Co.
natasha/natasha
Solves basic Russian NLP tasks, API for lower level Natasha projects
monikkinom/ner-lstm
Named Entity Recognition using multilayered bidirectional LSTM
ancatmara/data-science-nlp
NLP Section of the Data Science course, NRU HSE
mhbashari/awesome-persian-nlp-ir
Curated List of Persian Natural Language Processing and Information Retrieval Tools and Resources