A component for text segmentation.
Use it to select multiple words, individual words, or letters in the text and label them with values. You can create multiple categories to label parts of the text, like all nouns and adjectives.
View exampleYou can use plugin.field.text-annotation.hotkeys to assign keyboard shortcuts for selecting categories.
Name | Type | Description |
---|---|---|
type * | "field.text-annotation" | Set component type. |
data * | writable | Data with values that will be processed or changed. Learn more about working with data. |
label | string | Label above the component. |
adjust | string | If the property value is set to words , only words can be selected in the text. If you don't use this property, any part of a line can be selected. |
content * | string | The text where a Toloker has to select part of a line. |
disabled | boolean | This property blocks the component. If true , the component is unavailable to a Toloker. The default value is false . |
hint | string | Hint text. |
labels * | array | An array of categories that a Toloker uses to label parts of the text. |
labels[] | object | A category. |
labels[].label * | string | Specify the category name in the label property. |
labels[].value * | string | Specify the category value in the value property. |
validation | condition | Validation based on condition. |
Last updated: May 26, 2023