aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/repick.py
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2026-09-26 20:50:41 -0300
committerElvis Claros Castro <elvis@claros.ar>2026-09-26 20:50:41 -0300
commitfafaebb051907a848a9406f9da19669c81a83a3b (patch)
treec30ea26e6b549e5523af2bae5c39569e9a946b12 /scripts/repick.py
parent59355909f2de9236af8168a26c70bcf6caa3b285 (diff)
download100cia-videos-main.tar.gz
100cia-videos-main.zip
Translate code, comments and logs to English; English README; configurable paths and env varsHEADmain
Identifiers, docstrings, comments and console messages are now in English. Narration, subtitles and on-screen text stay in Spanish (they are the video content). The Blender <-> Godot physics protocol uses English keys and body prefixes chosen to keep the original creation order, so cached simulations and renders stay bit-identical. The old Spanish environment variable names are still accepted.
Diffstat (limited to 'scripts/repick.py')
-rw-r--r--scripts/repick.py4
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]}")