#69 · Primary category: NLP Tools & Text Processing
hazm
Persian NLP Toolkit
Project last updated:04/01/26
GitHub Stars
1.4K
Forks
208
Contributors
40
License
MIT
Why we included this project
Persian text is messy in ways that generic NLP libraries often ignore, and Hazm exists specifically to handle that mess. It normalizes Farsi input by fixing diacritics, ZWNJ, and orthographic variants, then provides tokenization, lemmatization, part-of-speech tagging, dependency parsing, and word or sentence embeddings. Pretrained models load automatically from Hugging Face, so you can get from raw text to structured linguistic features with a few lines of Python instead of training your own. The corpus-reading utilities are a handy bonus for researchers who want ready-made access to standard Persian datasets. For anyone doing serious NLP work in Persian, this is a solid, well-documented place to start.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量