On Mon, 14 Nov 2005 09:54 pm, Luca Furini wrote:
> Manuel Mall wrote:
> > In preparation for the upcoming 0.90 release I was reviewing the
> > examples in examples/fo/basic. When looking at the output of
> > hyphen.fo I noticed that in both the English hyphenation example
> > and the German hyphenation example 4 consecutive lines ending with
> > hyphens were generated.
> >
> In BreakingAlgorithm::computeDemerits() we add
> "repeatedFlaggedDemerit" to the demerits due to the adjustment ratio
> if the previous node is a flagged penalty too. Maybe this value is
> too little, but I don't have the book at hand to check: at the moment
> it is 50. Anyway, it seems it's just an unfortunate case, the
> algorithm should be ok.

Hmm, just changed the value to 3000 (I think that's the value suggested 
in the article) and there is no change in hyphenation behaviour with 
the above mentioned example. That makes me a bit suspicious...

> Regards
>      Luca


Reply via email to