{"repo":"roshan-research/hazm","free":true,"listed":false,"github":"https://github.com/roshan-research/hazm","clone":"git clone https://github.com/roshan-research/hazm.git","description":"Persian NLP Toolkit","language":"Python","stars":1417,"topics":["natural-language-processing","python","persian","nlp","persian-nlp","dependency-parser","embeddings","text-processing","tokenizer","lemmatization"],"license":"MIT","category":"machine-learning","readme_excerpt":"Hazm - Persian NLP Toolkit Hazm is a python library to perform natural language processing tasks on Persian text. It offers various features for analyzing, processing, and understanding Persian text. You can use Hazm to normalize text, tokenize sentences and words, lemmatize words, assign part-of-speech tags, identify dependency relations, create word and sentence embeddings, or read popular Persian corpora. Features - Normalization: Converts text to a standard form (diacritics removal, ZWNJ correction, etc). - Tokenization: Splits text into sentences and words. - Lemmatization: Reduces words to their base forms. - POS tagging: Assigns a part of speech to each word. - Dependency parsing: Identifies the syntactic relations between words. - Embedding: Creates vector representations of words and sentences. - Hugging Face Integration: Automatically download and cache pretrained models from the Hub. - Persian corpora reading: Easily read popular Persian corpora with ready-made scripts. 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 Pretrained-Models Hazm supports automatic downloading of pretrained models. You can find all available models (POS Tagger, Chunker, Embeddings, etc.) on our official Hugging Face page: 👉 Roshan Research on Hugging Face When using Hazm, simply provide the repo id and model filename as","default_branch":null,"files":null,"tree":[],"storefront":"/r/roshan-research","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/roshan-research/hazm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}