Crates.io | wordsworth |
lib.rs | wordsworth |
version | 0.1.1 |
source | src |
created_at | 2016-08-19 08:54:18.401341 |
updated_at | 2016-08-22 17:48:24.165934 |
description | A collection of natural language analysis functions |
homepage | |
repository | https://github.com/booyaa/wordsworth |
max_upload_size | |
id | 6023 |
size | 17,005 |
A collection of useful natural language functions.
Full documentation can be found here.
This crate is on crates.io and can be
used by adding wordsworth
to the dependencies in your project's Cargo.toml
.
[dependencies]
wordsworth = "0.1.*"
and this to your crate root:
extern crate wordsworth;
use wordsworth;
assert_eq!(3, syllable_counter("lucozade"));
assert_eq!(false, is_haiku("this is not\nnot\n a haiku"));