ner-annotator icon indicating copy to clipboard operation
ner-annotator copied to clipboard

Annotation import process is confusing.

Open arkob opened this issue 2 years ago • 5 comments

Can you add the feature to revise annotations? I have .json file with annotations done by your tool. I want to revise them and check. No option to open .json file and revise it.

arkob avatar Dec 10 '23 15:12 arkob

image

Hello! It's possible to open an existing annotation file by first opening the base text file and then importing the .json file using the menu option.

alvi-khan avatar Dec 11 '23 12:12 alvi-khan

Thank you. It works. I was initially confused by the warning message that it would discard all current annotations when I wanted to import it and the text file was open.

arkob avatar Dec 11 '23 12:12 arkob

I can see how the import process can be confusing. I've had more questions about this too. I'm keeping this issue open until this is improved.

alvi-khan avatar Dec 11 '23 19:12 alvi-khan

We should be able to import straight from the .json file since it already contains the text. Why is the .txt file necessary?

GiovanniNova avatar Mar 13 '24 15:03 GiovanniNova

We should be able to import straight from the .json file since it already contains the text. Why is the .txt file necessary?

The .txt and .json files aren't exactly the same unfortunately. For example, if you skip a sentence then the .json file has a NULL value in the place of the sentence.

I also disagree that we should import the text from the .json file. In my own experience, a major use case for importing the .json file is to review the annotations done by someone else. You would then be trusting that the .json file really did include all of the sentences from the original text and that the original text was unmodified.

alvi-khan avatar Mar 13 '24 21:03 alvi-khan

It would be a nice option thats all, a warning could be displayed when importing the .json without the .txt file.

GiovanniNova avatar Jun 10 '24 11:06 GiovanniNova