language_profiler

##### v0.1.0

About

Classify a string as either English, Chinese, or Pinyin.

Usage

```rust extern crate chinese_detection;

use chinese_detection::ChineseDetection;

let language_detection = ChineseDetection::new();

println!("{}", languagedetection.classify(String::from("test"))); // --> EN println!("{}", languagedetection.classify(String::from*("shiyan"))); // --> PY println!("{}", language_detection.classify(String::from("实验"))); // --> ZH ```

Contributors

License

MIT