Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
part-of-speech
Languages:
Arabic
Size:
1K - 10K
ArXiv:
License:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- 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."
|
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"
|
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(
|