Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[turn annotations static] more customization (annotation question, buckets, speaker label) #3926

Merged
merged 4 commits into from Aug 19, 2021

Conversation

meganung
Copy link
Contributor

Adds ability to customize the annotation question, annotation buckets, and speaker label for each utterance.
In the task data (data_dicts) passed into the front end, if there is an 'annotation_question', 'annotation_buckets', or 'speaker_label' provided, it will override the defaults and the annotation buckets file config passed in.

To properly specify/override defaults for an utterance:
'annotation_buckets' should be type dict, with the same format as the annotation buckets config file that can be passed in.
'speaker_label' should be type str
'annotation_question' should be type str

Testing e.g.
image

@jxmsML
Copy link
Contributor

jxmsML commented Aug 18, 2021

LGTM!! thanks for the generalization 🚀

@meganung meganung merged commit 3a86e21 into master Aug 19, 2021
@meganung meganung deleted the more_customization_sta branch August 19, 2021 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants