-
Notifications
You must be signed in to change notification settings - Fork 160
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
Using fast_align to train save the model in infer. #33
Comments
Hi, there. I am facing the same situation. Did you have an answer? |
Of course, you can use force_align.py ! |
First step, run: Second step: where heuristic is one of: (intersect union grow-diag grow-diag-final grow-diag-final-and) default=grow-diag-final-and , in.f-e is the file which you want to get alignment. |
@ru1996 |
Thanks! Got it now! |
Thanks @liesun1994 closing this for now ! |
my script is fast_align -i train.en-zh -d -o -v > forward.align why |
I would like to point out that if you want to run this using python 3.x, you should check ttwelve12's solution. |
Hello I have a large parallel corpus on which I used fast-align to get alignments but I have a few other sentences which are different from the original corpus for which I need to get alignment info. Is there a way so that I can use the knowledge learnt from large parallel corpus to directly get alignments for the smaller set of sentences.(Similar to saving checkpoint so that I can load checkpoint and get alignments).
Thanks in advance.
The text was updated successfully, but these errors were encountered: