Commit
•
7693a14
1
Parent(s):
f0f0cd0
Add citation information to makhzan dataset (#4894)
Browse files* Add citation to makhzan dataset card
* Update citation in script
* Update metadata JSON
Commit from https://github.com/huggingface/datasets/commit/566265eeaf7a714ede082ddd4f9de2345676eede
- README.md +6 -1
- dataset_infos.json +1 -1
- makhzan.py +4 -6
README.md
CHANGED
@@ -222,7 +222,12 @@ Zeerak Ahmed
|
|
222 |
|
223 |
### Citation Information
|
224 |
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
### Contributions
|
228 |
|
|
|
222 |
|
223 |
### Citation Information
|
224 |
|
225 |
+
```
|
226 |
+
@misc{makhzan,
|
227 |
+
title={Maḵẖzan},
|
228 |
+
howpublished = "\url{https://github.com/zeerakahmed/makhzan/}",
|
229 |
+
}
|
230 |
+
```
|
231 |
|
232 |
### Contributions
|
233 |
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"default": {"description": "An Urdu text corpus for machine learning, natural language processing and linguistic analysis.\n", "citation": "@
|
|
|
1 |
+
{"default": {"description": "An Urdu text corpus for machine learning, natural language processing and linguistic analysis.\n", "citation": "\\\n@misc{makhzan,\ntitle={Ma\u1e35\u1e96zan},\nhowpublished = \"\\url{https://github.com/zeerakahmed/makhzan/}\",\n}\n", "homepage": "https://matnsaz.net/en/makhzan", "license": "All files in the /text directory are covered under standard copyright. Each piece of text has been included in this repository with explicity permission of respective copyright holders, who are identified in the <meta> tag for each file. You are free to use this text for analysis, research and development, but you are not allowed to redistribute or republish this text. Some cases where a less restrictive license could apply to files in the /text directory are presented below. In some cases copyright free text has been digitally reproduced through the hard work of our collaborators. In such cases we have credited the appropriate people where possible in a notes field in the file's metadata, and we strongly encourage you to contact them before redistributing this text in any form. Where a separate license is provided along with the text, we have provided corresponding data in the publication field in a file's metadata.", "features": {"file_id": {"dtype": "string", "id": null, "_type": "Value"}, "metadata": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "num-words": {"dtype": "int64", "id": null, "_type": "Value"}, "contains-non-urdu-languages": {"dtype": "string", "id": null, "_type": "Value"}, "document_body": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "makhzan", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 35637310, "num_examples": 5522, "dataset_name": "makhzan"}}, "download_checksums": {"https://github.com/zeerakahmed/makhzan/archive/99db56552d6781dcd184bdd3466bce15fd0a1ec0.zip": {"num_bytes": 15187763, "checksum": "d50d5d168d20dae7a2b4da3e51c60be1fb0a15588dfbeb4b9cf31e87fe45d54e"}}, "download_size": 15187763, "post_processing_size": null, "dataset_size": 35637310, "size_in_bytes": 50825073}}
|
makhzan.py
CHANGED
@@ -22,12 +22,10 @@ from pathlib import Path
|
|
22 |
import datasets
|
23 |
|
24 |
|
25 |
-
_CITATION = """\
|
26 |
-
@
|
27 |
-
title
|
28 |
-
|
29 |
-
},
|
30 |
-
year={2020}
|
31 |
}
|
32 |
"""
|
33 |
|
|
|
22 |
import datasets
|
23 |
|
24 |
|
25 |
+
_CITATION = r"""\
|
26 |
+
@misc{makhzan,
|
27 |
+
title={Maḵẖzan},
|
28 |
+
howpublished = "\url{https://github.com/zeerakahmed/makhzan/}",
|
|
|
|
|
29 |
}
|
30 |
"""
|
31 |
|