-
Notifications
You must be signed in to change notification settings - Fork 297
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
Support batch-wise forced-alignment #970
Support batch-wise forced-alignment #970
Conversation
After running the script For example:
In
|
This PR aims to support getting forced-alignments for transducer models. It is modified from the function
modified_beam_search
inbeam_search.py
. We assume that the maximum number of sybmols per frame is 1. The best alignment in the k-beams is used as the result. We will get both word-level alignments and token-level alignments.It is based on #239, but it supports batch-wise computation.