Datasets:

Multilinguality:
multilingual
Size Categories:
1K<n<10K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
system HF staff commited on
Commit
a11a17a
0 Parent(s):

Update files from the datasets library (from 1.2.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.2.0

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ languages:
7
+ - af
8
+ - nr
9
+ - nso
10
+ - ss
11
+ - tn
12
+ - ts
13
+ - ve
14
+ - xh
15
+ - zu
16
+ licenses:
17
+ - cc-by-2-5
18
+ multilinguality:
19
+ - multilingual
20
+ size_categories:
21
+ - 1K<n<10K
22
+ source_datasets:
23
+ - original
24
+ task_categories:
25
+ - structure-prediction
26
+ task_ids:
27
+ - named-entity-recognition
28
+ ---
29
+ # Dataset Card Creation Guide
30
+
31
+ ## Table of Contents
32
+ - [Dataset Description](#dataset-description)
33
+ - [Dataset Summary](#dataset-summary)
34
+ - [Supported Tasks](#supported-tasks-and-leaderboards)
35
+ - [Languages](#languages)
36
+ - [Dataset Structure](#dataset-structure)
37
+ - [Data Instances](#data-instances)
38
+ - [Data Fields](#data-instances)
39
+ - [Data Splits](#data-instances)
40
+ - [Dataset Creation](#dataset-creation)
41
+ - [Curation Rationale](#curation-rationale)
42
+ - [Source Data](#source-data)
43
+ - [Annotations](#annotations)
44
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
45
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
46
+ - [Social Impact of Dataset](#social-impact-of-dataset)
47
+ - [Discussion of Biases](#discussion-of-biases)
48
+ - [Other Known Limitations](#other-known-limitations)
49
+ - [Additional Information](#additional-information)
50
+ - [Dataset Curators](#dataset-curators)
51
+ - [Licensing Information](#licensing-information)
52
+ - [Citation Information](#citation-information)
53
+
54
+ ## Dataset Description
55
+
56
+ - **Homepage:** [link](https://repo.sadilar.org/handle/20.500.12185/7/discover?filtertype_0=database&filtertype_1=title&filter_relational_operator_1=contains&filter_relational_operator_0=equals&filter_1=&filter_0=Monolingual+Text+Corpora%3A+Annotated&filtertype=project&filter_relational_operator=equals&filter=NCHLT+Text+II)
57
+ - **Repository:** []()
58
+ - **Paper:** []()
59
+ - **Leaderboard:** []()
60
+ - **Point of Contact:** []()
61
+
62
+ ### Dataset Summary
63
+
64
+ The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.
65
+
66
+
67
+
68
+ ### Supported Tasks and Leaderboards
69
+
70
+ [More Information Needed]
71
+
72
+ ### Languages
73
+
74
+ [More Information Needed]
75
+
76
+ ## Dataset Structure
77
+
78
+ [More Information Needed]
79
+
80
+ ### Data Instances
81
+
82
+ [More Information Needed]
83
+
84
+ ### Data Fields
85
+
86
+ [More Information Needed]
87
+
88
+ ### Data Splits
89
+
90
+ [More Information Needed]
91
+
92
+ ## Dataset Creation
93
+
94
+
95
+ ### Curation Rationale
96
+
97
+ [More Information Needed]
98
+
99
+ ### Source Data
100
+
101
+ [More Information Needed]
102
+
103
+ #### Initial Data Collection and Normalization
104
+
105
+ [More Information Needed]
106
+
107
+ #### Who are the source language producers?
108
+
109
+ [More Information Needed]
110
+
111
+ ### Annotations
112
+
113
+ [More Information Needed]
114
+
115
+ #### Annotation process
116
+
117
+ [More Information Needed]
118
+
119
+ #### Who are the annotators?
120
+
121
+ [More Information Needed]
122
+
123
+ ### Personal and Sensitive Information
124
+
125
+ [More Information Needed]
126
+
127
+ ## Considerations for Using the Data
128
+
129
+ ### Social Impact of Dataset
130
+
131
+ [More Information Needed]
132
+
133
+ ### Discussion of Biases
134
+
135
+ [More Information Needed]
136
+
137
+ ### Other Known Limitations
138
+
139
+ [More Information Needed]
140
+
141
+ ## Additional Information
142
+
143
+ ### Dataset Curators
144
+
145
+ Martin.Puttkammer@nwu.ac.za
146
+
147
+ ### Licensing Information
148
+
149
+ [More Information Needed]
150
+
151
+ ### Citation Information
152
+
153
+ ```
154
+ @inproceedings{eiselen2014developing,
155
+ title={Developing Text Resources for Ten South African Languages.},
156
+ author={Eiselen, Roald and Puttkammer, Martin J},
157
+ booktitle={LREC},
158
+ pages={3698--3703},
159
+ year={2014}
160
+ }
161
+ ```
162
+
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
1
+ {"af": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "af", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3955069, "num_examples": 8961, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/299/nchlt_afrikaans_named_entity_annotated_corpus.zip": {"num_bytes": 25748344, "checksum": "cd609b86c1ab5505f24a5a2ca8b2ceb023fcd779b86ecf94c467b7f085c80ed9"}}, "download_size": 25748344, "post_processing_size": null, "dataset_size": 3955069, "size_in_bytes": 29703413}, "nr": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "nr", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3188781, "num_examples": 9334, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/306/nchlt_isindebele_named_entity_annotated_corpus.zip": {"num_bytes": 20040327, "checksum": "74e6857463a41b041d60b860949ca011c856e7ae17fe5cc9c261b2eded98158e"}}, "download_size": 20040327, "post_processing_size": null, "dataset_size": 3188781, "size_in_bytes": 23229108}, "xh": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "xh", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2365821, "num_examples": 6283, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/312/nchlt_isixhosa_named_entity_annotated_corpus.zip": {"num_bytes": 14513302, "checksum": "38bb7642e4663b70f81efff5b2d7c81ba7b2ec8defc244c00f33bc113b7afca4"}}, "download_size": 14513302, "post_processing_size": null, "dataset_size": 2365821, "size_in_bytes": 16879123}, "zu": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "zu", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3951366, "num_examples": 10955, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/319/nchlt_isizulu_named_entity_annotated_corpus.zip": {"num_bytes": 25097584, "checksum": "dedbcf7903375f3c9e68ca21eb73c2f529c0dc4c80e83d697d83cc3d5b0bad93"}}, "download_size": 25097584, "post_processing_size": null, "dataset_size": 3951366, "size_in_bytes": 29048950}, "nso-sepedi": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "nso-sepedi", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3322296, "num_examples": 7116, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/328/nchlt_sepedi_named_entity_annotated_corpus.zip": {"num_bytes": 22077376, "checksum": "e77b3040accd3e19beb0fa780979d305696d27012055fab2b3da100924d312dc"}}, "download_size": 22077376, "post_processing_size": null, "dataset_size": 3322296, "size_in_bytes": 25399672}, "nso-sesotho": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "nso-sesotho", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4427898, "num_examples": 9471, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/334/nchlt_sesotho_named_entity_annotated_corpus.zip": {"num_bytes": 30421109, "checksum": "986305f6acacc288e2eea35b5e0fc1d53102738c7b8f39cf35948d68d2f91ce5"}}, "download_size": 30421109, "post_processing_size": null, "dataset_size": 4427898, "size_in_bytes": 34849007}, "tn": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "tn", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3812339, "num_examples": 7943, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/341/nchlt_setswana_named_entity_annotated_corpus.zip": {"num_bytes": 25905236, "checksum": "9bf4ac8da7c0ceb9e987a569cb974aa76e9584272013c416aeeee42bcface880"}}, "download_size": 25905236, "post_processing_size": null, "dataset_size": 3812339, "size_in_bytes": 29717575}, "ss": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "ss", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3431063, "num_examples": 10797, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/346/nchlt_siswati_named_entity_annotated_corpus.zip": {"num_bytes": 21882224, "checksum": "1939ae4161ecf8974cf35dfa57ef9d6c1b452f85942fecd7f2c1201b30a12b8d"}}, "download_size": 21882224, "post_processing_size": null, "dataset_size": 3431063, "size_in_bytes": 25313287}, "ve": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "ve", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3941041, "num_examples": 8477, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/355/nchlt_tshivenda_named_entity_annotated_corpus.zip": {"num_bytes": 26382457, "checksum": "db3202ea8d15d2689724c10877ad67ff823d4b8129cd49184a19eacef009ce41"}}, "download_size": 26382457, "post_processing_size": null, "dataset_size": 3941041, "size_in_bytes": 30323498}, "ts": {"description": "The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.\n", "citation": "@inproceedings{eiselen2014developing,\n title={Developing Text Resources for Ten South African Languages.},\n author={Eiselen, Roald and Puttkammer, Martin J},\n booktitle={LREC},\n pages={3698--3703},\n year={2014}\n}\n", "homepage": "https://www.aclweb.org/anthology/W02-2024/", "license": "", "features": {"tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 9, "names": ["OUT", "B-PERS", "I-PERS", "B-ORG", "I-ORG", "B-LOC", "I-LOC", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "nchlt", "config_name": "ts", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3941041, "num_examples": 8477, "dataset_name": "nchlt"}}, "download_checksums": {"https://repo.sadilar.org/bitstream/handle/20.500.12185/355/nchlt_tshivenda_named_entity_annotated_corpus.zip": {"num_bytes": 26382457, "checksum": "db3202ea8d15d2689724c10877ad67ff823d4b8129cd49184a19eacef009ce41"}}, "download_size": 26382457, "post_processing_size": null, "dataset_size": 3941041, "size_in_bytes": 30323498}}
dummy/af/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e18e7c7105fcd06abf7b7fec640dfbeec2116fe5ec5a9a9e3258189251a5a7bf
3
+ size 2511
dummy/nr/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d913111dd48c98b73b8c1b9cfe88eb8f01cad968497a43634342bd4e311c05cf
3
+ size 2550
dummy/nso-sepedi/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3cd452bb60862a3a071e463ebdc85667a3886922f704505504d6f359f888e12
3
+ size 2339
dummy/nso-sesotho/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ed2a24e3678c319c3282d2be5ddd1fe6b8ed03c0266a1426bc6944d69ace19
3
+ size 2384
dummy/ss/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c4bfd8312315b5317eb0596e1e3eb5ed4699db31abb5733145147936c09b1b6
3
+ size 2540
dummy/tn/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc2b9126cfc61149d69ad51a89ebfb5c3b7db880e84ad0ce5c19a31a8463af0b
3
+ size 2366
dummy/ts/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec4f9125e9b177b877e8aea288ea92afcfa6ccd9bbefe9a5109c3838245affa
3
+ size 2494
dummy/ve/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fea4e829e7b35461e2bf3367ff610e43770d02455082f1b8dc4af4790cee478d
3
+ size 2494
dummy/xh/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87563edb6d0d39de61f98e175e2b160b3d23d58016ac671ac8af134d59183c85
3
+ size 2592
dummy/zu/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a84034a85ecb933acadd323ba1af11f0bccaefa0fb524d9056f9f6f302382be1
3
+ size 2554
nchlt.py ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2020 HuggingFace Datasets Authors.
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
+
16
+ # Lint as: python3
17
+
18
+ import os
19
+
20
+ import datasets
21
+
22
+
23
+ _CITATION = """\
24
+ @inproceedings{eiselen2014developing,
25
+ title={Developing Text Resources for Ten South African Languages.},
26
+ author={Eiselen, Roald and Puttkammer, Martin J},
27
+ booktitle={LREC},
28
+ pages={3698--3703},
29
+ year={2014}
30
+ }
31
+ """
32
+
33
+ _DESCRIPTION = """\
34
+ The development of linguistic resources for use in natural language processingis of utmost importance for the continued growth of research anddevelopment in the field, especially for resource-scarce languages. In this paper we describe the process and challenges of simultaneouslydevelopingmultiple linguistic resources for ten of the official languages of South Africa. The project focussed on establishing a set of foundational resources that can foster further development of both resources and technologies for the NLP industry in South Africa. The development efforts during the project included creating monolingual unannotated corpora, of which a subset of the corpora for each language was annotated on token, orthographic, morphological and morphosyntactic layers. The annotated subsetsincludes both development and test setsand were used in the creation of five core-technologies, viz. atokeniser, sentenciser,lemmatiser, part of speech tagger and morphological decomposer for each language. We report on the quality of these tools for each language and provide some more context of the importance of the resources within the South African context.
35
+ """
36
+
37
+
38
+ class NCHLTConfig(datasets.BuilderConfig):
39
+ """BuilderConfig for NCHLT"""
40
+
41
+ def __init__(self, zip_file, **kwargs):
42
+ """BuilderConfig forNCHLT.
43
+
44
+ Args:
45
+ zip_file: The URL where to get the data.
46
+ **kwargs: keyword arguments forwarded to super.
47
+ """
48
+ self.zip_file = zip_file
49
+ super(NCHLTConfig, self).__init__(**kwargs)
50
+
51
+
52
+ class NCHLT(datasets.GeneratorBasedBuilder):
53
+ """NCHLT dataset."""
54
+
55
+ BUILDER_CONFIGS = [
56
+ NCHLTConfig(
57
+ name="af",
58
+ version=datasets.Version("1.0.0"),
59
+ description="NCHLT Afrikaans Named Entity Annotated Corpus",
60
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/299/nchlt_afrikaans_named_entity_annotated_corpus.zip",
61
+ ),
62
+ NCHLTConfig(
63
+ name="nr",
64
+ version=datasets.Version("1.0.0"),
65
+ description="NCHLT isiNdebele Named Entity Annotated Corpus",
66
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/306/nchlt_isindebele_named_entity_annotated_corpus.zip",
67
+ ),
68
+ NCHLTConfig(
69
+ name="xh",
70
+ version=datasets.Version("1.0.0"),
71
+ description="NCHLT isiXhosa Named Entity Annotated Corpus",
72
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/312/nchlt_isixhosa_named_entity_annotated_corpus.zip",
73
+ ),
74
+ NCHLTConfig(
75
+ name="zu",
76
+ version=datasets.Version("1.0.0"),
77
+ description="NCHLT isiZulu Named Entity Annotated Corpus",
78
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/319/nchlt_isizulu_named_entity_annotated_corpus.zip",
79
+ ),
80
+ NCHLTConfig(
81
+ name="nso-sepedi",
82
+ version=datasets.Version("1.0.0"),
83
+ description="NCHLT Sepedi Named Entity Annotated Corpus",
84
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/328/nchlt_sepedi_named_entity_annotated_corpus.zip",
85
+ ),
86
+ NCHLTConfig(
87
+ name="nso-sesotho",
88
+ version=datasets.Version("1.0.0"),
89
+ description="NCHLT Sesotho Named Entity Annotated Corpus",
90
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/334/nchlt_sesotho_named_entity_annotated_corpus.zip",
91
+ ),
92
+ NCHLTConfig(
93
+ name="tn",
94
+ version=datasets.Version("1.0.0"),
95
+ description="NCHLT Setswana Named Entity Annotated Corpus",
96
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/341/nchlt_setswana_named_entity_annotated_corpus.zip",
97
+ ),
98
+ NCHLTConfig(
99
+ name="ss",
100
+ version=datasets.Version("1.0.0"),
101
+ description="NCHLT Siswati Named Entity Annotated Corpus",
102
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/346/nchlt_siswati_named_entity_annotated_corpus.zip",
103
+ ),
104
+ NCHLTConfig(
105
+ name="ve",
106
+ version=datasets.Version("1.0.0"),
107
+ description="NCHLT Tshivenda Named Entity Annotated Corpus",
108
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/355/nchlt_tshivenda_named_entity_annotated_corpus.zip",
109
+ ),
110
+ NCHLTConfig(
111
+ name="ts",
112
+ version=datasets.Version("1.0.0"),
113
+ description="NCHLT Xitsonga Named Entity Annotated Corpus",
114
+ zip_file="https://repo.sadilar.org/bitstream/handle/20.500.12185/355/nchlt_tshivenda_named_entity_annotated_corpus.zip",
115
+ ),
116
+ ]
117
+
118
+ def _info(self):
119
+ return datasets.DatasetInfo(
120
+ description=_DESCRIPTION,
121
+ features=datasets.Features(
122
+ {
123
+ "tokens": datasets.Sequence(datasets.Value("string")),
124
+ "ner_tags": datasets.Sequence(
125
+ datasets.features.ClassLabel(
126
+ names=[
127
+ "OUT",
128
+ "B-PERS",
129
+ "I-PERS",
130
+ "B-ORG",
131
+ "I-ORG",
132
+ "B-LOC",
133
+ "I-LOC",
134
+ "B-MISC",
135
+ "I-MISC",
136
+ ]
137
+ )
138
+ ),
139
+ }
140
+ ),
141
+ supervised_keys=None,
142
+ homepage="https://www.aclweb.org/anthology/W02-2024/",
143
+ citation=_CITATION,
144
+ )
145
+
146
+ def _split_generators(self, dl_manager):
147
+ """Returns SplitGenerators."""
148
+ dl_dir = dl_manager.download_and_extract(self.config.zip_file)
149
+ all_filenames = set()
150
+ for root, dirs, files in os.walk(dl_dir):
151
+ for filename in files:
152
+ if filename.endswith(".txt") and "readme.txt" not in filename.lower():
153
+ all_filenames.add(os.path.join(dl_dir, root, filename))
154
+
155
+ return [
156
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filenames": all_filenames}),
157
+ ]
158
+
159
+ def _generate_examples(self, filenames):
160
+ for filename in sorted(filenames):
161
+ id_ = 0
162
+ tokens = []
163
+ ner_tags = []
164
+ with open(filename, "r", encoding="utf-8") as f:
165
+ for line in f:
166
+ if not line.strip():
167
+ yield id_, {"tokens": tokens, "ner_tags": ner_tags}
168
+ id_ += 1
169
+ tokens = []
170
+ ner_tags = []
171
+ else:
172
+ token, ner = line.strip().split("\t")
173
+ tokens.append(token)
174
+ ner_tags.append(ner)