2 releases

Uses old Rust 2015

0.1.1 Jul 21, 2018
0.1.0 Nov 1, 2015
Download history 173/week @ 2022-12-02 167/week @ 2022-12-09 108/week @ 2022-12-16 103/week @ 2022-12-23 90/week @ 2022-12-30 98/week @ 2023-01-06 149/week @ 2023-01-13 167/week @ 2023-01-20 185/week @ 2023-01-27 285/week @ 2023-02-03 353/week @ 2023-02-10 279/week @ 2023-02-17 166/week @ 2023-02-24 187/week @ 2023-03-03 194/week @ 2023-03-10 133/week @ 2023-03-17

710 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

~27KB