Open kamontat opened 7 years ago
Will this รู้สึก|เบื่อ|ๆ be acceptable?
น่าจะดีกว่านะครับ รู้สึก|เบื่อ|ๆ
I thing you should replace "ๆ" with " ๆ" before calling a cut function.
swath -b ' ' -u u,u <<<"เธอเฝ้าแต่คอยที่จะอ่านหนังสือไปเรื่อยๆ"
outputs: เธอ เฝ้า แต่ คอย ที่ จะ อ่าน หนังสือ ไป เรื่อยๆ
which looks correct.
swath -b ' ' -u u,u <<<"เธอเฝ้าแต่คอยที่จะอ่านหนังสือไปเรื่อยๆ"
outputs:เธอ เฝ้า แต่ คอย ที่ จะ อ่าน หนังสือ ไป เรื่อยๆ
which looks correct.
Isn't [เรื่อย, ๆ] easier than [เรื่อยๆ] for further processing?
A single non-composable glyph like ๆ is easy to find and process any which way, whether you put a space in front of it or not. I think officially you are supposed to always write it with a space in front, but people don't tend to do that. I guess it depends on your processing, I am fine either way.
พอโปรแกรมเจอ ไม้
ๆ
มันก็เพี้ยนเลย