plint

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

commit af3cc35b105672b1f508af7b38387b8b1d8109c6
parent 35f5907c0a544eeee9ea80e0c9cc8f4296055bb5
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 11 Aug 2019 00:02:34 +0200

-TODO, add explanation

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

diff --git a/TODO b/TODO @@ -1,6 +1,3 @@ -- le h non aspiré fait hiatus -- "et" suivi d'une voyelle fait hiatus - ./train_diaeresis.sh does not correctly handle "oublieux" despite many occurrences in additions, what is going on? diff --git a/verse.py b/verse.py @@ -330,6 +330,7 @@ class Verse: w[-1]['elidable'] = self.chunks[i+1][0]['elision'] # annotate hiatus and ambiguities + # this forbids essentially all endings with "e" preceded by a vowel ambiguous_potential = ["ie", "ée", "ue"] for i, w in enumerate(self.chunks[:-1]): if w[-1]['text'] == "s":