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

UD alignment: interaction of :correct and :subt for multiword token #79

Open
nschneid opened this issue Apr 1, 2023 · 1 comment
Open

Comments

@nschneid
Copy link
Contributor

nschneid commented Apr 1, 2023

We have an instance of cant which is a misspelling of can't. In EWT, there are two words, the second of which is nt with CorrectForm=n't.

In CGEL, should this be

(V_aux :t "cant" :correct "can't" :subt "ca" :subt "n't")

or

(V_aux :t "cant" :correct "can't" :subt "ca" :subt "nt")

I.e. are subtoken corrections incorporated into the :subt? Or is :subt strictly for unnormalized surface strings? Note that the MWT string in UD is cant.

@nschneid
Copy link
Contributor Author

nschneid commented Apr 1, 2023

align_tokens.py currently interprets :subt as part of the surface string, so it doesn't reflect any corrections.

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

1 participant