2 releases

Uses old Rust 2015

0.1.1 Jul 21, 2018
0.1.0 Nov 1, 2015

#236 in Internationalization (i18n)

Download history 311/week @ 2024-09-26 311/week @ 2024-10-03 417/week @ 2024-10-10 360/week @ 2024-10-17 400/week @ 2024-10-24 299/week @ 2024-10-31 445/week @ 2024-11-07 287/week @ 2024-11-14 303/week @ 2024-11-21 323/week @ 2024-11-28 247/week @ 2024-12-05 285/week @ 2024-12-12 120/week @ 2024-12-19 48/week @ 2024-12-26 196/week @ 2025-01-02 164/week @ 2025-01-09

610 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