diff options
Diffstat (limited to 'scripts/repick.py')
| -rw-r--r-- | scripts/repick.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/repick.py b/scripts/repick.py index 5f75bcf..6a32e8a 100644 --- a/scripts/repick.py +++ b/scripts/repick.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -"""Vuelve a elegir el mejor candidato ya sintetizado, comparando numeros en palabras.""" +"""Picks the best already synthesized candidate again, comparing numbers as words.""" import json, os, shutil, sys, wave from difflib import SequenceMatcher @@ -29,7 +29,7 @@ def main(name, idxs): r = SequenceMatcher(None, norm(segs[i][0]), norm(got)).ratio() cands.append((r, k, w, got)) if not cands: - print(f" {i:02d} sin candidatos"); continue + print(f" {i:02d} no candidates"); continue cands.sort(reverse=True) for r, k, w, got in cands: print(f" {i:02d} seed{k} r={r:.2f} {dur(w):.2f}s | {got[:72]}") |