Give an audio file its own cleanup rules, written for subtitles

Cleaning up a dictation and cleaning up a file are not the same job, and until
now they shared one prompt. A dictation is read afterwards, so dropping a
filler and tightening a sentence is a favour. A file becomes an SRT, and there
the same favour is damage: the viewer hears the words while the line is on
screen, so a word that was said and is not written is noticed, and a phrase
pulled onto the line above is on screen before it is spoken.

So the file path gets its own system prompt. It says what the text is and what
it is for, and it spends its room on the one repair only context can make: the
word the transcriber misheard. Speech models fail phonetically on names, and
somebody talking about Anthropic said "Claude", not "cloud". The lines stay
where they are, nothing is shortened, nothing is turned into an abbreviation,
and the filler words stay because they were said out loud.

The glossary and the timestamp rule are appended as before, so a name listed
under Cleanup rules still reaches this prompt, and a timestamped run still gets
told to leave the stamps alone. The dictation prompt is untouched, and so are
the meeting and agent paths.

Cleanup rules now has a tab each. An untouched prompt is still stored empty, so
switching the interface language keeps switching the prompt language with it.
This commit is contained in:
yusufipk
2026-07-30 23:06:40 +07:00
parent d05bab4f98
commit da3dc3c908
6 changed files with 148 additions and 16 deletions
+11
View File
@@ -206,6 +206,13 @@ TR = {
"how much it may touch your words.":
"Temizleme modeline verilen sistem talimatı. Ne kadar müdahale edeceğini "
"burada belirlersin.",
"Dictation": "Dikte",
"Used instead when an audio or video file is cleaned up. It is written for "
"subtitles: lines stay where they are, nothing is shortened, and misheard "
"words are repaired from the context.":
"Bir ses ya da video dosyası temizlenirken bunun yerine bu kullanılır. "
"Altyazı için yazılmıştır: satırlar yerinde kalır, hiçbir şey kısaltılmaz, "
"yanlış duyulan kelimeler bağlamdan düzeltilir.",
"Reset to default": "Varsayılana döndür",
"Names and terms you say often (optional). They go to the transcription "
"model as a hint, and to the cleanup model as a glossary, so it can repair "
@@ -228,6 +235,10 @@ TR = {
"Her bölümün başına [dd:ss] koyar. Bölüm zamanı döndüren tek model olan "
"whisper-1, seçtiğin sağlayıcı üzerinden kullanılır.",
"Run the cleanup model afterwards": "Sonrasında temizleme modelinden geçir",
"With its own rules, under Cleanup rules: written for subtitles, so the "
"lines keep their place and nothing is shortened.":
"Kendi kurallarıyla, Temizleme kuralları sekmesinin altında: altyazı için "
"yazılmıştır, satırlar yerinde kalır ve hiçbir şey kısaltılmaz.",
"Transcribe": "Yazıya çevir",
"Stop": "Durdur",
"Copy": "Panoya kopyala",