cabocha

Crates.iocabocha
lib.rscabocha
version0.2.0
sourcesrc
created_at2017-04-08 21:07:29.737732
updated_at2020-02-17 11:58:07.222581
descriptionSafe Rust wrapper for cabocha a japanese language dependency structure analyzer library
homepage
repositoryhttps://github.com/Yasu-umi/cabocha-rs
max_upload_size
id10051
size33,206
Yasu_umi (Yasu-umi)

documentation

https://docs.rs/cabocha

README

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

Commit count: 36

cargo fmt