Datasets:
QCRI
/

Modalities:
Text
Formats:
parquet
Languages:
Arabic
ArXiv:
Libraries:
Datasets
pandas
License:
system HF staff commited on
Commit
496d1a4
1 Parent(s): 9b61a49

Update files from the datasets library (from 1.16.0)

Browse files

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

Files changed (1) hide show
  1. arabic_pos_dialect.py +2 -4
arabic_pos_dialect.py CHANGED
@@ -69,9 +69,7 @@ class ArabicPosDialect(datasets.GeneratorBasedBuilder):
69
  ArabicPosDialectConfig(
70
  name=dialect,
71
  dialect=dialect,
72
- description="A set of 350 tweets in the {} dialect of Arabic that have been manually segmented and POS tagged.".format(
73
- dialect
74
- ),
75
  )
76
  for dialect in _DIALECTS
77
  ]
@@ -101,7 +99,7 @@ class ArabicPosDialect(datasets.GeneratorBasedBuilder):
101
  # TODO: Downloads the data and defines the splits
102
  # dl_manager is a datasets.download.DownloadManager that can be used to
103
  # download and extract URLs
104
- urls_to_download = {dialect: _URL + "seg_plus_pos_{}.txt".format(dialect) for dialect in _DIALECTS}
105
  dl_dir = dl_manager.download_and_extract(urls_to_download)
106
  return [
107
  datasets.SplitGenerator(
 
69
  ArabicPosDialectConfig(
70
  name=dialect,
71
  dialect=dialect,
72
+ description=f"A set of 350 tweets in the {dialect} dialect of Arabic that have been manually segmented and POS tagged.",
 
 
73
  )
74
  for dialect in _DIALECTS
75
  ]
 
99
  # TODO: Downloads the data and defines the splits
100
  # dl_manager is a datasets.download.DownloadManager that can be used to
101
  # download and extract URLs
102
+ urls_to_download = {dialect: _URL + f"seg_plus_pos_{dialect}.txt" for dialect in _DIALECTS}
103
  dl_dir = dl_manager.download_and_extract(urls_to_download)
104
  return [
105
  datasets.SplitGenerator(