messense/jieba-rs

re_han custom

sirodeneko opened this issue · 1 comments

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

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