Text
Guide for labeling text data.
When you attach a text data row to a project, the Labelbox will automatically adjust the editor interface for text labeling.
Import text data
To learn how to text data to Labelbox, visit our docs on Importing text data.
Supported annotation types
Below are all of the annotation types you may include in your ontology when you are labeling text data. Classification-type annotations can be applied at the global level and/or nested within an object-type annotation.
Feature | Import annotations | Export annotations |
---|---|---|
Entity | See payload | See payload |
Relationships | See payload | See payload |
Radio classification | See payload | See payload |
Checklist classification | See payload | See payload |
Free-form text classification | See payload | See payload |
Text entity
Create an entity by clicking the desired starting character and dragging to select a sequence of characters in the unstructured text.
The characters in a text file are not restricted to a single annotation. Therefore, entity annotations can overlap completely or partially.
Relationship
With the annotation relationships feature, you can create and define relationships between entity annotations in unstructured text. You can then use these annotation relationships to consolidate labeling workflows and potentially reduce the number of language models needed.
Create an annotation relationship with the following steps:
- Create two entity annotations.
- Use Option + Click to create a relationship between the entity annotations.
- Define the relationship, selecting from the existing tools in your ontology.
Relationships can be undefined
If desired, a relationship between two annotations can be defined with without a value. This denotes a direct relationship between the annotations without any extra modifiers.
Text-specific hotkeys
Function | Hotkey | Description |
---|---|---|
Create a relationship | Option + Click (source) + Click (target) | Select an entity to be the source of a relationship, then select another entity to be the target. |
Updated 4 days ago