Align/fix license metadata info (#4613)
Browse files* language(s) and license(s) for consistency
* `licenses:` => `license:`
* `languages:` => `language:`
* backward-compat
* make style
* set default values for deprecated languages and licenses
* Creative Commons Attribution 2.5 South Africa License
* Do a first batch
* progress
* moar progress
* moar
* moar
* Handle other `other`
* moaaaar
* Yay!!! should be done
* licenses: use the same standard list as elsewhere
* js -> python
* style
* only allow "other" and not "other-*"
* add license_details to DatasetMetadata
* fix test
* add tsv to package_data
Co-authored-by: Quentin Lhoest <[email protected]>
Commit from https://github.com/huggingface/datasets/commit/7e514c312fcc1d4b8f8e297df5549f669bfb30f8
README.md
CHANGED
@@ -3,26 +3,12 @@ annotations_creators:
|
|
3 |
- no-annotation
|
4 |
language_creators:
|
5 |
- found
|
6 |
-
|
7 |
- en
|
8 |
-
|
9 |
-
- cc-by-
|
10 |
-
- cc-by-
|
11 |
-
-
|
12 |
-
- cc-by-sa-2.0
|
13 |
-
- cc-by-nc-nd-2.0
|
14 |
-
- cc-by-nc-1.0
|
15 |
-
- other-cc0
|
16 |
-
- other-hybrid-oa
|
17 |
-
- other-els-covid
|
18 |
-
- other-no-cc
|
19 |
-
- other-gold-oa
|
20 |
-
- other-green-oa
|
21 |
-
- other-bronze-oa
|
22 |
-
- other-biorxiv
|
23 |
-
- other-arxiv
|
24 |
-
- other-medrxiv
|
25 |
-
- other-unk
|
26 |
multilinguality:
|
27 |
- monolingual
|
28 |
size_categories:
|
|
|
3 |
- no-annotation
|
4 |
language_creators:
|
5 |
- found
|
6 |
+
language:
|
7 |
- en
|
8 |
+
license:
|
9 |
+
- cc-by-nd-4.0
|
10 |
+
- cc-by-sa-4.0
|
11 |
+
- other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
multilinguality:
|
13 |
- monolingual
|
14 |
size_categories:
|