crfs 0.3.0

Pure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
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 = "2024"
name = "crfs"
version = "0.3.0"
authors = ["messense <messense@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)"
readme = "README.md"
keywords = [
    "crf",
    "crfsuite",
]
license = "MIT"
repository = "https://github.com/messense/crfs-rs"

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

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

[[test]]
name = "test_ap_algorithm"
path = "tests/test_ap_algorithm.rs"

[[test]]
name = "test_arow_algorithm"
path = "tests/test_arow_algorithm.rs"

[[test]]
name = "test_end_to_end"
path = "tests/test_end_to_end.rs"

[[test]]
name = "test_l2sgd_algorithm"
path = "tests/test_l2sgd_algorithm.rs"

[[test]]
name = "test_pa_algorithm"
path = "tests/test_pa_algorithm.rs"

[[test]]
name = "test_param_validation"
path = "tests/test_param_validation.rs"

[[test]]
name = "test_training"
path = "tests/test_training.rs"

[[bench]]
name = "crf_bench"
path = "benches/crf_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.bstr]
version = "1.0.0"

[dependencies.cqdb]
version = "0.5"

[dependencies.liblbfgs]
version = "0.1"

[dependencies.rand]
version = "0.9"

[dev-dependencies.crfsuite]
version = "0.3.1"

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.tempfile]
version = "3"