Comment on page
Text span categorization interface
When creating a dataset through the Python SDK, choose
text-span-categorization
as the task_type
to use this labeling interface.- Select a category by clicking on it.
- Add a label by selecting characters or words (spans can overlap). You can also label a single word by clicking on it.
- Remove a label by clicking on it.
- Highlight the matching characters by hovering over a label.
- Selecting a category:
- Use the numbers
1-9
to select a category.
- Adding a label:
- By default no text is selected - press the
right arrow
once to start using the keyboard for labeling. Use theleft arrow
to move the selection by one word to the left and theright arrow
to move the selection by one word to the right. - Press
space
to add a label. - Use
shift + right arrow
to add a character to the end of the selection andshift + left arrow
to remove a character from the end of the selection. - Use
shift + cmd/ctrl + right arrow
to add a word to the end of the selection andshift + cmd/ctrl + left arrow
to remove a word from the end of the selection.
- Removing a label:
- Move the selection so that it overlaps with the labels to be removed and press
backspace
to remove the label.
Last modified 1mo ago