2 releases

Uses old Rust 2015

0.1.1 Jul 21, 2018
0.1.0 Nov 1, 2015

#205 in Internationalization (i18n)

Download history 346/week @ 2023-12-22 280/week @ 2023-12-29 303/week @ 2024-01-05 312/week @ 2024-01-12 263/week @ 2024-01-19 286/week @ 2024-01-26 334/week @ 2024-02-02 418/week @ 2024-02-09 463/week @ 2024-02-16 426/week @ 2024-02-23 394/week @ 2024-03-01 423/week @ 2024-03-08 346/week @ 2024-03-15 275/week @ 2024-03-22 403/week @ 2024-03-29 337/week @ 2024-04-05

1,424 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

~29KB