-
Notifications
You must be signed in to change notification settings - Fork 1
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
at_type property value specification for collections in app metadata #194
Comments
Until now, the most frequent use case of the "one-of" output spec was to record possible classification results. That is, we used "one-of" representation to represent the labelset information in the app metadata. However, as discussed in clamsproject/mmif#218 , we are likely to add a dedicated |
tl;drIn app metadata,
Open to any other suggestions! to specify a property with "a" valueThis is the only scenario that the current app metadata I/O spec is designed for. on
|
… re-generated markdown pages
fixed via clamsproject/apps@b620729 and d77cf64 |
Because
Currently in
v1.1.1
(3a9bfc8), input and output annotation specs in app metadata only support simple atomic types for specifying an additional property and their fixed value. One can add multiple type specifications with different property values to represent a range of possible values for the property ("one-of" spec, see #77), as for the output section of the app metadata always implies "any-of" the specified types.clams-python/clams/appmetadata/__init__.py
Line 15 in 3a9bfc8
clams-python/clams/appmetadata/__init__.py
Lines 72 to 75 in 3a9bfc8
However, aside from the fact that this hacky representation for "one-of" types is hardly agreeable to be particularly readable (as in https://apps.clams.ai/swt-detection/v3.0/), currently metadata schema doesn't allow a collection of values to an output type property that presents either "all-of" specification or more complex data types. (see clamsproject/mmif-python#252)
Done when
Based on the conclusion from clamsproject/mmif-python#252, the app metadata schema is updated and relevant helper methods are also updated.
Additional context
No response
The text was updated successfully, but these errors were encountered: