Datasets:

Multilinguality:
multilingual
Size Categories:
10M<n<100M
1M<n<10M
Language Creators:
found
Annotations Creators:
no-annotation
Source Datasets:
original
ArXiv:
Tags:
License:
albertvillanova HF staff commited on
Commit
dd27e7f
1 Parent(s): 0d4bcf5

Add all language configurations

Browse files
Files changed (1) hide show
  1. cc100.py +118 -4
cc100.py CHANGED
@@ -84,10 +84,124 @@ _CITATION = """\
84
 
85
  _VERSION = "1.0.0"
86
  _BASE_URL = "https://data.statmt.org/cc-100/{}.txt.xz"
87
-
88
- # Please note: due to the size of the data, only few examples are provided.
89
- # However, you can pass the lang parameter in config to fetch data of any language in the corpus
90
- _LANGUAGES = ["am", "sr", "ka"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
 
93
  class Cc100Config(datasets.BuilderConfig):
 
84
 
85
  _VERSION = "1.0.0"
86
  _BASE_URL = "https://data.statmt.org/cc-100/{}.txt.xz"
87
+ _LANGUAGES = [
88
+ "af",
89
+ "am",
90
+ "ar",
91
+ "as",
92
+ "az",
93
+ "be",
94
+ "bg",
95
+ "bn",
96
+ "bn_rom",
97
+ "br",
98
+ "bs",
99
+ "ca",
100
+ "cs",
101
+ "cy",
102
+ "da",
103
+ "de",
104
+ "el",
105
+ "en",
106
+ "eo",
107
+ "es",
108
+ "et",
109
+ "eu",
110
+ "fa",
111
+ "ff",
112
+ "fi",
113
+ "fr",
114
+ "fy",
115
+ "ga",
116
+ "gd",
117
+ "gl",
118
+ "gn",
119
+ "gu",
120
+ "ha",
121
+ "he",
122
+ "hi",
123
+ "hi_rom",
124
+ "hr",
125
+ "ht",
126
+ "hu",
127
+ "hy",
128
+ "id",
129
+ "ig",
130
+ "is",
131
+ "it",
132
+ "ja",
133
+ "jv",
134
+ "ka",
135
+ "kk",
136
+ "km",
137
+ "kn",
138
+ "ko",
139
+ "ku",
140
+ "ky",
141
+ "la",
142
+ "lg",
143
+ "li",
144
+ "ln",
145
+ "lo",
146
+ "lt",
147
+ "lv",
148
+ "mg",
149
+ "mk",
150
+ "ml",
151
+ "mn",
152
+ "mr",
153
+ "ms",
154
+ "my",
155
+ "my_zaw",
156
+ "ne",
157
+ "nl",
158
+ "no",
159
+ "ns",
160
+ "om",
161
+ "or",
162
+ "pa",
163
+ "pl",
164
+ "ps",
165
+ "pt",
166
+ "qu",
167
+ "rm",
168
+ "ro",
169
+ "ru",
170
+ "sa",
171
+ "sc",
172
+ "sd",
173
+ "si",
174
+ "sk",
175
+ "sl",
176
+ "so",
177
+ "sq",
178
+ "sr",
179
+ "ss",
180
+ "su",
181
+ "sv",
182
+ "sw",
183
+ "ta",
184
+ "ta_rom",
185
+ "te",
186
+ "te_rom",
187
+ "th",
188
+ "tl",
189
+ "tn",
190
+ "tr",
191
+ "ug",
192
+ "uk",
193
+ "ur",
194
+ "ur_rom",
195
+ "uz",
196
+ "vi",
197
+ "wo",
198
+ "xh",
199
+ "yi",
200
+ "yo",
201
+ "zh-Hans",
202
+ "zh-Hant",
203
+ "zu",
204
+ ]
205
 
206
 
207
  class Cc100Config(datasets.BuilderConfig):