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

Option to Output Only Gold Annotations #7

Open
mr-martian opened this issue Jul 21, 2022 · 2 comments
Open

Option to Output Only Gold Annotations #7

mr-martian opened this issue Jul 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mr-martian
Copy link

Currently the export command outputs both gold and silver data. It would be useful to me if there were an option to specify that I only want to export the annotations that I have marked gold, with the rest being left blank.

A JSON dump equivalent to the Copy JSON button in the browser interface would also be fine for my purposes, if that's easier.

@lgessler lgessler added the enhancement New feature or request label Aug 6, 2022
@lgessler
Copy link
Collaborator

lgessler commented Aug 6, 2022

My reaction is to think this is somewhat niche functionality so I guess I'm unsure on whether it's worth it to implement in the core system. A possible workaround for your situation would be to check whether the quality attribute (e.g. :xpos/quality) is equal to "gold"(this is implemented on all annotations) and null out all annotations which do not satisfy this criterion. Does that make sense?

@mr-martian
Copy link
Author

Well, if the goal is to not just improve a silver corpus but actually produce a gold one, then exporting partial progress might be desirable.

But in any event, I can definitely extract what I need from the json representation, I just couldn't figure out how to straightforwardly do that exporting other than copy-pasting from the browser interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants