wordbreaker
is a Unicode-aware no_std
crate (requires alloc
) that rapidly
finds all sequences of dictionary words that concatenate to a given string.
```rust use wordbreaker::Dictionary;
let dictionary = Dictionary::new(&["hello", "just", "ice", "justice"]);
let mut waystoconcatenate = dictionary
.concatenations_for("justice")
.collect::
waystoconcatenate.sortunstable(); asserteq!(waystoconcatenate, [vec!["just", "ice"], vec!["justice"]]); ```