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

Visualise pre-annotations outside of a NER task and within a Classification task - alternatively highlight text programmaticaly #6464

Open
simonabisiani opened this issue Oct 4, 2024 · 0 comments

Comments

@simonabisiani
Copy link

simonabisiani commented Oct 4, 2024

Hi,

Task:
My task is toponym disambiguations. I provide annotators with a toponym and a list of candidates, as options, from a knowledge base. To disambiguate, the annotators are given as context the news article in which the toponym is contained. To facilitate the task, I'd like to highlight in the news article the entity being disambiguated. Since the entity was extracted through NER previously, I imported the entities as pre-annotations.

Issue:
My issue is that whenever the Classification task is ongoing, the pre-annotations won't show. Instead, they will show in the DataManager if I click on each task and toggle between the pre-annotation model predictions and I presume what is the Classification task. See below a preview of what I see:
https://github.com/user-attachments/assets/7079c217-7c50-47cd-b914-999b7af7b84c

Workaround:
If a Classification task cannot support text highlighting through the addition of Labels (essentially if it cannot avoid treating it as a separate NER task), can I instead programmatically or conditionally highlight the text inside the article using XML/HTML or other?

I am happy to provide you with code or data examples.

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