rustam 0.1.0

Full Persian NLP pipeline for Rust — normalization, tokenization, stemming, lemmatization, conjugation, spell correction, and more
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.70"
name = "rustam"
version = "0.1.0"
authors = ["Amirhossein Ghanipour <d3v1ll3n@gmail.com>"]
build = false
exclude = [
    ".github/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Full Persian NLP pipeline for Rust — normalization, tokenization, stemming, lemmatization, conjugation, spell correction, and more"
homepage = "https://github.com/amirhosseinghanipour/rustam"
documentation = "https://docs.rs/rustam"
readme = "README.md"
keywords = [
    "nlp",
    "persian",
    "farsi",
    "nlp-library",
    "text-processing",
]
categories = [
    "text-processing",
    "science",
]
license = "MIT"
repository = "https://github.com/amirhosseinghanipour/rustam"

[features]
dep-parsing = [
    "dep:arc-eager",
    "pos",
]
full = [
    "pos",
    "ner",
    "dep-parsing",
    "hf-hub",
]
hf-hub = ["dep:hf-hub"]
ner = ["dep:nerrs"]
pos = ["dep:crftag"]

[lib]
name = "rustam"
path = "src/lib.rs"

[[example]]
name = "conjugation"
path = "examples/conjugation.rs"

[[example]]
name = "data"
path = "examples/data.rs"

[[example]]
name = "informal"
path = "examples/informal.rs"

[[example]]
name = "normalize"
path = "examples/normalize.rs"

[[example]]
name = "pipeline"
path = "examples/pipeline.rs"

[[example]]
name = "spell"
path = "examples/spell.rs"

[[example]]
name = "stem_lemmatize"
path = "examples/stem_lemmatize.rs"

[[example]]
name = "token_split"
path = "examples/token_split.rs"

[[example]]
name = "tokenize"
path = "examples/tokenize.rs"

[dependencies.arc-eager]
version = "0.1"
optional = true
package = "arc-eager"

[dependencies.crftag]
version = "0.1"
optional = true
package = "crftag"

[dependencies.fancy-regex]
version = "0.14"

[dependencies.hf-hub]
version = "0.3"
optional = true

[dependencies.nerrs]
version = "0.1"
optional = true
package = "nerrs"

[dependencies.once_cell]
version = "1"

[dependencies.quick-xml]
version = "0.37"
features = ["encoding"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.arc-eager]
version = "0.1"
package = "arc-eager"

[dev-dependencies.crftag]
version = "0.1"
package = "crftag"

[dev-dependencies.nerrs]
version = "0.1"
package = "nerrs"