Skip to content

LuoZijun/rust-jieba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Jieba

Date: 08/28 2018
  • HMM
  • MMSEG
git clone https://github.com/LuoZijun/rust-jieba.git
cd rust-jieba

cargo run --bin mk_hmm_dict > src/hmm_dict.rs
cargo run --bin mk_mmseg_dict > src/mk_mmseg_dict.rs
cargo build

cargo run --example hmm_cut
cargo run --example mmseg_cut
cargo test
cargo bench
样本:钱钟书 - 《围城》
处理器:Intel(R) Core(TM) i7-4770HQ @2.2 GHz
单核吞吐量:~= 4MB/s