News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written (2015) by peterburkimsher on Monday August 21, 2017 @09:04PM (#15068973)
I wrote a pretty-printer for bash scripts using PHP. Colouring the keywords was fun, but I moved on to other personal projects instead of tackling line breaks.

More recently I've been trying to learn Chinese, and one of the features of Pingtype is to put spaces between words.

http://pingtype.github.io

To my surprise, this article linked to a Wikipedia page about line wrapping, which says that line wrapping in CJK is unsolved.

https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Word_w...

"Most existing word processors and typesetting software cannot handle either [personal names or compound words]."

My method works, but I don't know who to give it to. This is Hacker News and there's people from all different backgrounds here, so I'll just throw it out there - if anyone is interested, please contact me.

Re:The Hardest Program I've Ever Written (2015) by bmn__ on Tuesday August 22, 2017 @06:05AM (#15070963)
> if anyone is interested, please contact me

This is not how things are done. Just put your code and documentation on the public Web, then submit the link to Hackernews or other relevant forums.

Re:The Hardest Program I've Ever Written (2015) by peterburkimsher on Tuesday August 22, 2017 @11:17AM (#15073215)
Re:The Hardest Program I've Ever Written (2015) by bmn__ on Wednesday August 23, 2017 @01:53PM (#15083585)
You are correct that no one is interested in yet another translation Web application, especially since it does not say how it's different or better than the rest. That's all anyone got to see so far.

If you want to be successful in communicating your improved method for word segmentation to the world at large, extract the code, publish it, and document the relevant details what makes it better and how it compares against existing solutions.

I am a hobby computational linguist. "Contact me" is an outmoded concept, most of us are doing our collaboration in the open.