Vocabulary cleaning strips a closing parenthesis and a trailing period from terms sent to Whisper #574
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?
vocabulary_service.clean_termstrips_EDGE_PUNCTUATIONfrom both ends of a term, so the ASR receivesViquilonto (Viq(unbalanced) andWhispering Lantern Supply Coinstead of the campaign's actual names. Seen in the 36-term list sent for the 2026-09-09 session, on prod and on the dev replay alike.The intent (drop a stray comma or quote a GM typed) is right; the rule is too broad. Keep edge stripping for quotes, commas, semicolons and dashes, but leave a closing bracket that has its opener inside the term, and leave a trailing period when the term ends in an abbreviation (
Co.,Mt.). Two tests: the two names above survive intact;"Aramore,"still becomesAramore.Low severity on its own; filed because an unbalanced parenthesis in an
initial_promptis one more thing for Whisper to echo (#569).