Multiple Label Sets
Last updated
Last updated
We are aware that one project does not always have one type of labeling. Datasaur can support multiple task types too.
Multiple label sets allows you to apply more than one type of labeling to a single project. Before we start, you can see the detailed information about label sets here. Note: multiple label sets can currently only be applied for multiple span-based label sets.
Creating multiple label sets is similar to creating a label set. You can create label sets manually or upload a label set file via a Custom Project and the Labels Extension.
On Step 3, Datasaur will automatically create Untitled Label Set 1. You are allowed to rename, add, remove, and reorder label sets. (Note: you can also slide labels to the right to nest them under other labels.)
Adding a new label set can be done by clicking the +
icon in the Label Set section. Datasaur allows up to 10 label sets maximum for a single project.
After the project is successfully created, you still will be able to change, add, and remove label sets.
Adding the label sets can be done by opening up your Labels extension, clicking the dropdown, then choosing +Add new label set
. You can create the label set manually or upload the label set file there.
If you would like to edit a label set, click the dropdown and select the desired label set.
After you select a label set, you can click the triple-dots and choose Edit label set. You can replace the selected label set by uploading a new one or choosing one of our built-in label sets.
Note: deleting the selected label set will remove any labels from that set in the current project.
Active Label Set refers to the currently applicable label set. It can be set or changed in the dropdown above the project.
For example, let's say you have a NER label set and a Stanford label set. After labeling the NER, you can switch to apply Stanford labels by selecting the appropriate label set from the label set dropdown.
Now the Stanford label set is active in your project. Stanford labels will turn to blue because they are active. You can now apply Stanford labels to the document.
Sometimes we require a project that combines token-based label sets with relational arrows. In some projects, those arrows may also require an additional label to specify the relation.
Creating a token-based project with arrows can be done by checking the setting for Allow arrows to be drawn between labels on Step 3. You can add both token label sets and arrow label sets in the Label Set section.
Note: if you don't want to label the arrows, an arrow set is not required.
After the project successfully created, your labeling interface will look like the screenshot below.
The second label set with an arrow icon indicates the label set to be applied to the arrow labels. Click the dropdown and select the appropriate label set.
You will be now be able to draw arrows and apply the corresponding labels.
Projects with multiple label sets can be exported to .json_advanced and .tsv_non_iob.