News for hackers. Stuff that matters.
Re:Knuth and Plass line breaking algorithm in JavaScript by fhars on Monday December 06, 2010 @12:33PM (#1976027)
English hyphenation rules are very simple and relaxed by continental standards. It is about the only language where such a simple and straightforward algorithm as the one in TeX (it doesn't even contain a full list of word stems and a rule engine for the (de)construction of composite words) can work.
Re:Knuth and Plass line breaking algorithm in JavaScript by lhorie on Monday December 06, 2010 @12:43PM (#1976055)
>> English hyphenation rules are very simple and relaxed by continental standards.

Really? From my experience, ESL students often don't understand the logic behind english syllables.

My point though, is that if different languages hyphenate differently and we're talking about sites with international user generated content (Facebook or Orkut come to mind), then it's not exactly trivial to hyphenate correctly.

Re:Knuth and Plass line breaking algorithm in JavaScript by ugh on Monday December 06, 2010 @12:50PM (#1976081)
I was told by my English teacher to just not hyphenate because the rules are crazy and inconsistent. Might be a British English thing, though.