commit d176b3c9a172ae41870184ce066bf5cbeab17639
parent f4498ba9a0dd2540b022274f7850fe011ea26bf6
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sun, 11 Aug 2019 21:53:19 +0200
+abbayes
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/verse.py b/verse.py
@@ -287,7 +287,7 @@ class Verse:
continue
must_force = False
if j > 0:
- # special cases of "pays", "alcoyle"
+ # special cases of "pays", "alcoyle", "abbayes"
c_text = chunk['text']
p_text = w[j-1]['text']
if j < len(w) - 1:
@@ -296,7 +296,10 @@ class Verse:
and n_text.startswith("s"))
or
(c_text == "oy" and p_text.endswith("lc")
- and n_text.startswith("l"))):
+ and n_text.startswith("l"))
+ or
+ (c_text == "aye" and p_text.endswith("bb")
+ and n_text.startswith("s"))):
must_force = True
new_word.append(chunk)
# force weight