Datasets:
Update files from the datasets library (from 1.12.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.12.0
- README.md +5 -3
- counter.py +4 -1
README.md
CHANGED
|
@@ -6,7 +6,7 @@ language_creators:
|
|
| 6 |
languages:
|
| 7 |
- ur
|
| 8 |
licenses:
|
| 9 |
-
- cc-by-4-0
|
| 10 |
multilinguality:
|
| 11 |
- monolingual
|
| 12 |
size_categories:
|
|
@@ -20,9 +20,10 @@ task_ids:
|
|
| 20 |
- semantic-similarity-scoring
|
| 21 |
- topic-classification
|
| 22 |
paperswithcode_id: counter
|
|
|
|
| 23 |
---
|
| 24 |
|
| 25 |
-
# Dataset Card for
|
| 26 |
|
| 27 |
## Table of Contents
|
| 28 |
- [Dataset Description](#dataset-description)
|
|
@@ -188,7 +189,8 @@ The annotations were performed by three annotators (A, B and C), who were native
|
|
| 188 |
|
| 189 |
### Licensing Information
|
| 190 |
|
| 191 |
-
|
|
|
|
| 192 |
|
| 193 |
### Citation Information
|
| 194 |
|
|
|
|
| 6 |
languages:
|
| 7 |
- ur
|
| 8 |
licenses:
|
| 9 |
+
- cc-by-nc-sa-4-0
|
| 10 |
multilinguality:
|
| 11 |
- monolingual
|
| 12 |
size_categories:
|
|
|
|
| 20 |
- semantic-similarity-scoring
|
| 21 |
- topic-classification
|
| 22 |
paperswithcode_id: counter
|
| 23 |
+
pretty_name: COUNTER
|
| 24 |
---
|
| 25 |
|
| 26 |
+
# Dataset Card for COUNTER
|
| 27 |
|
| 28 |
## Table of Contents
|
| 29 |
- [Dataset Description](#dataset-description)
|
|
|
|
| 189 |
|
| 190 |
### Licensing Information
|
| 191 |
|
| 192 |
+
This dataset is licensed under the Creative Common Attribution-NonCommercial-ShareAlike 4.0 International License.
|
| 193 |
+
[(CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/).
|
| 194 |
|
| 195 |
### Citation Information
|
| 196 |
|
counter.py
CHANGED
|
@@ -157,7 +157,10 @@ class Counter(datasets.GeneratorBasedBuilder):
|
|
| 157 |
source = parse_file(f)
|
| 158 |
example["source"] = source
|
| 159 |
|
| 160 |
-
|
|
|
|
|
|
|
|
|
|
| 161 |
with derived_file.open(encoding="utf-8") as f:
|
| 162 |
derived = parse_file(f)
|
| 163 |
example["derived"] = derived
|
|
|
|
| 157 |
source = parse_file(f)
|
| 158 |
example["source"] = source
|
| 159 |
|
| 160 |
+
if file.stem == "0032":
|
| 161 |
+
derived_file = base_path / (file.stem + "P" + file.suffix)
|
| 162 |
+
else:
|
| 163 |
+
derived_file = base_path / (file.stem + "p" + file.suffix)
|
| 164 |
with derived_file.open(encoding="utf-8") as f:
|
| 165 |
derived = parse_file(f)
|
| 166 |
example["derived"] = derived
|