rishe 0.4.0

Rishe (ریشه): High-performance Persian NLP engine in Rust — tokenization, SBD, lemmatization, ezafe detection, informal→formal normalization, stemming, spell checking, embeddings
Documentation
# Third-party notices

The lexicons in `data/*.tsv` (nouns, verb stems, informal words) are derived
from the data files of [Hazm](https://github.com/roshan-research/hazm)
(`words.dat`, `verbs.dat`, `iwords.dat`), regenerated by
`scripts/extract_lexicons.py`. The stopword list (`data/stopwords.txt`) and the
word-frequency table (`data/word_freq.tsv`) are also derived from Hazm's
`stopwords.dat` and `words.dat`. Hazm is distributed under the MIT License:

The normalizer character mappings, ligature table, digit and punctuation tables,
and spacing rules in `src/normalize_ops.rs` are adapted from
[Shekar](https://github.com/amirivojdan/shekar), copyright (c) 2024 Ahmad
Amirivojdan. The offensive-word list (`data/offensive_words.txt`) is derived
from Shekar's `offensive_words.csv`, and the keyboard/OCR noise maps in
`src/augment.rs` are adapted from Shekar's noise transforms. Shekar is
distributed under the MIT License; the MIT terms below apply.

The model downloaded by `rishe.hub.pull("hazm-fasttext-300")` is
`fasttext_skipgram_300.vec` from the
[roshan-research/hazm-word-embedding](https://huggingface.co/roshan-research/hazm-word-embedding)
repository. It is not bundled with Rishe and is not covered by Rishe's license;
check that repository for the model's own terms before redistributing it.

---

The MIT License (MIT)

Copyright (c) 2013 Alireza Nourian

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.