[package]
name = "lindera-python"
version = "2.0.0"
edition = "2024"
description = "Python binding for Lindera."
documentation = "https://docs.rs/lindera-python"
homepage = "https://github.com/lindera/lindera-python"
repository = "https://github.com/lindera/lindera-python"
readme = "README.md"
keywords = ["morphological", "analysis", "library", "python"]
categories = ["text-processing"]
license = "MIT"
[lib]
name = "lindera"
path = "src/lib.rs"
crate-type = ["cdylib"]
[features]
embed-ipadic = [
"lindera/embed-ipadic",
]
embed-ipadic-neologd = [
"lindera/embed-ipadic-neologd",
]
embed-unidic = [
"lindera/embed-unidic",
]
embed-ko-dic = [
"lindera/embed-ko-dic",
]
embed-cc-cedict = [
"lindera/embed-cc-cedict",
]
embed-cjk = [
"lindera/embed-cjk",
]
train = ["lindera/train"]
default = ["train"]
[dependencies]
pyo3 = { version = "0.27.2", features = ["extension-module", "abi3-py310", "generate-import-lib"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
num_cpus = "1.17.0"
lindera = "2.0.1"