inception-project / inception

INCEpTION provides a semantic annotation platform offering intelligent annotation assistance and knowledge management.
https://inception-project.github.io
Apache License 2.0
600 stars 152 forks source link

Rejecting predictions using HTML (Apache Annotator) #4668

Open Serena290 opened 8 months ago

Serena290 commented 8 months ago

Describe the bug When I use an external recommender (sbert) and want to reject a prediction by double clicking it in one of my uploaded documents, it accepts it. So clicking once and doing a double click accepts predictions. This happens when using the Editor HTML (Apache Annotator).

Expected behavior When I double click a prediction, it gets rejected and not accepted.

Please complete the following information:

reckart commented 7 months ago

Hm, I think supporting the double-click-to-reject here is particularly difficult because a double-click on text actually creates a selection and a selection creates an annotation - and distinguishing between a case where a double-click on an annotation suggestion would reject it seems quite tricky - in particular if there are multiple suggestions at the same position or if there are suggestions and annotations overlapping with each other...