commit 1a2154ebf3fe7cc73b1436c7a981791eda2cdb02
parent 26698e8622e9335e0ceaab922b4206574b0a40fa
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 1 Feb 2014 13:23:00 +0100
change align2str call
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/verse.py b/verse.py
@@ -269,12 +269,12 @@ class Verse:
if 'weights' not in self.chunks[i].keys():
self.chunks[i]['weights'] = self.possible_weights_context(i)
self.chunks[i]['hemis'] = self.hemistiche(i)
+ self.text = self.align2str(self.chunks)
def parse(self):
self.annotate()
self.possible = self.fit(0, 0, self.pattern.hemistiches)
- self.text = self.align2str(self.chunks)
def contains_break(self, chunk):
return '-' in chunk['text'] or 'wordend' in chunk