crfs

Crates.iocrfs
lib.rscrfs
version0.2.0
sourcesrc
created_at2021-01-31 04:12:29.777234
updated_at2021-11-18 14:16:19.300989
descriptionPure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
homepage
repositoryhttps://github.com/messense/crfs-rs
max_upload_size
id348751
size45,991
messense (messense)

documentation

README

crfs-rs

CI codecov Crates.io docs.rs

Pure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)

Currently only support prediction, model training is not supported. For training you can use crfsuite-rs.

Installation

Add it to your Cargo.toml:

[dependencies]
crfs = "0.1"

Performance

Performance comparsion with CRFsuite on MacBook Pro (13-inch, M1, 2020) 16GB

$ cargo bench --bench crf_bench -- --output-format bencher
test tag/crfs ... bench:        1449 ns/iter (+/- 5)
test tag/crfsuite ... bench:        2154 ns/iter (+/- 14)

Last updated on 2021-11-18.

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Commit count: 88

cargo fmt