gsarti commited on
Commit
d724deb
1 Parent(s): e958fd0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -1
README.md CHANGED
@@ -1,3 +1,145 @@
1
  ---
2
- license: cc-by-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ languages:
7
+ - en
8
+ licenses:
9
+ - cc-by-4.0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: magpie
13
+ size_categories:
14
+ - 10K<n<100K
15
+ source_datasets:
16
+ - original
17
+ task_categories:
18
+ - text2text-generation
19
+ - text-classification
20
+ task_ids:
21
+ - idiomaticity-classification
22
+ - machine-translation
23
  ---
24
+
25
+ # Dataset Card for ItaCoLA
26
+
27
+ ## Table of Contents
28
+
29
+ - [Dataset Card for ItaCoLA](#dataset-card-for-itacola)
30
+ - [Table of Contents](#table-of-contents)
31
+ - [Dataset Description](#dataset-description)
32
+ - [Dataset Summary](#dataset-summary)
33
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
34
+ - [Acceptability Classification](#acceptability-classification)
35
+ - [Languages](#languages)
36
+ - [Dataset Structure](#dataset-structure)
37
+ - [Data Instances](#data-instances)
38
+ - [Scores Configuration](#scores-configuration)
39
+ - [Phenomena Configuration](#phenomena-configuration)
40
+ - [Data Splits](#data-splits)
41
+ - [Dataset Creation](#dataset-creation)
42
+ - [Additional Information](#additional-information)
43
+ - [Dataset Curators](#dataset-curators)
44
+ - [Licensing Information](#licensing-information)
45
+ - [Citation Information](#citation-information)
46
+
47
+ ## Dataset Description
48
+
49
+ - **Original Repository:** [hslh/magpie-corpus](https://github.com/hslh/magpie-corpus)
50
+ - **Other Repository:** [vernadankers/mt_idioms](https://github.com/vernadankers/mt_idioms)
51
+ - **Original Paper:** [ACL Anthology](https://aclanthology.org/2020.lrec-1.35/)
52
+ - **Other Paper:** [ACL Anthology](https://aclanthology.org/2022.acl-long.252/)
53
+ - **Point of Contact:** [Hessel Haagsma, Verna Dankers](vernadankers@gmail.com)
54
+
55
+ ### Dataset Summary
56
+
57
+ The MAGPIE corpus ([Haagsma et al. 2020](https://aclanthology.org/2020.lrec-1.35/)) is a large sense-annotated corpus of potentially idiomatic expressions (PIEs), based on the British National Corpus (BNC). Potentially idiomatic expressions are like idiomatic expressions, but the term also covers literal uses of idiomatic expressions, such as 'I leave work at the end of the day.' for the idiom 'at the end of the day'. This version of the dataset reflects the filtered subset used by [Dankers et al. (2022)](https://aclanthology.org/2022.acl-long.252/) in their investigation on how PIEs are represented by NMT models. Authors use 37k samples annotated as fully figurative or literal, for 1482 idioms that contain nouns, numerals or adjectives that are colors (which they refer to as keywords). Because idioms show syntactic and morphological variability, the focus is mostly put on nouns. PIEs and their context are separated using the original corpus’s word-level annotations.
58
+
59
+ ### Languages
60
+
61
+ The language data in MAGPIE is in English (BCP-47 `en`)
62
+
63
+ ## Dataset Structure
64
+
65
+ ### Data Instances
66
+
67
+ The `magpie` configuration contains sentences with annotations for the presence, usage an type of potentially idiomatic expressions. An example from the `train` split of the `magpie` config (default) is provided below.
68
+
69
+ ```json
70
+ {
71
+ 'sentence': 'There seems to be a dearth of good small tools across the board.',
72
+ 'annotation': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1],
73
+ 'idiom': 'across the board',
74
+ 'usage': 'figurative',
75
+ 'variant': 'identical',
76
+ 'pos_tags': ['ADV', 'VERB', 'PART', 'VERB', 'DET', 'NOUN', 'ADP', 'ADJ', 'ADJ', 'NOUN', 'ADP', 'DET', 'NOUN']
77
+ }
78
+ ```
79
+
80
+ The text is provided as-is, without further preprocessing or tokenization.
81
+
82
+ The fields are the following:
83
+
84
+ - `sentence`: The sentence containing a PIE.
85
+ - `annotation`: List of 0s and 1s of the same length of the whitespace-tokenized sentence, with 1s corresponding to the position of the idiomatic expression.
86
+ - `idiom`: The idiom contained in the sentence in its base form.
87
+ - `usage`: Either `figurative` or `literal`, depending on the usage of the PIE.
88
+ - `variant`: `identical` if the PIE matches the base form of the idiom, otherwise specifies the variation.
89
+ - `pos_tags`: List of POS tags associated with words in the sentence.
90
+
91
+ ### Data Splits
92
+
93
+ | config| train|
94
+ |----------:|-----:|
95
+ |`magpie` | 44451 |
96
+
97
+ ### Dataset Creation
98
+
99
+ Please refer to the original article [MAGPIE: A Large Corpus of Potentially Idiomatic Expressions](https://aclanthology.org/2020.lrec-1.35) for additional information on dataset creation, and to the article [Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation](https://aclanthology.org/2022.acl-long.252) for further information on the filtering of selected idioms.
100
+
101
+ ## Additional Information
102
+
103
+ ### Dataset Curators
104
+
105
+ The original authors are the curators of the original dataset. For problems or updates on this 🤗 Datasets version, please contact [gabriele.sarti996@gmail.com](mailto:gabriele.sarti996@gmail.com).
106
+
107
+ ### Licensing Information
108
+
109
+ The dataset is licensed under [Creative Commons 4.0 license (CC-BY-4.0)](https://creativecommons.org/licenses/by/4.0/)
110
+
111
+ ### Citation Information
112
+
113
+ Please cite the authors if you use this corpus in your work:
114
+
115
+ ```bibtex
116
+ @inproceedings{haagsma-etal-2020-magpie,
117
+ title = "{MAGPIE}: A Large Corpus of Potentially Idiomatic Expressions",
118
+ author = "Haagsma, Hessel and
119
+ Bos, Johan and
120
+ Nissim, Malvina",
121
+ booktitle = "Proceedings of the 12th Language Resources and Evaluation Conference",
122
+ month = may,
123
+ year = "2020",
124
+ address = "Marseille, France",
125
+ publisher = "European Language Resources Association",
126
+ url = "https://aclanthology.org/2020.lrec-1.35",
127
+ pages = "279--287",
128
+ language = "English",
129
+ ISBN = "979-10-95546-34-4",
130
+ }
131
+ @inproceedings{dankers-etal-2022-transformer,
132
+ title = "Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation",
133
+ author = "Dankers, Verna and
134
+ Lucas, Christopher and
135
+ Titov, Ivan",
136
+ booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
137
+ month = may,
138
+ year = "2022",
139
+ address = "Dublin, Ireland",
140
+ publisher = "Association for Computational Linguistics",
141
+ url = "https://aclanthology.org/2022.acl-long.252",
142
+ doi = "10.18653/v1/2022.acl-long.252",
143
+ pages = "3608--3626",
144
+ }
145
+ ```