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
|
|
|
|
|
|
|
3 |
---
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
paperswithcode_id: embedding-data/altlex
|
6 |
+
pretty_name: altlex
|
7 |
+
---
|
8 |
+
|
9 |
+
# Dataset Card for "ESPECTER"
|
10 |
+
|
11 |
+
## Table of Contents
|
12 |
+
- [Dataset Description](#dataset-description)
|
13 |
+
- [Dataset Summary](#dataset-summary)
|
14 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
15 |
+
- [Languages](#languages)
|
16 |
+
- [Dataset Structure](#dataset-structure)
|
17 |
+
- [Data Instances](#data-instances)
|
18 |
+
- [Data Fields](#data-fields)
|
19 |
+
- [Data Splits](#data-splits)
|
20 |
+
- [Dataset Creation](#dataset-creation)
|
21 |
+
- [Curation Rationale](#curation-rationale)
|
22 |
+
- [Source Data](#source-data)
|
23 |
+
- [Annotations](#annotations)
|
24 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
25 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
26 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
27 |
+
- [Discussion of Biases](#discussion-of-biases)
|
28 |
+
- [Other Known Limitations](#other-known-limitations)
|
29 |
+
- [Additional Information](#additional-information)
|
30 |
+
- [Dataset Curators](#dataset-curators)
|
31 |
+
- [Licensing Information](#licensing-information)
|
32 |
+
- [Citation Information](#citation-information)
|
33 |
+
- [Contributions](#contributions)
|
34 |
+
|
35 |
+
## Dataset Description
|
36 |
+
|
37 |
+
- **Homepage:** [https://github.com/chridey/altlex](https://github.com/chridey/altlex)
|
38 |
+
- **Repository:** [More Information Needed](https://github.com/chridey/altlex)
|
39 |
+
- **Paper:** [https://aclanthology.org/P16-1135.pdf](https://aclanthology.org/P16-1135.pdf)
|
40 |
+
**Point of Contact:** [Christopher Hidey]([email protected])
|
41 |
+
|
42 |
+
### Dataset Summary
|
43 |
+
|
44 |
+
Git repository for software associated with the 2016 ACL paper "Identifying Causal Relations Using Parallel Wikipedia Articles."
|
45 |
+
|
46 |
+
### Supported Tasks and Leaderboards
|
47 |
+
|
48 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
49 |
+
|
50 |
+
### Languages
|
51 |
+
|
52 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
53 |
+
|
54 |
+
## Dataset Structure
|
55 |
+
|
56 |
+
Parallel Wikipedia Format
|
57 |
+
|
58 |
+
This is a gzipped, JSON-formatted file. The "titles" array is the shared title name of the English and Simple Wikipedia articles.
|
59 |
+
The "articles" array consists of two arrays and each of those arrays must be the same length as the "titles" array and
|
60 |
+
the indices into these arrays must point to the aligned articles and titles.
|
61 |
+
Each article within the articles array is an array of tokenized sentence strings (but not word tokenized).
|
62 |
+
|
63 |
+
The format of the dictionary is as follows:
|
64 |
+
|
65 |
+
```
|
66 |
+
{"files": [english_name, simple_name],
|
67 |
+
"articles": [
|
68 |
+
[[article_1_sentence_1_string, article_1_sentence_2_string, ...],
|
69 |
+
[article_2_sentence_1_string, article_2_sentence_2_string, ...],
|
70 |
+
...
|
71 |
+
],
|
72 |
+
[[article_1_sentence_1_string, article_1_sentence_2_string, ...],
|
73 |
+
[article_2_sentence_1_string, article_2_sentence_2_string, ...],
|
74 |
+
...
|
75 |
+
]
|
76 |
+
],
|
77 |
+
"titles": [title_1_string, title_2_string, ...]
|
78 |
+
}
|
79 |
+
|
80 |
+
```
|
81 |
+
|
82 |
+
Parsed Wikipedia Format
|
83 |
+
|
84 |
+
This is a gzipped, JSON-formatted list of parsed Wikipedia article pairs.
|
85 |
+
The list stored at 'sentences' is of length 2 and stores each version
|
86 |
+
of the English and Wikipedia article with the same title.
|
87 |
+
|
88 |
+
The data is formatted as follows:
|
89 |
+
|
90 |
+
```
|
91 |
+
[
|
92 |
+
{
|
93 |
+
"index": article_index,
|
94 |
+
"title": article_title_string,
|
95 |
+
"sentences": [[parsed_sentence_1, parsed_sentence_2, ...],
|
96 |
+
[parsed_sentence_1, parsed_sentence_2, ...]
|
97 |
+
]
|
98 |
+
},
|
99 |
+
...
|
100 |
+
]
|
101 |
+
|
102 |
+
```
|
103 |
+
|
104 |
+
Parsed Pairs Format
|
105 |
+
|
106 |
+
This is a gzipped, JSON-formatted list of parsed sentences. Paraphrase pairs are consecutive
|
107 |
+
even and odd indices. For the parsed sentence, see "Parsed Sentence Format."
|
108 |
+
|
109 |
+
The data is formatted as follows:
|
110 |
+
|
111 |
+
```
|
112 |
+
[
|
113 |
+
...,
|
114 |
+
parsed_sentence_2,
|
115 |
+
parsed_sentence_3,
|
116 |
+
...
|
117 |
+
]
|
118 |
+
|
119 |
+
```
|
120 |
+
|
121 |
+
Parsed Sentence Format
|
122 |
+
|
123 |
+
Each parsed sentence is of the following format:
|
124 |
+
|
125 |
+
```
|
126 |
+
{
|
127 |
+
"dep": [[[governor_index, dependent_index, relation_string], ...], ...],
|
128 |
+
"lemmas": [[lemma_1_string, lemma_2_string, ...], ...],
|
129 |
+
"pos": [[pos_1_string, pos_2_string, ...], ...],
|
130 |
+
"parse": [parenthesized_parse_1_string, ...],
|
131 |
+
"words": [[word_1_string, word_2_string, ...], ...] ,
|
132 |
+
"ner": [[ner_1_string, ner_2_string, ...], ...]
|
133 |
+
}
|
134 |
+
|
135 |
+
```
|
136 |
+
|
137 |
+
Feature Extractor Config Format
|
138 |
+
|
139 |
+
```
|
140 |
+
{"framenetSettings":
|
141 |
+
{"binary": true/false},
|
142 |
+
"featureSettings":
|
143 |
+
{
|
144 |
+
"arguments_cat_curr": true/false,
|
145 |
+
"arguments_verbnet_prev": true/false,
|
146 |
+
"head_word_cat_curr": true/false,
|
147 |
+
"head_word_verbnet_prev": true/false,
|
148 |
+
"head_word_verbnet_altlex": true/false,
|
149 |
+
"head_word_cat_prev": true/false,
|
150 |
+
"head_word_cat_altlex": true/false,
|
151 |
+
"kld_score": true/false,
|
152 |
+
"head_word_verbnet_curr": true/false,
|
153 |
+
"arguments_verbnet_curr": true/false,
|
154 |
+
"framenet": true/false,
|
155 |
+
"arguments_cat_prev": true/false,
|
156 |
+
"connective": true/false
|
157 |
+
},
|
158 |
+
"kldSettings":
|
159 |
+
{"kldDir": $kld_name}
|
160 |
+
}
|
161 |
+
|
162 |
+
```
|
163 |
+
|
164 |
+
Data Point Format
|
165 |
+
|
166 |
+
It is also possible to run the feature extractor directly on a single data point.
|
167 |
+
From the featureExtraction module create a FeatureExtractor object and call the method addFeatures
|
168 |
+
on a DataPoint object (note that this does not create any interaction features,
|
169 |
+
for that you will also need to call makeInteractionFeatures).
|
170 |
+
The DataPoint class takes a dictionary as input, in the following format:
|
171 |
+
|
172 |
+
```
|
173 |
+
{
|
174 |
+
"sentences": {[{"ner": [...], "pos": [...], "words": [...], "stems": [...], "lemmas": [...], "dependencies": [...]}, {...}]}
|
175 |
+
"altlexLength": integer,
|
176 |
+
"altlex": {"dependencies": [...]}
|
177 |
+
}
|
178 |
+
The sentences list is the pair of sentences/spans where the first span begins with the altlex. Dependencies must be a list where at index i there is a dependency relation string and governor index integer or a NoneType. Index i into the words list is the dependent of this relation. To split single sentence dependency relations, use the function splitDependencies in utils.dependencyUtils.
|
179 |
+
|
180 |
+
```
|
181 |
+
|
182 |
+
### Curation Rationale
|
183 |
+
|
184 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
185 |
+
|
186 |
+
### Source Data
|
187 |
+
|
188 |
+
#### Initial Data Collection and Normalization
|
189 |
+
|
190 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
191 |
+
|
192 |
+
#### Who are the source language producers?
|
193 |
+
|
194 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
195 |
+
|
196 |
+
### Annotations
|
197 |
+
|
198 |
+
#### Annotation process
|
199 |
+
|
200 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
201 |
+
|
202 |
+
#### Who are the annotators?
|
203 |
+
|
204 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
205 |
+
|
206 |
+
### Personal and Sensitive Information
|
207 |
+
|
208 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
209 |
+
|
210 |
+
## Considerations for Using the Data
|
211 |
+
|
212 |
+
### Social Impact of Dataset
|
213 |
+
|
214 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
215 |
+
|
216 |
+
### Discussion of Biases
|
217 |
+
|
218 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
219 |
+
|
220 |
+
### Other Known Limitations
|
221 |
+
|
222 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
223 |
+
|
224 |
+
## Additional Information
|
225 |
+
|
226 |
+
### Dataset Curators
|
227 |
+
|
228 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
229 |
+
|
230 |
+
### Licensing Information
|
231 |
+
|
232 |
+
[More Information Needed](https://github.com/chridey/altlex)
|
233 |
+
|
234 |
+
### Citation Information
|
235 |
+
|
236 |
+
### Contributions
|
237 |
+
|
238 |
+
Thanks to [@chridey](https://github.com/chridey/altlex/commits?author=chridey)
|
239 |
---
|