nullwaves / frickative

/fɹɪk/
https://bk.auxjack.net/books/frickative
0 stars 0 forks source link

Disiallow Voice Crowding (#5) #14

Closed nullwaves closed 9 months ago

nullwaves commented 9 months ago

This setting, when checked, will prevent voiceless consonant from being placed between a voiced consonant and a vowel. The default state is checked.

if (preventCrowding && lastletter.Voiced)
{
    var unvoiced = acceptable.Where(x => !x.Voiced).ToList();
    foreach (var v in unvoiced)
        acceptable.Remove(v);
}