plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit a2a27f077454a37a8997d92f0f1b5618aeed9924
parent d89bfe7d0c5afcae1fc2e1f69d6f8b632793bffd
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 27 Apr 2012 18:07:04 +0200

other weird vowel chunk exception to make boileau happy

Diffstat:
vowels.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vowels.py b/vowels.py @@ -19,7 +19,7 @@ def possible_weights(chunk): # old spelling and weird exceptions if chunk in ['ouï']: return [2] - if chunk in ['eüi', 'aoû']: + if chunk in ['eüi', 'aoû', 'uë']: return [1] if contains_trema(chunk): return [2]