Datasets:

Languages:
Hebrew
ArXiv:
Libraries:
Datasets
pandas
License:
GiliGold commited on
Commit
7f1bd3a
โ€ข
1 Parent(s): 854b704

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +171 -2
README.md CHANGED
@@ -14,9 +14,10 @@ pretty_name: Knesset (Israeli Parliament) Proceedings Corpus
14
  size_categories:
15
  - 10M<n<100M
16
  ---
 
17
  # The Knesset (Israeli Parliament) Proceedings Corpus
18
  <p align="center">
19
- ๐Ÿ’ป <a href="https://github.com/HaifaCLG/KnessetCorpus" target="_blank">[Github Repo]</a> โ€ข ๐Ÿ“ƒ <a href="https://aclanthology.org/D18-1395" target="_blank">[Paper]</a>
20
  </p>
21
 
22
  ### Dataset Description
@@ -29,13 +30,181 @@ factions that we compiled.
29
 
30
  For more information see: [ArXiv](http://arxiv.org/abs/1111.11111)
31
 
32
- ## Dataset Entities
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  #### KnessetMembers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  ## Usage
38
 
 
 
 
 
 
 
39
  <!-- Address questions around how the dataset is intended to be used. -->
40
 
41
  ### License
 
14
  size_categories:
15
  - 10M<n<100M
16
  ---
17
+
18
  # The Knesset (Israeli Parliament) Proceedings Corpus
19
  <p align="center">
20
+ ๐Ÿ’ป <a href="https://github.com/HaifaCLG/KnessetCorpus" target="_blank">[Github Repo]</a> โ€ข ๐Ÿ“ƒ <a href="https://aclanthology.org/D18-1395" target="_blank">[Paper]</a> โ€ข ๐Ÿ“ƒ <a href="http://34.0.64.248:5601/" target="_blank">[ES Kibana dashboard]</a>
21
  </p>
22
 
23
  ### Dataset Description
 
30
 
31
  For more information see: [ArXiv](http://arxiv.org/abs/1111.11111)
32
 
33
+
34
+ ## Subsets
35
+
36
+ #### ALL Features Sentences
37
+ - `Name`: "all_features_sentences"
38
+ - `Description`: Samples of all the sentences in the corpus (plenary and committee) together with all the features available in the dataset.
39
+ The fields are consistent with the [All Features Sentence](#all_features_sentence) entity.
40
+ This is roughly equivalent to a join between all models in dataset (Protocol, Faction, Person, Sentence)
41
+ - `Number of examples`: 32,832,205
42
+ - `Data_urls`:
43
+ ["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/committee_full_sentences.jsonl.bz2",
44
+ "https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/plenary_full_sentences.jsonl.bz2"]
45
 
46
  #### KnessetMembers
47
+ - `Name`: "knessetMembers"
48
+ - `Description`: samples of the knesset members in the dataset and their meta-data information such as name, gender and factions affiliations.
49
+ The fields are consistent with the [Person](#person) entity.
50
+ - `Number of examples`: 1,100
51
+ - Data_urls:["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/all_knesset_members_jsons.jsonl"]
52
+
53
+ #### Factions
54
+ - `Name`: "factions"
55
+ - `Description`: Samples of all the factions in the dataset and their meta-data information such as name, political orientation and active periods.
56
+ The fields are consistent with the [Faction](#faction) entity.
57
+ - `Number of examples`: 153
58
+ - Data_urls:["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/factions_jsons.jsonl"]
59
+
60
+ #### Protocols
61
+ - `Name`: "protocols"
62
+ - `Description`: Samples of the protocols in the dataset and their meta-data information such as date,
63
+ - knesset number, session name and a list of its sentences.
64
+ The fields are consistent with the [Protocol](#protocol) entity.
65
+ - `Number of examples`: 41,319
66
+ - Data_urls:todo
67
+
68
+ #### Committees ALL Features Sentences
69
+ - `Name`: "committees_all_features_sentences"
70
+ - `Description`: Samples of all the sentences in the committee sessions together with all the features available in the dataset.
71
+ The fields are consistent with the [All Features Sentence](#all_features_sentence) entity.
72
+ - `Number of examples`: 24,805,925
73
+ - Data_urls: ["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/committee_full_sentences.jsonl.bz2"]
74
+
75
+ #### Plenary ALL Features Sentences
76
+ - `Name`: "plenary_all_features_sentences"
77
+ - `Description`: Samples of all the sentences in the plenary sessions together with all the features available in the dataset.
78
+ The fields are consistent with the [All Features Sentence](#all_features_sentence) entity.
79
+ - `Number of examples`: 24,805,925
80
+ - Data_urls: ["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/plenary_full_sentences.jsonl.bz2"]
81
+
82
+ ## Other files in dataset
83
+ ner_and_ud_manually_annotated_sentences: contains files with ~4700 manually annotated sentences from the Knesset corpus for the NER and dependencies sentences.
84
+ Conllu files: The morphological fields of the sentences in a conllu format. corresponding to the morphological_fields of the [Sentence](#sentence) model.
85
+ Meta-data files: csv tables containing the details about the factions and the Knesset members in our dataset. corresponding the fields of the [Faction](#faction) and
86
+ [Person](#person) models.
87
+ raw_data: All the original protocols as recieved from the Knesset in .doc, .docx and pdf formats.
88
+
89
+ ## Dataset Entities
90
+ * All the dates in the dataset are represented in the format: '%Y-%m-%d %H:%M'
91
+ #### Person
92
+ The Person entity contains the following fields:
93
+ - `person_id`: A unique identifier for the person. For example, "2660". (type: string).
94
+ - `first_name`: The first name of the person in Hebrew. For example, "ืื‘ืจื”ื". (type: string).
95
+ - `last_name`: The last name of the person in Hebrew. For example, "ืฉืคื™ืจื". (type: string).
96
+ - `full_name`: The full name of the person, a combination of the first and last name in Hebrew. For example, "ืื‘ืจื”ื ืฉืคื™ืจื". (type: string).
97
+ - `is_knesset_member`: Indicates if the person is or ever was a Knesset member. (type: boolean).
98
+ - `gender`: The person's gender. For example, "male". (type: string).
99
+ - `email`: The person's email address. (type: string).
100
+ - `is_current`: Indicates if the person was a Knesset member at the time this record was last updated. (type: boolean).
101
+ - `last_updated_date`: The date the record was last updated. For example: "2015-03-20 12:03". (type: string).
102
+ - `date_of_birth`: The person's date of birth. For example: "1921-03-02 00:00". (type: string).
103
+ - `place_of_birth`: The country the person was born in, mentioned in Hebrew. For example, "ืจื•ืžื ื™ื”". (type: string).
104
+ - `year_of_aliya`: The year the person migrated to Israel if not born there. For example, "1949". Empty if the person was born in Israel or hasn't migrated there. (type: string).
105
+ - `date_of_death`: The date the person died, if not alive. For example, "2000-06-26 00:00". Empty if the person is still alive. (type: string).
106
+ - `mother_tongue`: The person's first language. Currently unavailable. (type: string).
107
+ - `religion`: The person's religion, mentioned in Hebrew. For example "ื™ื”ื•ื“ื™". (type: string).
108
+ - `nationality`: The person's nationality, mentioned in Hebrew. For example "ื™ื”ื•ื“ื™". (type: string).
109
+ - `religious_orientation`: The person's religious orientation. Possible values:, "ื—ืจื“ื™", "ื“ืชื™", "ื—ื™ืœื•ื ื™" or an empty string if not available. (type: string).
110
+ - `residence`: The place where the person currently resides. For example: "ืชืœ ืื‘ื™ื‘". (type: string).
111
+ - `factions_memberships`: A list of dicts that includes factions the person has been a member of.
112
+ Each dict contains:
113
+ - `faction_id`: General ID of the faction. (type: string).
114
+ - `knesset_faction_id`: The unique ID for the faction within the Knesset. (type: string).
115
+ - `faction_name`: Name of the faction in Hebrew. For example, "ืื’ื•ื“ืช ื™ืฉืจืืœ". (type: string).
116
+ - `knesset_number`: The session of the Knesset during the person's membership in the faction. For example: "13" (type: string).
117
+ - `start_date`: The date when the person's membership in the faction started. (type: string).
118
+ - `end_date`: The date when the person's membership in the faction ended. (type: string).
119
+ - `languages`: Languages spoken by the person, mentioned in Hebrew. For example, [" ื™ื™ื“ื™ืฉ", " ืฆืจืคืชื™ืช", " ื’ืจืžื ื™ืช"] (type: list of strings).
120
+ - `allSources`: The sources of information for the person, including wikiLink. (type: list of strings).
121
+ - `wikiLink`: The person's Wikipedia page link. (type: string).
122
+ - `notes`: Any additional notes on the person. (type: list of strings).
123
 
124
+ #### Faction
125
+ The Faction entity contains the following fields:
126
+
127
+ - `faction_name`: Name of the faction in Hebrew. For example, "ืžืคืœื’ืช ืคื•ืขืœื™ื ืžืื•ื—ื“ืช". (type: string).
128
+ - `faction_popular_initials`: The common initials or acronym of the party name, if any. (type: string).
129
+ - `faction_id`: Unique identifier for the faction. (type: string).
130
+ - `active_periods`: List of active periods for this faction, each entry is a dict:
131
+ - `start_date`: The date when the active period started. (type: string).
132
+ - `end_date`: The date when the active period ended. (type: string).
133
+ - `knesset_numbers`: List of Knesset sessions where the faction was active. Each entry is a string representing the Knesset number. (type: list of strings).
134
+ - `coalition_or_opposition_memberships`: A list of Knesset memberships, each entry is a dict that includes:
135
+ - `knesset_num`: The session of the Knesset during the faction's membership. (type: string).
136
+ - `start_date`: The date when the membership started. (type: string).
137
+ - `end_date`: The date when the membership ended. (type: string).
138
+ - `knesset_faction_name`: The faction's name in Knesset. (type: string).
139
+ - `member_of_coalition`: Boolean indicating whether the faction was a member of the coalition. (type: boolean).
140
+ - `notes`: Any additional notes related to the membership. (type: string).
141
+ - `political_orientation`: The political orientation of the party. Possible values: "ืฉืžืืœ ืงื™ืฆื•ื ื™", "ืฉืžืืœ", "ื™ืžื™ืŸ", "ื™ืžื™ืŸ ืงื™ืฆื•ื ื™", "ืžืจื›ื–", "ืขืจื‘ื™ื", "ื“ืชื™ื™ื", "ื—ืจื“ื™ื". (type: string).
142
+ - `other_names`: Other names used to describe the faction, if any. (type: list of strings).
143
+ - `notes`: Any additional notes related to the faction. (type: string).
144
+ - `wiki_link`: The link to the faction's Wikipedia page in Hebrew. (type: string).
145
+
146
+
147
+ #### Protocol
148
+ The Protocol entity contains the following fields:
149
+
150
+ - `protocol_name`: The name of the protocol document and also serves as a unique identifier for the protocol. For example, "18_ptv_140671.doc". (type: string)
151
+ - `session_name`: The name of the session where the protocol was created. For example, "ื”ื•ื•ืขื“ื” ืœืขื ื™ื™ื ื™ ื‘ื™ืงื•ืจืช ื”ืžื“ื™ื ื”". (type: string)
152
+ - `parent_session_name`: The name of the parent session where the protocol was created, if any. For example, "ื”ื•ื•ืขื“ื” ืœืขื ื™ื™ื ื™ ื‘ื™ืงื•ืจืช ื”ืžื“ื™ื ื”". (type: string)
153
+ - `knesset_number`: The number of the Knesset session. For example, "18". (type: string)
154
+ - `protocol_number`: The number of the protocol. For example, "92". (type: string)
155
+ - `protocol_date`: The date and time of the meeting. For example, "2010-06-14 12:30". (type: string)
156
+ - `is_ocr_output`: A Boolean value indicating whether the protocol is an output from Optical Character Recognition (OCR). Currently all documents in the dataset are not an ocr_output. (type: boolean)
157
+ - `protocol_type`: The type of the protocol. possible values: "committee", "plenary". (type: string)
158
+ - `protocol_sentences`: A list of sentences in the protocol. Each item in the list is a dict with fields of the [Sentence](#sentence) entity described below.
159
+
160
+
161
+ #### Sentence
162
+ The Sentence entity contains the following fields:
163
+
164
+ - `sentence_id`: Unique identifier for the sentence. (type: string)
165
+ - `protocol_name`: Name of the protocol this sentence is part of. Corresponds to the protocol_name field in the [Protocol](#protocol) entity. (type: string)
166
+ - `speaker_id`: Identifier for the speaker of the sentence. Corresponds to the person_id field in the [Person](#person) entity. (type: string)
167
+ - `speaker_name`: Name of the speaker. Corresponds to the full_name field in the [Person](#person) entity. (type: string)
168
+ - `is_valid_speaker`: A Boolean value indicating whether the speaker is valid. (type: boolean)
169
+ - `turn_num_in_protocol`: The turn number in the protocol where this sentence was spoken. (type: integer)
170
+ - `sent_num_in_turn`: The number of this sentence in its respective turn. (type: integer)
171
+ - `sentence_text`: The text content of the sentence. (type: string)
172
+ - `is_chairman`: A Boolean value indicating whether the speaker is the chairman of this meeting. (type: boolean)
173
+ - `morphological_fields`: A List of morphological structures of words in the sentence, each being a dictionary. These fields are based on the CoNLL-U morphological annotations format:
174
+ - `id`: The identifier for the word in the sentence. (type: integer)
175
+ - `form`: The form of the word. (type: string)
176
+ - `lemma`: The base or dictionary form of the word. (type: string)
177
+ - `upos`: Universal part-of-speech tag. (type: string)
178
+ - `xpos`: Language-specific part-of-speech tag. (type: string)
179
+ - `feats`: Grammatical features of the word. This is a dictionary with features such as: {"Gender": "Masc", "Number": "Plur"}. (type: dictionary)
180
+ - `head`: The ID of the word that the current word is attached to, creating a syntactic relation. (type: integer)
181
+ - `deprel`: Universal dependency relation to the HEAD (root independent). (type: string)
182
+ - `deps`: Enhanced dependency graph in the form of a list of head-deprel pairs. (type: list)
183
+ - `misc`: Any other miscellaneous information. (type: string)
184
+ - `factuality_fields`: Currently unavailable.
185
+
186
+ #### All_Features_Sentence
187
+ The All_Features_Sentence entity combines fields from the [Person](#person),[Faction](#faction), [Protocol](#protocol) and [Sentence](#sentence) entities, each corresponding to its specific context in relation to the sentence.
188
+ This is roughly equivalent to a join between all the entities in dataset.
189
+ Each field corresponds to its respective description in the entity's section. The structure includes the following fields:
190
+ - Protocol fields: These correspond to the protocol from which the sentence is extracted and include:
191
+ `knesset_number`, `protocol_name`, `protocol_number`, `protocol_type`, `session_name`, `parent_session_name`, `protocol_date`, `is_ocr_output`.
192
+ - Sentence fields: These pertain to the specific sentence and include:
193
+ `sentence_id`, `speaker_id`, `speaker_name`, `is_valid_speaker`, `is_chairman`, `turn_num_in_protocol`, `sent_num_in_turn`, `sentence_text`, `morphological_fields`, `factuality_fields`.
194
+ - Person (Speaker) fields: These correspond to the speaker of the sentence and include:
195
+ `speaker_first_name`, `speaker_last_name`, `speaker_is_knesset_member`, `speaker_gender`, `speaker_email`, `speaker_last_updated_date`, `speaker_date_of_birth`, `speaker_place_of_birth`,`speaker_year_of_aliya`, `speaker_date_of_death`, `speaker_mother_tongue`, `speaker_religion`, `speaker_nationality`, `speaker_religious_orientation`, `speaker_residence`, `speaker_factions_memberships`, `speaker_languages`, `speaker_sources`, `speaker_notes`.
196
+ - Faction fields: These correspond to the faction of the speaker at the time the sentence was delivered and include:
197
+ `faction_id`, `faction_general_name`, `knesset_faction_id`, `current_faction_name`, `member_of_coalition_or_opposition`, `faction_popular_initials`, `faction_active_periods`, `faction_knesset_numbers`,`faction_coalition_or_opposition_memberships`, `faction_political_orientation`, `faction_other_names`, `faction_notes`, `faction_wiki_link`.
198
+ Please refer to the respective entity section for details on each field.
199
 
200
  ## Usage
201
 
202
+ #### Option 1: with HuggingFace
203
+
204
+ #### Option 2: with ElasticSearch
205
+
206
+ #### Option 3: direct from files
207
+
208
  <!-- Address questions around how the dataset is intended to be used. -->
209
 
210
  ### License