messense / jieba-rs

The Jieba Chinese Word Segmentation Implemented in Rust
MIT License
738 stars 46 forks source link

allow users to load custom hmm model #92

Open name1e5s opened 1 year ago

name1e5s commented 1 year ago

close #48

codecov[bot] commented 1 year ago

Codecov Report

Merging #92 (64158fc) into main (38fe280) will increase coverage by 1.17%. The diff coverage is 52.63%.

@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
+ Coverage   86.41%   87.59%   +1.17%     
==========================================
  Files           8        7       -1     
  Lines        1067      693     -374     
==========================================
- Hits          922      607     -315     
+ Misses        145       86      -59     
Impacted Files Coverage Δ
src/lib.rs 92.56% <ø> (+6.74%) :arrow_up:
src/hmm.rs 81.95% <52.63%> (-12.79%) :arrow_down:
src/keywords/tfidf.rs 83.82% <0.00%> (-3.82%) :arrow_down:
src/keywords/textrank.rs 84.09% <0.00%> (-2.83%) :arrow_down:
src/sparse_dag.rs 100.00% <0.00%> (ø)
tests/test_wasm.rs

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.