Skip to content

Default W2TG "Use Speaker Adaptation" to on - #167

Merged
BeckettFrey merged 1 commit into
mainfrom
feature/w2tg-speaker-adaptation-default
Aug 19, 2026
Merged

Default W2TG "Use Speaker Adaptation" to on#167
BeckettFrey merged 1 commit into
mainfrom
feature/w2tg-speaker-adaptation-default

Conversation

@BeckettFrey

Copy link
Copy Markdown
Member

Split out of #163 so each change can be reviewed on its own.

What

One line: the use_speaker_adaptation checkbox in the Wav2TextGrid aligner configuration now defaults to True.

Why

The bundled Wav2TextGrid library hard-raises whenever the option is off:

ValueError("Disabling speaker adaptation is not supported as of now.")

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

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant