-
Notifications
You must be signed in to change notification settings - Fork 5
Examples
Moritz Wolf edited this page Feb 2, 2022
·
3 revisions
- Copy and rename /example/protocol_example_picture.yml to /protocol.yml
- Run setup.sh
- Log in with your administrator account and upload the folder /example/picture
- Upload the file /example/data_example_picture.csv
- Go back to home and start annotating.
- Copy and rename /example/protocol_example_text.yml to /protocol.yml
- Run setup.sh
- Log in with your administrator account and upload the file /example/data_example_text.csv
- Go back to home and start annotating.
An example of a full AP ready for deployment:
%YAML 1.2
---
start:
type: loadText
transitions:
- next:
target: 'hateful'
'hateful':
type: boolean
question: Is this a hateful comment?
column: test
transitions:
- 'YES':
target: 'primary_target'
- 'NO':
target: 'end'
'primary_target':
type: select
question: Who is the primary target?
options: ['refugee', 'politician', 'other']
transitions:
- '*':
target: 'targets'
'targets':
type: checkmark
question: Check all targets.
options: ['refugee', 'politician', 'other']
transitions:
- '*':
target: 'labels'
'labels':
type: labelText
question: Label all targets in the text.
from: 'targets'
# options: ['refugee', 'politician']
transitions:
- '*':
target: end