hazm logo

hazm

roshan-research/hazm

Persian NLP Toolkit for dependency parsing, embeddings, lemmatization, normalization, POS tagging, and tokenization

GraphCanon updated 2d · GitHub synced 2d

1.4k stars208 forksLast push 4mo Python MIT

Decision brief

Hazm is a Persian NLP Toolkit used for dependency parsing, embeddings, lemmatization, normalization, POS tagging and tokenization in Python.

Good fit when

  • When working exclusively with Farsi language texts where comprehensive processing tools like dependency parsing or POS tagging are required.
  • For tasks that require integration of multiple NLP functionalities in Persian text analysis workflows.

Avoid when

  • If the project involves languages other than Persian, as Hazm lacks capabilities for multilingual support beyond Farsi.
  • When advanced machine learning models requiring extensive training data and resources are necessary; Hazm provides utilities but does not include state-of-the-art models.

Observed Jul 15, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (142d since push)
As of 2d
Provenance
Not a fork · Organization account
As of 2d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install hazm
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A comprehensive library providing tools to process Persian text including parsers, taggers, and other utilities essential for natural language processing tasks in Farsi.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 22, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 22, 2026)

To install the latest version of Hazm (requires Python 3.12+), run:
Source link

Tags

README

Installation

To install the latest version of Hazm (requires Python 3.12+), run:

pip install hazm

To use the pretrained models from Hugging Face, ensure you have the huggingface-hub package:

pip install huggingface-hub

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.