NEW RELEASE Label Studio 1.15.0 with new tools for PDF labeling 🤖

ParagraphLabels

The ParagraphLabels tag creates labeled paragraphs. Use with the Paragraphs tag to label a paragraph of text.

Use with the following data types: paragraphs.

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the paragraph element to label
[choice] single | multiple single Configure whether you can select one or multiple labels
[maxUsages] number Maximum number of times a label can be used per task
[showInline] boolean true Show labels in the same visual line

Example

Basic labeling configuration to label paragraphs

<View>
  <ParagraphLabels name="labels" toName="prg">
    <Label value="Statement" />
    <Label value="Question" />
  </ParagraphLabels>
  <Paragraphs name="prg" value="$dialogue" layout="dialogue" />
</View>

In this article

  1. Parameters
  2. Example
Designed for teams of all sizes Compare Versions