Pure Rust port of CRFsuite: a fast implementation of Conditional Random Fields (CRFs)
Add it to your Cargo.toml:
[dependencies]
crfs = "0.3"Performance comparsion with CRFsuite on MacBook Pro (13-inch, M4 MAX, 2024)
$ cargo bench --bench crf_bench -- --output-format bencher
test tag/crfs ... bench: 579 ns/iter (+/- 15)
test tag/crfsuite ... bench: 1185 ns/iter (+/- 20)Last updated on 2026-02-01.
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.