#japanese #dependency #structure #analyzer #cabocha

cabocha

Safe Rust wrapper for cabocha a japanese language dependency structure analyzer library

10 releases

0.2.0 Feb 17, 2020
0.1.7 May 9, 2018
0.1.6 Jun 8, 2017
0.1.4 Apr 25, 2017
0.0.1 Apr 8, 2017

#745 in Text processing

Download history 5/week @ 2022-11-28 8/week @ 2022-12-05 19/week @ 2022-12-12 9/week @ 2022-12-19 5/week @ 2022-12-26 3/week @ 2023-01-02 6/week @ 2023-01-09 6/week @ 2023-01-16 20/week @ 2023-01-23 18/week @ 2023-01-30 21/week @ 2023-02-06 35/week @ 2023-02-13 18/week @ 2023-02-20 2/week @ 2023-02-27 11/week @ 2023-03-06 23/week @ 2023-03-13

57 downloads per month

MIT license

27KB
792 lines

cabocha-rs

cabocha at crates.io cabocha at docs.rs Actions Status

Example

cargo run --example test

Usage

[dependencies]
cabocha = "*"
use cabocha::parser::Parser;

fn main() {
  let parser = Parser::new("");
  let sentence = "我輩は猫である。";

  let mut tree = parser.parse_to_tree(sentence);

  println!("{}", tree.to_string(cabocha::consts::CABOCHA_FORMAT::TREE));
}

LISENCE

MIT

Dependencies

~38KB