On Tue, Aug 20, 2002 at 07:39:38AM -0400, John Cowan wrote: > Marco Cimarosti scripsit: > > > The issue is making the error window as narrow as possible. My assumption is > > that is common words such as "c'", "d'", "j'", "l'", "n'", "qu'", "s'", "t'" > > or "v'" are more common than edge cases like "prud'homme". > > How about this heuristic: > > Break after an apostrophe that is the second or third letter in the > word. Do not break after apostrophes that come later. This neatly > handles (I think) all the English, Italian, and Esperanto cases, and > a good many of the French ones.
In Esperanto, apostrophe comes either at the end of a word (instead of -o), or in definite article, but the latter case, unlike italian, is written with space after the article (l' Esperant') so you can stop worrying about this. -- ----------------------------------------------------------- | Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ | | __..--^^^--..__ garabik @ melkor.dnp.fmph.uniba.sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!

