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

Add command option to print align scores #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

h-j-han
Copy link

@h-j-han h-j-han commented Jul 19, 2022

This PR is slight augmentation of adding command option to append forward and backward align scores on the alignment pairs.
(It's similar with #44 but more non-intrusive way :) , just modifying one python file. )

For examples,

  • Basic usage
$ python force_align.py fwd_params fwd_err rev_params rev_err
0-0 1-1 2-1 2-2 3-3 4-2 5-4 6-5 6-7 7-6 8-5
0-0 1-1 2-2 3-2 3-3 4-4 5-5 5-6 6-7 6-9 7-8 8-9 9-10
0-0 0-1 1-3 2-4 3-5
  • Added command option append forward and backward score separated with tabs.
$ python force_align.py fwd_params fwd_err rev_params rev_err grow-diag-final-and fwdbwd
0-0 1-1 2-1 2-2 3-3 4-2 5-4 6-5 6-7 7-6 8-5     -45.1583        -75.626
0-0 1-1 2-2 3-2 3-3 4-4 5-5 5-6 6-7 6-9 7-8 8-9 9-10    -68.421 -71.7015
0-0 0-1 1-3 2-4 3-5     -37.883 -14.6208

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