plint

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

commit be9ca7797b530cf60c5fbcc53e464fa618495ff9
parent 75c86dbf10f920ffbb3654f714ad9a1c7e46c656
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 10 Sep 2017 17:51:25 +0200

make "ue" ambiguous

Diffstat:
TODO | 2--
verse.py | 2+-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/TODO b/TODO @@ -1,5 +1,3 @@ --ue and -ues should be ambiguous (except g/q) - Remerciez-le plutôt, et félicitez-vous - fuzz testing diff --git a/verse.py b/verse.py @@ -325,7 +325,7 @@ class Verse: w[-1]['elidable'] = self.chunks[i+1][0]['elision'] # annotate hiatus and ambiguities - ambiguous_potential = ["ie", "ée"] + ambiguous_potential = ["ie", "ée", "ue"] no_hiatus = ["oui"] for i, w in enumerate(self.chunks[:-1]): if w[-1]['text'] == "s":