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

Include project layers in JSON export even if there are no annotations on that layer #5111

Open
reckart opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
⭐️ Enhancement New feature or request
Milestone

Comments

@reckart
Copy link
Member

reckart commented Nov 1, 2024

Is your feature request related to a problem? Please describe.
The UIMA JSON CAS export includes an optimization where type definitions from the type system section are omitted if there is no annotation of the corresponding type in the CAS. Consider the following scenario:

  • user creates a project in INCEpTION
  • uploads a document and then exports it as JSON CAS
  • then loads it in Cassis and tries to add an annotation using one of the layers from the project
  • at this point the type is not found in the exported CAS because no annotation exists in INCEpTION yet

Describe the solution you'd like
The UIMA JSON CAS export should always include all the types that belong to the INCEpTION project from which it was exported. However, unused DKPro Core types which also float around in the system should still be omitted from the type system section of the JSON unless corresponding annotations exist in the CAS.

@reckart reckart added the ⭐️ Enhancement New feature or request label Nov 1, 2024
@reckart reckart added this to the 35.0 milestone Nov 1, 2024
@reckart reckart self-assigned this Nov 1, 2024
@reckart reckart added this to Kanban Nov 1, 2024
@github-project-automation github-project-automation bot moved this to 🔖 To do in Kanban Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐️ Enhancement New feature or request
Projects
Status: 🔖 To do
Development

No branches or pull requests

1 participant