[package]
name = "rustam"
version = "0.1.0"
edition = "2021"
authors = ["Amirhossein Ghanipour <d3v1ll3n@gmail.com>"]
description = "Full Persian NLP pipeline for Rust — normalization, tokenization, stemming, lemmatization, conjugation, spell correction, and more"
license = "MIT"
keywords = ["nlp", "persian", "farsi", "nlp-library", "text-processing"]
categories = ["text-processing", "science"]
homepage = "https://github.com/amirhosseinghanipour/rustam"
repository = "https://github.com/amirhosseinghanipour/rustam"
documentation = "https://docs.rs/rustam"
readme = "README.md"
rust-version = "1.70"
exclude = [".github/", "tests/"]
[features]
pos = ["dep:crftag"]
ner = ["dep:nerrs"]
dep-parsing = ["dep:arc-eager", "pos"]
hf-hub = ["dep:hf-hub"]
full = ["pos", "ner", "dep-parsing", "hf-hub"]
[dependencies]
fancy-regex = "0.14"
once_cell = "1"
thiserror = "2"
quick-xml = { version = "0.37", features = ["encoding"] }
crftag = { package = "crftag", version = "0.1", optional = true }
nerrs = { package = "nerrs", version = "0.1", optional = true }
arc-eager = { package = "arc-eager", version = "0.1", optional = true }
hf-hub = { version = "0.3", optional = true }
[dev-dependencies]
crftag = { package = "crftag", version = "0.1" }
nerrs = { package = "nerrs", version = "0.1" }
arc-eager = { package = "arc-eager", version = "0.1" }