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

Types with array range break JSON typesystem parsing #281

Closed
jcklie opened this issue Mar 20, 2023 · 0 comments
Closed

Types with array range break JSON typesystem parsing #281

jcklie opened this issue Mar 20, 2023 · 0 comments

Comments

@jcklie
Copy link
Collaborator

jcklie commented Mar 20, 2023

If a typesystem uses an array for a range, it is encoded in the Json as

"tags" : {
        "%NAME" : "tags",
        "%RANGE" : "de.tudarmstadt.ukp.dkpro.core.api.metadata.type.TagDescription[]"
      },

The [] trips up the finding of types by name.

@jcklie jcklie added this to the 0.7.6 milestone Mar 20, 2023
@reckart reckart changed the title Types with array range break Json typesystem parsing Types with array range break JSON typesystem parsing Mar 21, 2023
reckart added a commit that referenced this issue Mar 21, 2023
- Fix handling of arrays marked using '[]'
- Also genenerate feature descriptions using this form for arrays
- Added test
reckart added a commit that referenced this issue Mar 21, 2023
- Fix handling of arrays marked using '[]'
- Also genenerate feature descriptions using this form for arrays
- Added test
reckart added a commit that referenced this issue Mar 21, 2023
…break-JSON-typesystem-parsing

#281 - Types with array range break JSON typesystem parsing
@reckart reckart closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants