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

Shortcut

The Shortcut tag to define a shortcut that annotators can use to add a predefined object, such as a specific label value, with a hotkey or keyboard shortcut.

Use with the following data types:

  • Audio
  • Image
  • HTML
  • Paragraphs
  • Text
  • Time series
  • Video

Parameters

Param Type Default Description
value string The value of the shortcut
[alias] string Shortcut alias
[hotkey] string Hotkey
[background] string "#333333" Background color in hexadecimal

Example

Basic labeling configuration to add a shortcut that places the text SILENCE in a given Text Area while doing transcription.

Note: The default background color for the Shortcut tag is grey color.

You can change the background color using text or hexadecimal format in the background parameter.

<View>
  <TextArea name="txt-1">
    <Shortcut alias="Silence" value="SILENCE" hotkey="ctrl+1" background="#3333333" />
  </TextArea>
</View>

In this article

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