tags
- Introduction
Object Tags
- Audio
- HyperText
- Image
- Paragraphs
- Table
- Text
- TimeSeries
- Video
Control Tags
- Brush
- BrushLabels
- Choice
- Choices
- DateTime
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
- VideoRectangle
Visual & Experience Tags
- Collapse
- Filter
- Header
- Repeater
- Style
- View
Choice
The Choice
tag represents a single choice for annotations. Use with the Choices
tag or Taxonomy
tag to provide specific choice options.
Parameters
Param | Type | Description |
---|---|---|
value | string |
Choice value |
[selected] | boolean |
Specify whether to preselect this choice on the labeling interface |
[alias] | string |
Alias for the choice. If used, the alias replaces the choice value in the annotation results. Alias does not display in the interface. |
[style] | style |
CSS style of the checkbox element |
[hotkey] | string |
Hotkey for the selection |
Example
Basic text classification labeling configuration
<View>
<Choices name="gender" toName="txt-1" choice="single">
<Choice value="Man" />
<Choice value="Woman" />
<Choice value="Nonbinary" />
<Choice value="Other" />
</Choices>
<Text name="txt-1" value="John went to see Mary" />
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!