Default W2TG "Use Speaker Adaptation" to on - #167
Merged
Conversation
The bundled Wav2TextGrid library hard-raises whenever the option is off:
ValueError("Disabling speaker adaptation is not supported as of now.")
so the previous default of False broke every out-of-the-box W2TG
alignment attempt — the user had to find and tick the box before the
aligner would run at all. On is the only value the library currently
accepts, so it is the only sane default to ship.
This was referenced Aug 19, 2026
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.
Split out of #163 so each change can be reviewed on its own.
What
One line: the
use_speaker_adaptationcheckbox in the Wav2TextGrid aligner configuration now defaults toTrue.Why
The bundled
Wav2TextGridlibrary hard-raises whenever the option is off:With the previous default of
False, every out-of-the-box W2TG alignment attempt failed — a new user had to find and tick the box before the aligner would run at all. On is the only value the library currently accepts, so it is the only default worth shipping.Note
This leaves the checkbox in place and still user-toggleable, so turning it off reproduces the library error. Removing or disabling the field entirely would be the more honest fix, but that is a larger UI change than this branch is for — worth a follow-up if reviewers agree.
Related