Crate regtest

source
Expand description

Regression testing for Finite-State Spell-Checkers

A tool to help testing updates in finite-state spell-checkers. Simply shows the differences between two spell-checker language models. Can be used in automated scripts to cap amount of changes between two versions.

Β§Usage examples

It’s a command-line tool:

$ cargo run -- --old old.zhfst --new new.zhfst --words typos.txt --threshold 0.9

will expect there to be less than 10β€―% regressions between old.zhfst and new.zhfst.

Structs§

Functions§