go-ego / gse

Go efficient multilingual NLP and text segmentation; support English, Chinese, Japanese and others.
Apache License 2.0
2.57k stars 215 forks source link

Float should not be split #114

Closed mkdreams closed 3 years ago

mkdreams commented 3 years ago

Split “ loss of 76.7”. I got "loss / of / 76 / . / 7", I want got "loss / of / 76 . 7".

What i can do?

vcaesar commented 3 years ago

The seg.Cut(text) and seg.Cut(text, false) is splited, seg.Cut(text, true) use the hmm mode, emm...

mkdreams commented 3 years ago

The seg.Cut(text) and seg.Cut(text, false) is splited, seg.Cut(text, true) use the hmm mode, emm...

nice