Skip to content

feat: Add option to save phone-level confidence scores - #929

Open
Ariyan-Ch wants to merge 1 commit into
MontrealCorpusTools:mainfrom
Ariyan-Ch:save-phone-confidence
Open

feat: Add option to save phone-level confidence scores#929
Ariyan-Ch wants to merge 1 commit into
MontrealCorpusTools:mainfrom
Ariyan-Ch:save-phone-confidence

Conversation

@Ariyan-Ch

Copy link
Copy Markdown

This feature introduces a new --save_phone_confidence flag to the align_one command. When this flag is enabled, it saves a CSV file named <sound_file_name>_confidence.csv containing detailed phone-level alignment information. This information was already created, but never stored. This addition adds a flag to store that list of confidence scores.

The CSV file includes the following columns:

  • begin: The start time of the phone interval in seconds.
  • end: The end time of the phone interval in seconds.
  • phone: The phone label.
  • confidence: A confidence score for the phone alignment.

This feature provides users with valuable data for analyzing the quality of phone-level alignments and can be
particularly useful for tasks such as:

  • Identifying and correcting mispronunciations.

By providing access to phone-level confidence scores, this feature enhances the utility of the Montreal Forced
Aligner for a wide range of speech analysis and processing tasks.

@Ariyan-Ch
Ariyan-Ch force-pushed the save-phone-confidence branch from b51dd51 to c955aa1 Compare November 3, 2025 09:06
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