2 releases

Uses old Rust 2015

0.1.1 Jul 21, 2018
0.1.0 Nov 1, 2015

#239 in Internationalization (i18n)

Download history 316/week @ 2024-10-21 421/week @ 2024-10-28 295/week @ 2024-11-04 468/week @ 2024-11-11 254/week @ 2024-11-18 267/week @ 2024-11-25 329/week @ 2024-12-02 257/week @ 2024-12-09 241/week @ 2024-12-16 89/week @ 2024-12-23 71/week @ 2024-12-30 220/week @ 2025-01-06 213/week @ 2025-01-13 256/week @ 2025-01-20 184/week @ 2025-01-27 416/week @ 2025-02-03

1,092 downloads per month
Used in 2 crates

MIT license

36KB
178 lines

rust-tinysegmenter

Crates.io

Rust implementation of TinySegmenter, which is a compact Japanese tokenizer.

Install

Adding the following to the Cargo.toml in your project:

[dependencies]
tinysegmenter = "0.1"

and import using extern crate:

extern crate tinysegmenter;

Usage

let tokens = tinysegmenter::tokenize("私の名前は中野です");
println!("{}", &tokens.join("|")); // 私|の|名前|は|中野|です

License

Copyright (c) 2015 woxtu

Licensed under the MIT license.

Dependencies

~22KB