Prompt-echo rule should catch fragments of a vocabulary term, not only the whole term #576
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #569 / #570. On the dev replay the echo rule dropped 1 segment; 9 echoes survived because Whisper regurgitates a piece of a term from the
initial_prompt, not the whole thing: "Fulfillment" (last word of Office of Prophetic Fulfillment), "Mimic" and "Mimic's" (head of Mimic's Slime). Each appeared alone on a line, several times, across different speakers, on near-silent audio.Proposed rule. A segment whose normalised tokens (one or two of them) form a contiguous sub-span of a non-person vocabulary term is an echo, provided the matched token is at least five letters long or is capitalised in the term (so "Office" and "Prophetic" match, "of" does not) and the segment is not also an ordinary dictionary word that people say alone. Keep the people allow-list exactly as it is: a fragment of a person's name ("Viq") is plausible speech.
Also count repeats of a person's name. "The Miller, The Miller" is the same term echoed twice in one segment; a real speaker saying a name twice is possible but rare, and the repeated form is the echo signature. Suggest dropping a segment that is exactly a person-name term repeated two or more times with nothing else, while keeping the single form.
Tests: the three fragments above dropped; "Theo!" kept; "Theo, Theo!" dropped; "office" inside a sentence kept.