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

No duration or confidence info for alignments #1735

Open
AhmedSalah98 opened this issue Sep 2, 2024 · 2 comments
Open

No duration or confidence info for alignments #1735

AhmedSalah98 opened this issue Sep 2, 2024 · 2 comments

Comments

@AhmedSalah98
Copy link

I've tried generating alignments for a pruned_transducer_stateless7 model using https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/pruned_transducer_stateless7/compute_ali.py. Looking at the output cuts I can only find the start times for tokens/words. Is there a way to get the duration and confidence info too?

@csukuangfj
Copy link
Collaborator

Sorry, we can only get the start time of a token for transducer models.

@AhmedSalah98
Copy link
Author

AhmedSalah98 commented Sep 3, 2024

Is it safe to assume that the end time for the token is the start time of the next token? It wouldn't be accurate if there's some silence between words unless the aligner can predict blank tokens. Can this be achieved?
As for the confidences, I've thought about estimating it from log_probs like here #1092

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