-
Notifications
You must be signed in to change notification settings - Fork 5
Examples
Moritz Wolf edited this page Apr 21, 2021
·
3 revisions
- Copy and rename /example/protocol_example_picture.json to /protocol.json
- 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.json to /protocol.json
- 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 parsing.
{
"start": {
"type": "loading",
"transitions": [["onDone", "s0"]]
},
"s0": {
"type": "read",
"question": "Carefully read the comment and its context below.",
"transitions": [["NEXT", "s1"]]
},
"s1": {
"type": "boolean",
"question": "Is this a hateful comment?",
"column": "hateful",
"saveAll": true,
"transitions": [["YES", "s2"],
["NO", "end"]]
},
"s2": {
"type": "select",
"question": "Who is the target?",
"options": ["refugee", "politician", "other"],
"nextState": "s3",
"transitions": [["migrant"], ["save"],
["politician", ["save"]],
["other"]]
},
"s3": {
"type": "checkmark",
"question": "What are the topics of the comment?",
"options": ["health", "economy", "environment", "other"],
"transitions": [["NEXT", "s4", ["save"]]]
},
"s4": {
"type": "label",
"question": "Label all topics.",
"transitions": [["NEXT", "end", ["save"]]]
}
}