-
Notifications
You must be signed in to change notification settings - Fork 0
Labelling configuration
mkaraki edited this page Dec 16, 2022
·
2 revisions
You have to put configuration file to dataset/%id%/config.php.
You have to configure type and src.
<?php
$teachInfo = array(
'type' => 'audio',
'src' => array(
'1.mp3',
'2.mp3',
),
);You can decide title for labelling dataset.
Specified title shown in UI and title Element.
<?php
$teachInfo = array(
'title' => 'Super Fantastic Dataset',
...
);Specified instruction shown in label Element to describe what to do.
<?php
$teachInfo = array(
'instruction' => 'Type some text',
...
);Specify input type.
These values are accepted:
-
text: 1 line text. Default input type. Use <input type="text"> for input. -
multiline: multi line text. Use <textarea> for input. -
select: select 1 item from list. You have to setup Input Variation Use <select> for input.
<?php
$teachInfo = array(
'input' => 'mulltiline',
...
);<?php
$teachInfo = array(
'input' => 'select',
'inputVariation' => array(
'Good',
'Bad',
),
...
);If put disable to following index and disable unused feature:
-
disablePortal: Disable Portal -
disableView: Disable View and CSV -
disableSources: Disable source list