hi, but without the AI, for such a string of 20 chinese character/word, GB.js wont know where to break it up. i am sure it will need a dictionary to only GUESS the breakpoint, and i am sure it wont perform as good as a human brain.
so, for this msg from zhihu.com
【知乎】你的验证码是 698449，此验证码用于登录知乎或重置密码。10 分钟内有效。
I just wish it to fill the screen space, and when that line is full, make a new line.
thus if the screen allow 15 characters, pls simply output:
ANYONE who knows chinese could interpret as long as the sequence is unchanged, nothing like space nor punctuations are added.
To the extreme, as i mentioned before, even you cut at every character/word and dont change the sequence, nothing added (except make a new line), every one could still understand.
Any breaking it up into phrase of 2-3 characters introduced space which could imply an opposite meaning so I completely disagree on that.
© Espruino, powered by microcosm.
Report a problem