fix(stt): improve Soniqo Qwen transcript coverage#5282
Closed
ComputelessComputer wants to merge 1 commit into
Closed
fix(stt): improve Soniqo Qwen transcript coverage#5282ComputelessComputer wants to merge 1 commit into
ComputelessComputer wants to merge 1 commit into
Conversation
Normalize Soniqo language hints to ISO codes and pad short Qwen audio chunks so VAD-split speech is not dropped.
✅ Deploy Preview for old-char canceled.
|
Collaborator
Author
|
Closing as superseded by #5284. Since Soniqo Omnilingual and Qwen are being removed from the selectable local STT model list, we do not need to carry improvements specific to Qwen transcription right now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Normalize Soniqo language hints to ISO codes and pad short Qwen audio chunks so VAD-split speech is not dropped.
Note
Medium Risk
Behavior changes in Soniqo transcription (language hint mapping and Qwen3 chunk handling) may alter transcript output and edge-case coverage, but does not touch security-sensitive logic.
Overview
Improves Soniqo batch transcription by normalizing language hints from BCP-47 (e.g.
en-US) to an ISO-639 code (e.g.en) viasoniqo_language_hint, with a regression test to lock the behavior.Updates the Soniqo Swift bridge’s Qwen3 path to pad sub-1-second audio up to a minimum sample count and run chunking/transcription on the padded buffer, preventing very short segments from returning empty transcripts.
Reviewed by Cursor Bugbot for commit 8058747. Bugbot is set up for automated code reviews on this repo. Configure here.