bosonnlp 0.9.0

BosonNLP SDK for Rust
Documentation

bosonnlp-rs

Build Status Coverage Status Crates.io docs.rs

BosonNLP SDK for Rust

Installation

Add it to your Cargo.toml:

[dependencies]
bosonnlp = "0.9"

Add extern crate bosonnlp to your crate root and your're good to go!

Build

$ cargo build --release

Test

First you need to export a shell variable called BOSON_API_TOKEN and then run:

$ cargo test

Documentation

For BosonNLP REST API documentation, please visit http://docs.bosonnlp.com/index.html

To generate crate documentation locally, run:

$ cargo doc

Then you will be able to open the documentation under target/doc/bosonnlp directory.

Wait, of course you can read it online.

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.