system HF staff commited on
Commit
a30a3b4
1 Parent(s): 21df3de

Update files from the datasets library (from 1.6.0)

Browse files

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

Files changed (2) hide show
  1. README.md +3 -24
  2. lince.py +1 -4
README.md CHANGED
@@ -220,26 +220,6 @@ The data fields are the same among all splits.
220
  ### Citation Information
221
 
222
  ```
223
-
224
- @inproceedings{molina-etal-2016-overview,
225
- title = "Overview for the Second Shared Task on Language Identification in Code-Switched Data",
226
- author = "Molina, Giovanni and
227
- AlGhamdi, Fahad and
228
- Ghoneim, Mahmoud and
229
- Hawwari, Abdelati and
230
- Rey-Villamizar, Nicolas and
231
- Diab, Mona and
232
- Solorio, Thamar",
233
- booktitle = "Proceedings of the Second Workshop on Computational Approaches to Code Switching",
234
- month = nov,
235
- year = "2016",
236
- address = "Austin, Texas",
237
- publisher = "Association for Computational Linguistics",
238
- url = "https://www.aclweb.org/anthology/W16-5805",
239
- doi = "10.18653/v1/W16-5805",
240
- pages = "40--49",
241
- }
242
-
243
  @inproceedings{aguilar-etal-2020-lince,
244
  title = "{L}in{CE}: A Centralized Benchmark for Linguistic Code-switching Evaluation",
245
  author = "Aguilar, Gustavo and
@@ -255,12 +235,11 @@ The data fields are the same among all splits.
255
  language = "English",
256
  ISBN = "979-10-95546-34-4",
257
  }
258
-
259
- Note that each LinCE dataset has its own citation. Please see the source to see
260
- the correct citation for each contained dataset.
261
  ```
262
 
 
 
263
 
264
  ### Contributions
265
 
266
- Thanks to [@lhoestq](https://github.com/lhoestq), [@thomwolf](https://github.com/thomwolf), [@gaguilar](https://github.com/gaguilar) for adding this dataset.
 
220
  ### Citation Information
221
 
222
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  @inproceedings{aguilar-etal-2020-lince,
224
  title = "{L}in{CE}: A Centralized Benchmark for Linguistic Code-switching Evaluation",
225
  author = "Aguilar, Gustavo and
 
235
  language = "English",
236
  ISBN = "979-10-95546-34-4",
237
  }
 
 
 
238
  ```
239
 
240
+ Note that each LinCE dataset has its own citation too. Please see [here](https://ritual.uh.edu/lince/datasets)
241
+ for the correct citation on each dataset.
242
 
243
  ### Contributions
244
 
245
+ Thanks to [@lhoestq](https://github.com/lhoestq), [@thomwolf](https://github.com/thomwolf), [@gaguilar](https://github.com/gaguilar) for adding this dataset.
lince.py CHANGED
@@ -1,6 +1,5 @@
1
  """TODO(lince): Add a description here."""
2
 
3
- from __future__ import absolute_import, division, print_function
4
 
5
  import csv
6
  import os
@@ -8,8 +7,6 @@ import re
8
  import textwrap
9
  from itertools import groupby
10
 
11
- import six
12
-
13
  import datasets
14
 
15
 
@@ -506,7 +503,7 @@ class Lince(datasets.GeneratorBasedBuilder):
506
  "filepath": os.path.join(data_dir, "test.conll"),
507
  "colnames": {
508
  key: self.config.colnames[key]
509
- for key in six.iterkeys(self.config.colnames)
510
  if key != self.config.label_column
511
  },
512
  },
 
1
  """TODO(lince): Add a description here."""
2
 
 
3
 
4
  import csv
5
  import os
 
7
  import textwrap
8
  from itertools import groupby
9
 
 
 
10
  import datasets
11
 
12
 
 
503
  "filepath": os.path.join(data_dir, "test.conll"),
504
  "colnames": {
505
  key: self.config.colnames[key]
506
+ for key in self.config.colnames.keys()
507
  if key != self.config.label_column
508
  },
509
  },