A collection of useful natural language functions.
This crate is on crates.io and can be
used by adding wordsworth
to the dependencies in your project's Cargo.toml
.
toml
[dependencies]
wordsworth = "0.1.*"
and this to your crate root:
rust
extern crate wordsworth;
rust
use wordsworth;
assert_eq!(3, syllable_counter("lucozade"));