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

Null values in imported annotations. #84

Closed alvi-khan closed 1 year ago

alvi-khan commented 1 year ago

Steps to reproduce:

  1. Annotate some samples and make sure to use the 'Skip' button at least once. This creates an empty slot in the array storing the annotations.
  2. Export the annotations and import them again.
  3. Try to export the annotations again.

Expected Result: Annotations export normally.

Actual Result: Annotations fail to export. Console shows an error claiming there is a 'null' value in the annotation list.