plint

French poetry validator
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit 5d9e2db6598a5b2dace0dc57d563def00764e14d
parent a73118f16c4f362b206bae03679b84a793615402
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 27 Apr 2012 19:12:08 +0200

vowel exception

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

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