Skip to content

feat: add --transcript-column option to override dataset transcript field#10

Merged
karamouche merged 1 commit into
mainfrom
fix/handle-gt-column-missing
Jun 8, 2026
Merged

feat: add --transcript-column option to override dataset transcript field#10
karamouche merged 1 commit into
mainfrom
fix/handle-gt-column-missing

Conversation

@karamouche

Copy link
Copy Markdown
Owner

Summary

  • Adds --transcript-column CLI flag to noisekit generate to specify which dataset column to use as the transcript
  • Default behaviour is unchanged: tries textsentencetranscriptionnormalized_text in order
  • Raises a clear ValueError (listing available columns) if the specified column is missing, or if no default column is found

Test plan

  • --transcript-column text on FLEURS produces populated transcripts
  • --transcript-column nonexistent exits with a ValueError listing available columns
  • Omitting the flag on a dataset with none of the default columns raises a ValueError with a hint to use --transcript-column
  • Omitting the flag on FLEURS (has text) behaves identically to before

@karamouche karamouche merged commit 1472766 into main Jun 8, 2026
6 checks passed
@karamouche karamouche deleted the fix/handle-gt-column-missing branch June 8, 2026 19:40
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