#nlp #poetry #haiku #nl

wordsworth

A collection of natural language analysis functions

2 releases

Uses old Rust 2015

0.1.1 Aug 22, 2016
0.1.0 Aug 19, 2016

#10 in #haiku

Download history 9/week @ 2024-03-12 7/week @ 2024-03-19 10/week @ 2024-03-26 51/week @ 2024-04-02 2/week @ 2024-04-09 5/week @ 2024-04-16 5/week @ 2024-04-23 4/week @ 2024-04-30 8/week @ 2024-05-07 7/week @ 2024-05-14 11/week @ 2024-05-28 8/week @ 2024-06-04 2/week @ 2024-06-11 6/week @ 2024-06-18 128/week @ 2024-06-25

146 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

7KB
80 lines

wordsworth

Build Status

A collection of useful natural language functions.

Full documentation can be found here.

Usage

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;

Example

use wordsworth;
assert_eq!(3, syllable_counter("lucozade"));
assert_eq!(false, is_haiku("this is not\nnot\n a haiku"));

lib.rs:

A collection of useful natural language functions.

Usage

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;

Example

use wordsworth;
assert_eq!(3, wordsworth::syllable_counter("lucozade"));
assert_eq!(false, wordsworth::is_haiku("this is not\nnot\n a haiku"));

No runtime deps