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

Only one rule is applied in corpus-specific->UD conversion #23

Open
peterdekker opened this issue Jun 25, 2018 · 0 comments
Open

Only one rule is applied in corpus-specific->UD conversion #23

peterdekker opened this issue Jun 25, 2018 · 0 comments

Comments

@peterdekker
Copy link
Contributor

peterdekker commented Jun 25, 2018

When converting from corpus-specific to UD tags, only one mapping rule is applied. https://github.com/INL/clariah-fcs-endpoints/blob/master/src/main/java/org/ivdnt/fcs/mapping/ConversionEngine.java#L480

This can give strange results, for example giving "Neut" to a noun, without also giving "N": N(eigen,mv,dim):[Neut]

This might be solved by allowing multiple rules to be applied: but this gives new problems, because currently the program relies on just applying the most complex (longest) rule.
Another solution would be allowing multiple-to-multiple mappings, outputting multiple features in UD: #24

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