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

"Strict Mode" for tree extension #21

Open
glaserL opened this issue Mar 5, 2020 · 1 comment
Open

"Strict Mode" for tree extension #21

glaserL opened this issue Mar 5, 2020 · 1 comment

Comments

@glaserL
Copy link
Collaborator

glaserL commented Mar 5, 2020

A reviewer suggested implementing a strict mode when parsing PTB-like annotations in conll.

Currently, we heuristically determine which columns contain bracketing annotations and treat them differently. The reviewer suggested implementing an option that would enforce which columns that should happen to, in order to guarantee avoiding miss-guessing.

My current idea would be, to offer a parameter -s/--strict followed by the column indices that should be treated that way.

So in our sample bracketing file instead of calling it like:
./run.sh CoNLLBrackets2RDF http://replace.me/ WORD POS_ON PARSE_ON POS_PTB PARSE_PTB
the call would look like:
./run.sh CoNLLBrackets2RDF http://replace.me/ WORD POS_ON PARSE_ON POS_PTB PARSE_PTB -s 2 4

Of course, this is just a suggestion; I don't know if this could create conflicts with any other parameters I am currently not thinking about.

@chiarcos
Copy link
Contributor

chiarcos commented Mar 5, 2020 via email

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

2 participants