plint

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

commit afcb5fa6fecc60df80276a58741d4ac93f859318
parent 22489045c78522c65264ce257043113cde97a20c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 11 Aug 2019 22:18:48 +0200

typo

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

diff --git a/vowels.py b/vowels.py @@ -105,7 +105,7 @@ def possible_weights_seed(chunk): chunk['text'][-3:-1] == 'ou'): return [3] # antiaérien; but let's play it safe - if (chunk['text'].contains("iaé"): + if "iaé" in chunk['text']: return [2, 3] if chunk['text'] in ['ai', 'ou', 'eu', 'ei', 'eau', 'au', 'oi']: return [1]