#nlp #poetry #haiku #nl

wordsworth

一组自然语言分析功能

2个版本

使用旧Rust 2015

0.1.1 2016年8月22日
0.1.0 2016年8月19日

#haiku中排名10

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

每月下载量146
3个crate(2个直接)中使用

Apache-2.0

7KB
80

wordsworth

Build Status

一组有用的自然语言功能。

完整文档可以在这里找到。

用法

此crate位于crates.io,可以通过将wordsworth添加到项目Cargo.toml中的依赖项来使用。

[dependencies]
wordsworth = "0.1.*"

并在crate根目录下添加以下内容

extern crate wordsworth;

示例

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

lib.rs:

一组有用的自然语言功能。

用法

此crate位于crates.io,可以通过将wordsworth添加到项目Cargo.toml中的依赖项来使用。

[dependencies]
wordsworth = "0.1.*"

并在crate根目录下添加以下内容

extern crate wordsworth;

示例

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

无运行时依赖