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

Is it possible align phrase by phrase, not just word by word? #52

Open
fishfree opened this issue Feb 28, 2023 · 4 comments
Open

Is it possible align phrase by phrase, not just word by word? #52

fishfree opened this issue Feb 28, 2023 · 4 comments

Comments

@fishfree
Copy link

For many languages, there are lots of unpaired words, but lots of paired phrase.

@zdou0830
Copy link
Collaborator

It's possible as here we first compute subword alignments and then convert them to word alignments, thus we can use the same strategy to convert them to phrase alignments.

@lofti198
Copy link

lofti198 commented Mar 1, 2023

For many languages, there are lots of unpaired words, but lots of paired phrase.

Which language pair you use?

@fishfree
Copy link
Author

@lofti198 For example, English & Chinese.

@zdou0830 Thank you. Then need we manually annotate the gold prase alignment corpus first?

@zdou0830
Copy link
Collaborator

You'll need to do phrase segmentation and use this segmentation during inference. Changing our word-level self-training objective (detail in the paper) to phrase-level self-training objective may also be helpful. If you have gold phrase alignment information, you can also use our model in supervised settings (https://github.com/neulab/awesome-align#supervised-settings) to train the model.

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

3 participants