bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word hyphenation in LilyPond version 2.18.2.


From: Urs Liska
Subject: Re: Word hyphenation in LilyPond version 2.18.2.
Date: Mon, 26 Dec 2016 09:50:55 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Am 26.12.2016 um 08:53 schrieb Werner LEMBERG:
>>>  Heutzutage gehen immer weniger Zuschauer in The-
>>>  ater, egal ob Opernauff├╝hrungen oder Sprechthea-
>>>  ter.
>>>
>>> For lyrics, you definitely need `The-a-ter'...
>>
>> But couldn't *that* be achieved with a rather trivial rule?
> 
> I don't think so.  We have `re-al' but `Teak-holz', to name a
> counterexample.
> 

Of course in contrast to you I haven't spent a lot of thought on
hyphenation throughout my life. So please bear with me if I'm speaking
nonsense. But I don't see these two as counterexamples. Remember that I
suggest applying the "lyrics" rule as a second pass. So:

"re-al" and "Teak-holz" are the results of the first pass, then:

Teakholz isn't interesting at all as it doesn't have vowels at syllable
borders.
The "e" and the "a" in "real" wouldn't match either because they *are*
vowels at syllable borders - but hyphenating them would leave the "r" or
the "l", which are no syllables anymore. So the rule would be "vowels at
the border of syllables with at least three letters (and at least one
other vowel?) can be hyphenated as a syllable in lyrics".

But surely I'm still missing something.
And of course I don't think it's necessary to catch 100% of the cases.
I'd say anything that is better than 50% is an improvement ...

Urs


> 
>     Werner
> 


-- 
Urs Liska
https://openlilylib.org
http://lilypondblog.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]