plint

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

commit fc6e7212fbe54c3ee42920995714698484e90ef5
parent 4586a66d5f4303088fbb7b32d343f0d39c5021fb
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 14 Mar 2012 02:39:36 +0100

elide e with backtick to avoid ambiguity in align

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

diff --git a/metric.py b/metric.py @@ -107,7 +107,7 @@ def parse(text, bound): if sum([1 for chunk in words[i-1] if is_vowels(chunk)]) > 1: if words[i-1][-1] == 'e' and is_vowels(words[i][0], True): words[i-1].pop(-1) - words[i-1][-1] = words[i-1][-1]+"'" + words[i-1][-1] = words[i-1][-1]+"`" # group back words for word in words: