Datasets:
parquet-converter
commited on
Commit
•
215aa30
1
Parent(s):
5dab570
Update parquet files
Browse files- .gitattributes +0 -27
- README.md +0 -186
- aslg_pc12.py +0 -82
- dataset_infos.json +0 -53
- default/aslg_pc12-train.parquet +3 -0
.gitattributes
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
DELETED
@@ -1,186 +0,0 @@
|
|
1 |
-
---
|
2 |
-
annotations_creators:
|
3 |
-
- crowdsourced
|
4 |
-
- expert-generated
|
5 |
-
language:
|
6 |
-
- ase
|
7 |
-
- en
|
8 |
-
language_creators:
|
9 |
-
- found
|
10 |
-
license:
|
11 |
-
- cc-by-nc-4.0
|
12 |
-
multilinguality:
|
13 |
-
- translation
|
14 |
-
pretty_name: English-ASL Gloss Parallel Corpus 2012
|
15 |
-
size_categories:
|
16 |
-
- 10K<n<100K
|
17 |
-
source_datasets:
|
18 |
-
- original
|
19 |
-
task_categories:
|
20 |
-
- translation
|
21 |
-
task_ids: []
|
22 |
-
paperswithcode_id: aslg-pc12
|
23 |
-
dataset_info:
|
24 |
-
features:
|
25 |
-
- name: gloss
|
26 |
-
dtype: string
|
27 |
-
- name: text
|
28 |
-
dtype: string
|
29 |
-
splits:
|
30 |
-
- name: train
|
31 |
-
num_bytes: 13497111
|
32 |
-
num_examples: 87710
|
33 |
-
download_size: 12773431
|
34 |
-
dataset_size: 13497111
|
35 |
-
---
|
36 |
-
|
37 |
-
# Dataset Card for "aslg_pc12"
|
38 |
-
|
39 |
-
## Table of Contents
|
40 |
-
- [Dataset Description](#dataset-description)
|
41 |
-
- [Dataset Summary](#dataset-summary)
|
42 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
43 |
-
- [Languages](#languages)
|
44 |
-
- [Dataset Structure](#dataset-structure)
|
45 |
-
- [Data Instances](#data-instances)
|
46 |
-
- [Data Fields](#data-fields)
|
47 |
-
- [Data Splits](#data-splits)
|
48 |
-
- [Dataset Creation](#dataset-creation)
|
49 |
-
- [Curation Rationale](#curation-rationale)
|
50 |
-
- [Source Data](#source-data)
|
51 |
-
- [Annotations](#annotations)
|
52 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
53 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
54 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
55 |
-
- [Discussion of Biases](#discussion-of-biases)
|
56 |
-
- [Other Known Limitations](#other-known-limitations)
|
57 |
-
- [Additional Information](#additional-information)
|
58 |
-
- [Dataset Curators](#dataset-curators)
|
59 |
-
- [Licensing Information](#licensing-information)
|
60 |
-
- [Citation Information](#citation-information)
|
61 |
-
- [Contributions](#contributions)
|
62 |
-
|
63 |
-
## Dataset Description
|
64 |
-
|
65 |
-
- **Homepage:** [https://achrafothman.net/site/asl-smt/](https://achrafothman.net/site/asl-smt/)
|
66 |
-
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
67 |
-
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
68 |
-
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
69 |
-
- **Size of downloaded dataset files:** 12.18 MB
|
70 |
-
- **Size of the generated dataset:** 12.87 MB
|
71 |
-
- **Total amount of disk used:** 25.05 MB
|
72 |
-
|
73 |
-
### Dataset Summary
|
74 |
-
|
75 |
-
Synthetic English-ASL Gloss Parallel Corpus 2012
|
76 |
-
|
77 |
-
### Supported Tasks and Leaderboards
|
78 |
-
|
79 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
80 |
-
|
81 |
-
### Languages
|
82 |
-
|
83 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
84 |
-
|
85 |
-
## Dataset Structure
|
86 |
-
|
87 |
-
### Data Instances
|
88 |
-
|
89 |
-
#### default
|
90 |
-
|
91 |
-
- **Size of downloaded dataset files:** 12.18 MB
|
92 |
-
- **Size of the generated dataset:** 12.87 MB
|
93 |
-
- **Total amount of disk used:** 25.05 MB
|
94 |
-
|
95 |
-
An example of 'train' looks as follows.
|
96 |
-
```
|
97 |
-
{
|
98 |
-
"gloss": "WRITE STATEMENT AND DESC-ORAL QUESTION TABLE SEE MINUTE\n",
|
99 |
-
"text": "written statements and oral questions tabling see minutes\n"
|
100 |
-
}
|
101 |
-
```
|
102 |
-
|
103 |
-
### Data Fields
|
104 |
-
|
105 |
-
The data fields are the same among all splits.
|
106 |
-
|
107 |
-
#### default
|
108 |
-
- `gloss`: a `string` feature.
|
109 |
-
- `text`: a `string` feature.
|
110 |
-
|
111 |
-
### Data Splits
|
112 |
-
|
113 |
-
| name |train|
|
114 |
-
|-------|----:|
|
115 |
-
|default|87710|
|
116 |
-
|
117 |
-
## Dataset Creation
|
118 |
-
|
119 |
-
### Curation Rationale
|
120 |
-
|
121 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
122 |
-
|
123 |
-
### Source Data
|
124 |
-
|
125 |
-
#### Initial Data Collection and Normalization
|
126 |
-
|
127 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
128 |
-
|
129 |
-
#### Who are the source language producers?
|
130 |
-
|
131 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
132 |
-
|
133 |
-
### Annotations
|
134 |
-
|
135 |
-
#### Annotation process
|
136 |
-
|
137 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
138 |
-
|
139 |
-
#### Who are the annotators?
|
140 |
-
|
141 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
142 |
-
|
143 |
-
### Personal and Sensitive Information
|
144 |
-
|
145 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
146 |
-
|
147 |
-
## Considerations for Using the Data
|
148 |
-
|
149 |
-
### Social Impact of Dataset
|
150 |
-
|
151 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
152 |
-
|
153 |
-
### Discussion of Biases
|
154 |
-
|
155 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
156 |
-
|
157 |
-
### Other Known Limitations
|
158 |
-
|
159 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
160 |
-
|
161 |
-
## Additional Information
|
162 |
-
|
163 |
-
### Dataset Curators
|
164 |
-
|
165 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
166 |
-
|
167 |
-
### Licensing Information
|
168 |
-
|
169 |
-
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
170 |
-
|
171 |
-
### Citation Information
|
172 |
-
|
173 |
-
```
|
174 |
-
@inproceedings{othman2012english,
|
175 |
-
title={English-asl gloss parallel corpus 2012: Aslg-pc12},
|
176 |
-
author={Othman, Achraf and Jemni, Mohamed},
|
177 |
-
booktitle={5th Workshop on the Representation and Processing of Sign Languages: Interactions between Corpus and Lexicon LREC},
|
178 |
-
year={2012}
|
179 |
-
}
|
180 |
-
|
181 |
-
```
|
182 |
-
|
183 |
-
|
184 |
-
### Contributions
|
185 |
-
|
186 |
-
Thanks to [@AmitMY](https://github.com/AmitMY) for adding this dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
aslg_pc12.py
DELETED
@@ -1,82 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
3 |
-
#
|
4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
-
# you may not use this file except in compliance with the License.
|
6 |
-
# You may obtain a copy of the License at
|
7 |
-
#
|
8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
#
|
10 |
-
# Unless required by applicable law or agreed to in writing, software
|
11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
# See the License for the specific language governing permissions and
|
14 |
-
# limitations under the License.
|
15 |
-
"""ASLG-PC12: Synthetic English-ASL Gloss Parallel Corpus 2012"""
|
16 |
-
|
17 |
-
|
18 |
-
import datasets
|
19 |
-
|
20 |
-
|
21 |
-
_DESCRIPTION = """\
|
22 |
-
A large synthetic collection of parallel English and ASL-Gloss texts.
|
23 |
-
There are two string features: text, and gloss.
|
24 |
-
"""
|
25 |
-
|
26 |
-
_CITATION = """\
|
27 |
-
@inproceedings{othman2012english,
|
28 |
-
title={English-asl gloss parallel corpus 2012: Aslg-pc12},
|
29 |
-
author={Othman, Achraf and Jemni, Mohamed},
|
30 |
-
booktitle={5th Workshop on the Representation and Processing of Sign Languages: Interactions between Corpus and Lexicon LREC},
|
31 |
-
year={2012}
|
32 |
-
}
|
33 |
-
"""
|
34 |
-
|
35 |
-
_GLOSS_URL = "https://www.achrafothman.net/aslsmt/corpus/sample-corpus-asl-en.asl"
|
36 |
-
_TEXT_URL = "https://www.achrafothman.net/aslsmt/corpus/sample-corpus-asl-en.en"
|
37 |
-
|
38 |
-
_HOMEPAGE = "https://achrafothman.net/site/asl-smt/"
|
39 |
-
|
40 |
-
|
41 |
-
class ASLGPC12(datasets.GeneratorBasedBuilder):
|
42 |
-
"""ASLG-PC12: Synthetic English-ASL Gloss Parallel Corpus 2012"""
|
43 |
-
|
44 |
-
VERSION = datasets.Version("0.0.1") # sample corpus
|
45 |
-
|
46 |
-
def _info(self):
|
47 |
-
return datasets.DatasetInfo(
|
48 |
-
description=_DESCRIPTION,
|
49 |
-
# This defines the different columns of the dataset and their types
|
50 |
-
features=datasets.Features(
|
51 |
-
{
|
52 |
-
"gloss": datasets.Value("string"), # American sign language gloss
|
53 |
-
"text": datasets.Value("string"), # English text
|
54 |
-
}
|
55 |
-
),
|
56 |
-
homepage=_HOMEPAGE,
|
57 |
-
citation=_CITATION,
|
58 |
-
)
|
59 |
-
|
60 |
-
def _split_generators(self, dl_manager):
|
61 |
-
"""Returns SplitGenerators."""
|
62 |
-
|
63 |
-
gloss_path, text_path = dl_manager.download([_GLOSS_URL, _TEXT_URL])
|
64 |
-
|
65 |
-
return [
|
66 |
-
datasets.SplitGenerator(
|
67 |
-
name=datasets.Split.TRAIN,
|
68 |
-
gen_kwargs={"gloss_path": gloss_path, "text_path": text_path},
|
69 |
-
)
|
70 |
-
]
|
71 |
-
|
72 |
-
def _generate_examples(self, gloss_path, text_path):
|
73 |
-
"""Yields examples."""
|
74 |
-
|
75 |
-
gloss_f = open(gloss_path, "r", encoding="utf-8")
|
76 |
-
text_f = open(text_path, "r", encoding="utf-8")
|
77 |
-
|
78 |
-
for i, (gloss, text) in enumerate(zip(gloss_f, text_f)):
|
79 |
-
yield i, {"gloss": gloss, "text": text}
|
80 |
-
|
81 |
-
gloss_f.close()
|
82 |
-
text_f.close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_infos.json
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"default": {
|
3 |
-
"description": "Synthetic English-ASL Gloss Parallel Corpus 2012\n",
|
4 |
-
"citation": "@inproceedings{othman2012english,\n title={English-asl gloss parallel corpus 2012: Aslg-pc12},\n author={Othman, Achraf and Jemni, Mohamed},\n booktitle={5th Workshop on the Representation and Processing of Sign Languages: Interactions between Corpus and Lexicon LREC},\n year={2012}\n}\n",
|
5 |
-
"homepage": "https://achrafothman.net/site/asl-smt/",
|
6 |
-
"license": "",
|
7 |
-
"features": {
|
8 |
-
"gloss": {
|
9 |
-
"dtype": "string",
|
10 |
-
"id": null,
|
11 |
-
"_type": "Value"
|
12 |
-
},
|
13 |
-
"text": {
|
14 |
-
"dtype": "string",
|
15 |
-
"id": null,
|
16 |
-
"_type": "Value"
|
17 |
-
}
|
18 |
-
},
|
19 |
-
"post_processed": null,
|
20 |
-
"supervised_keys": null,
|
21 |
-
"builder_name": "aslgp_c12",
|
22 |
-
"config_name": "default",
|
23 |
-
"version": {
|
24 |
-
"version_str": "0.0.1",
|
25 |
-
"description": null,
|
26 |
-
"major": 0,
|
27 |
-
"minor": 0,
|
28 |
-
"patch": 1
|
29 |
-
},
|
30 |
-
"splits": {
|
31 |
-
"train": {
|
32 |
-
"name": "train",
|
33 |
-
"num_bytes": 13497111,
|
34 |
-
"num_examples": 87710,
|
35 |
-
"dataset_name": "aslgp_c12"
|
36 |
-
}
|
37 |
-
},
|
38 |
-
"download_checksums": {
|
39 |
-
"https://www.achrafothman.net/aslsmt/corpus/sample-corpus-asl-en.asl": {
|
40 |
-
"num_bytes": 6457824,
|
41 |
-
"checksum": "e550698336419edaaedfc51882541eb033db83257fa2167900ac0db9fae91633"
|
42 |
-
},
|
43 |
-
"https://www.achrafothman.net/aslsmt/corpus/sample-corpus-asl-en.en": {
|
44 |
-
"num_bytes": 6315607,
|
45 |
-
"checksum": "889732ced6ceaeab352efd647de65ac29e1ac7adb1206b2703d9d35432924f6a"
|
46 |
-
}
|
47 |
-
},
|
48 |
-
"download_size": 12773431,
|
49 |
-
"post_processing_size": null,
|
50 |
-
"dataset_size": 13497111,
|
51 |
-
"size_in_bytes": 26270542
|
52 |
-
}
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
default/aslg_pc12-train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bdfbf777fecfe196e981f997fa2b96d55c90af4fb467ec6cf7a71757e3d3e16
|
3 |
+
size 7583457
|