tecoholic / ner-annotator

Named Entity Recognition (NER) Annotation tool for SpaCy. Generates Traning Data as a JSON which can be readily used.
https://tecoholic.github.io/ner-annotator/
MIT License
548 stars 161 forks source link

Labels for current sentence are not updated on tag import. #79

Closed alvi-khan closed 1 year ago

alvi-khan commented 1 year ago

Steps to reproduce:

  1. Have an empty list of tags.
  2. Import annotations for the text. Annotations are marked 'Unlabelled'.
  3. Import tags.

Behaviour: Labels for current sentence remain 'Unlabelled'. Switching to a difference sentence and coming back causes the labels to update.

Expected Behaviour: Labels for current sentence should update immediately when tags are imported.

alvi-khan commented 1 year ago

Since #78 was resolved, the issue is now just regarding the colours, not the labels. The colours for the labels in the current sentence are not updated when tags are imported.