Datasets:

e-tornike commited on
Commit
0cc5d5b
1 Parent(s): 8863b26

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -92,13 +92,43 @@ The text in the dataset is in English and German, as written by researchers. The
92
 
93
  The following data fields are provided for documents:
94
 
 
95
  `sentence`: Textual instance, which may contain a variable mention.<br />
96
  `is_variable`: Label, whether the textual instance contains a variable mention (1) or not (0). This column can be used for Task 1 (Variable Detection).<br />
97
- `variable`: Variables (separated by a comma ";") that are mentioned in the textual instance. This column can be used for Task 2 (Variable Disambiguation).<br />
98
  `research_data`: Research data IDs (separated by a ";") that are relevant for each instance (and in general for each "doc_id").<br />
99
  `doc_id`: ID of the source document. Each document is written in one language (either English or German).<br />
100
  `uuid`: Unique ID of the instance in uuid4 format.<br />
101
  `lang`: Language of the sentence.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
 
103
  ### Data Splits
104
 
 
92
 
93
  The following data fields are provided for documents:
94
 
95
+ ```
96
  `sentence`: Textual instance, which may contain a variable mention.<br />
97
  `is_variable`: Label, whether the textual instance contains a variable mention (1) or not (0). This column can be used for Task 1 (Variable Detection).<br />
98
+ `variable`: Variables (separated by a comma ";") that are mentioned in the textual instance. This column can be used for Task 2 (Variable Disambiguation). Variables with the "unk" tag could not be mapped to a unique variable.<br />
99
  `research_data`: Research data IDs (separated by a ";") that are relevant for each instance (and in general for each "doc_id").<br />
100
  `doc_id`: ID of the source document. Each document is written in one language (either English or German).<br />
101
  `uuid`: Unique ID of the instance in uuid4 format.<br />
102
  `lang`: Language of the sentence.
103
+ ```
104
+
105
+ The language for each document can be found in the document-language mapping file [here](https://github.com/vadis-project/sv-ident/blob/main/data/train/document_languages.json), which maps `doc_id` to a language code (`en`, `de`). The variables metadata (i.e., the vocabulary) can be downloaded from this [link](https://drive.google.com/file/d/18slgACOcE8-_xIDX09GrdpFSqRRcBiON/view?usp=sharing). Note, that each `research_data` contains hundreds of variables (these can be understood as the corpus of documents to choose the most relevant from). If the variable has an "unk" tag, it means that the sentence contains a variable that has not been disambiguated. Such sentences could be used for Task 1 and filtered out for Task 2. The metadata file has the following format:
106
+
107
+ ```
108
+ {
109
+ "research_data_id_1": {
110
+ "variable_id_1": VARIABLE_METADATA,
111
+ ...
112
+ "variable_id_n": VARIABLE_METADATA,
113
+ },
114
+ ...
115
+ "research_data_id_n": {...},
116
+ }
117
+ ```
118
+
119
+ Each variable may contain all (or some) of the following values:
120
+ ```
121
+ study_title: The title of the research data study.
122
+ variable_label: The label of the variable.
123
+ variable_name: The name of the variable.
124
+ question_text: The question of the variable in the original language.
125
+ question_text_en: The question of the variable in English.
126
+ sub_question: The sub-question of the variable.
127
+ item_categories: The item categories of the variable.
128
+ answer_categories: The answers of the variable.
129
+ topic: The topics of the variable in the original language.
130
+ topic_en: The topics of the variable in English.
131
+ ```
132
 
133
  ### Data Splits
134