compare_tts
Compare TTS audio to expected text to detect mispronunciations, word insertions/deletions, and compute Word Error Rate.
Instructions
Compare TTS audio output against expected text — identifies mispronunciations, inserted/deleted words, and Word Error Rate (WER)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language code (default: en) | en |
| audio_path | Yes | Path to the TTS audio file | |
| expected_text | Yes | The text that was supposed to be spoken |