From 7eb5fde20547b02eae53bf2c0eb27f3401a56fa7 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Sat, 17 Aug 2019 12:10:24 +0200 Subject: [PATCH] Correct placement of syllabs, get also their length --- karaUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karaUtils.py b/karaUtils.py index aaa3885..c47d07e 100755 --- a/karaUtils.py +++ b/karaUtils.py @@ -28,7 +28,7 @@ def dateToTime(date): for line in LINES_KARA.findall(CONTENT): lastTime = dateToTime(line[0]) for couple in RGX_TAGS.findall(line[2]): + SYLS.append((lastTime, couple[1], couple[0])) lastTime += int(couple[0]) - SYLS.append((lastTime, couple[1])) print(SYLS) -- GitLab