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 |
#1394 in Text processing
30 downloads per month
27KB
792 lines
cabocha-rs
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
Dependencies
~44KB