Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -93,10 +93,12 @@ For more information see: [ArXiv](https://arxiv.org/abs/2405.18115)
|
|
93 |
See [Subsets](#subsets) for other subsets options and change the subset_name field accordingly.
|
94 |
|
95 |
#### Option 2: Directly from files
|
|
|
|
|
96 |
```python
|
97 |
import json
|
98 |
|
99 |
-
path = <path to
|
100 |
with open(path, encoding="utf-8") as file:
|
101 |
for line in file:
|
102 |
try:
|
|
|
93 |
See [Subsets](#subsets) for other subsets options and change the subset_name field accordingly.
|
94 |
|
95 |
#### Option 2: Directly from files
|
96 |
+
Download files from here: https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/tree/main/protocols_sentences
|
97 |
+
For example: committee_full_sentences_shards_bzip2_files.tar , extract files to retrieve shards.
|
98 |
```python
|
99 |
import json
|
100 |
|
101 |
+
path = <path to committee_full_sentences_shard_00.jsonl> #or any other sentences jsonl file
|
102 |
with open(path, encoding="utf-8") as file:
|
103 |
for line in file:
|
104 |
try:
|