eyalmazuz commited on
Commit
0c973ca
1 Parent(s): 91a4138

Citation breaks huggingface dataset load

Browse files

```
_KnessetCorpus_CITATION =

@misc

{goldin2024knesset, title={The Knesset Corpus: An Annotated Corpus of Hebrew Parliamentary Proceedings}, author={Gili Goldin and Nick Howell and Noam Ordan and Ella Rabinovich and Shuly Wintner}, year={2024}, eprint={2405.18115}, archivePrefix={arXiv}, primaryClass={cs.CL} }
```
is not valid python syntax and when trying to load with huggingface's ``load_dataset``
it throws an ``invalid syntax`` error

Files changed (1) hide show
  1. knessetCorpus.py +1 -1
knessetCorpus.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import hf_hub_url
6
  import datasets
7
 
8
 
9
- _KnessetCorpus_CITATION = @misc{goldin2024knesset, title={The Knesset Corpus: An Annotated Corpus of Hebrew Parliamentary Proceedings}, author={Gili Goldin and Nick Howell and Noam Ordan and Ella Rabinovich and Shuly Wintner}, year={2024}, eprint={2405.18115}, archivePrefix={arXiv}, primaryClass={cs.CL} }
10
 
11
  _KnessetCorpus_DESCRIPTION = """
12
  An annotated corpus of Hebrew parliamentary proceedings containing over 32 million sentences from all the (plenary and committee) protocols held in the Israeli parliament from 1998 to 2022.
 
6
  import datasets
7
 
8
 
9
+ _KnessetCorpus_CITATION = "@misc{goldin2024knesset, title={The Knesset Corpus: An Annotated Corpus of Hebrew Parliamentary Proceedings}, author={Gili Goldin and Nick Howell and Noam Ordan and Ella Rabinovich and Shuly Wintner}, year={2024}, eprint={2405.18115}, archivePrefix={arXiv}, primaryClass={cs.CL} }"
10
 
11
  _KnessetCorpus_DESCRIPTION = """
12
  An annotated corpus of Hebrew parliamentary proceedings containing over 32 million sentences from all the (plenary and committee) protocols held in the Israeli parliament from 1998 to 2022.