[[bench]]
harness = false
name = "jieba_benchmark"
required-features = ["tfidf", "textrank"]
[build-dependencies.phf_codegen]
version = "0.11"
[dependencies.cedarwood]
version = "0.4"
[dependencies.derive_builder]
version = "0.20.0"
[dependencies.fxhash]
version = "0.2.1"
[dependencies.lazy_static]
version = "1.0"
[dependencies.ordered-float]
optional = true
version = "4.0"
[dependencies.phf]
version = "0.11"
[dependencies.regex]
version = "1.0"
[dev-dependencies.codspeed-criterion-compat]
version = "2.4.1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.wasm-bindgen-test]
version = "0.3.0"
[features]
default = ["default-dict"]
default-dict = []
textrank = ["ordered-float"]
tfidf = ["ordered-float"]
[package]
authors = ["messense <messense@icloud.com>", "Paul Meng <me@paulme.ng>"]
categories = ["text-processing"]
description = "The Jieba Chinese Word Segmentation Implemented in Rust"
edition = "2021"
keywords = ["nlp", "chinese", "segmenation"]
license = "MIT"
name = "jieba-rs"
readme = "README.md"
repository = "https://github.com/messense/jieba-rs"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
[target."cfg(unix)".dev-dependencies.jemallocator]
version = "0.5.0"