Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx format problem when using -id argument #25

Open
PanosAntoniadis opened this issue Jul 14, 2019 · 1 comment
Open

Sphinx format problem when using -id argument #25

PanosAntoniadis opened this issue Jul 14, 2019 · 1 comment

Comments

@PanosAntoniadis
Copy link

In Sphinx format the hypothesis file has the following form:

hypothesis_text (file_id score)

while transcriptions:

transcription_text (file_id)

So when I run the wer command the following error occurs:

$ wer transcriptions hypothesis -id
Reference and hypothesis IDs do not match! ref="(data_005)" hyp="-7716)"
File lines in hyp file should match those in the ref file.

I think this occurs because you have not take into account the score parameter. It compares the file id of the transcriptions to the score instead of the file id of the hypothesis.

@belambert
Copy link
Owner

Hi @PanosAntoniadis , it's been a while since I looked at the Sphinx output files, and it's possible they've changed in the meantime. Perhaps Sphinx has an option to not output the scores? Or maybe you'd like to submit a PR with a fix?

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

No branches or pull requests

2 participants