Skip to content

Entity start and end positions should be validated #120

@alvi-khan

Description

@alvi-khan

The issue was originally identified in #112. When setting annotations on the current sentence, we should validate that the start and end positions of all entities are within the acceptable range. Since annotations can be imported, there may be cases where an invalid annotation has been imported, thus leading to this issue. An error should be shown and the invalid entities should be discarded.

It would be best if we can perform this validation when importing the annotations instead of when viewing a particular sentence.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions