Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Format Mismatch for NER data export from Doccano Editor vs. ArcGIS Format #1764

Open
Daremitsu1 opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels

Comments

@Daremitsu1
Copy link

Describe the bug
The JSON format exported from Doccano's text editor for labeling tasks is currently structured with keys "id", "text", and "label", whereas ArcGIS expects the format to contain "labels".

Might not be a bug per se, and by changing it to labels it is working. But since Doccano is being advertised as the primary text editor for ArcGIS annotations if this could be adjusted, would be great.

To Reproduce
Steps to reproduce the behavior:

  1. Create annotations in doccano and export them.
  2. Read the data using prepare_data from arcgis.learn.

Expected behavior
ArcGIS should be able to parse JSON files exported from Doccano without any modifications, allowing users to seamlessly import labeled data for further analysis and visualization.

Platform (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari] chrome
  • Python API Version [e.g. 1.6.2] (you can get this by typing print(arcgis.__version__) 1.8.4

Additional context
Add any other context about the problem here, attachments etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants