plint

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

commit 1a98b80250a41309f5ab1a41f0525a8d2b832f4d
parent 5bad7afd4a90eb76b2ad2fe5be9a8de4fe70e5c0
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 25 Oct 2020 15:50:24 +0100

address question

Diffstat:
plint/chunk.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/plint/chunk.py b/plint/chunk.py @@ -28,8 +28,12 @@ class Chunk: self.causes_hiatus = None self.elidable = None self.word_end = False - # TODO What is a weight without s? + + # self.weight contains the weight attributed to the chunk when fitting + # all chunks of the verse (function fit in chunks.py) to respect the + # metric self.weight = None + self.verse = verse def __repr__(self):