field.text-annotation

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 example

You can use plugin.field.text-annotation.hotkeys to assign keyboard shortcuts for selecting categories.

Component properties

NameTypeDescription
type*"field.text-annotation"Set component type.
data*writable

Data with values that will be processed or changed. Learn more about working with data.

labelstringLabel above the component.
adjuststringIf 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*stringThe text where a Toloker has to select part of a line.
disabledbooleanThis property blocks the component. If true, the component is unavailable to a Toloker. The default value is false.
hintstringHint text.
labels*arrayAn array of categories that a Toloker uses to label parts of the text.
labels[]objectA category.
labels[].label*stringSpecify the category name in the label property.
labels[].value*stringSpecify the category value in the value property.
validationconditionValidation based on condition.
Contact support

Last updated: May 26, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary