Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
100K - 1M
Tags:
turn-taking
License:
Filename of each json are represented like this :
<corpusName>_<NumberOfSpeaker>_<split>.json
Each json file contains a list of dictionaries, each dictionary representing a conversation turn with the following keys:
caller: The speaker of the turn (e.g., "Speaker 1", "Speaker 2").next_caller: The next speaker in the conversation (e.g., "Speaker 2", "Speaker 1").act_tad: The DAMSL act tag for the turn (e.g., "Statement-opinion", "Question-yesno").text: The text of the turn.context: A list of previous turns in the conversation, each represented as a dictionary with the same structure.
To build the dataset, you can use the following code snippet:
python build_from_corpus.py --split=<split> --config_file=<config_file>
With <split> being either train, dev, or test, and <config_file> being the path to the configuration file that specifies the corpus and other parameters.
Example of config_file.json
{
"dataset_name" : "swda",
"fname_key" : "swda_filename",
"act_tag_key" : "damsl_act_tag",
"caller_key" : "caller",
"act_code_file" : "actCorpus/swda.json",
"output_name" : "swda",
"text_key" : "text"
}
- Downloads last month
- 8