messense / jieba-rs

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

re_han custom #87

Closed sirodeneko closed 2 years ago

sirodeneko commented 2 years ago

Currently only supports RE_HAN_DEFAULT and RE_HAN_CUT_ALL, but I want to customize re_han, consider supporting it in the future

sirodeneko commented 2 years ago

as python can jieba.re_han_default = re.compile(r"(\S+)", flags=re.U)