Datasets:

Languages:
Hebrew
ArXiv:
Libraries:
Datasets
pandas
License:
GiliGold commited on
Commit
9078ecf
1 Parent(s): 35ca6f3

Upload knessetCorpus.py

Browse files
Files changed (1) hide show
  1. knessetCorpus.py +1 -10
knessetCorpus.py CHANGED
@@ -81,9 +81,7 @@ _Protocols_DESCRIPTION = """\
81
  Protocols consists of samples of the protocols in the dataset and their meta-data information such as date, knesset number, session name and a list of its sentences.
82
  The features are consistent with the Protocol model features and the features for each sentence are consistent with the Sentence model
83
  """
84
- _Sample_AllFeaturesSentences_DESCRIPTION = """\
85
- sample of all features sentences
86
- """
87
  class KnessetCorpusConfig(datasets.BuilderConfig):
88
  """BuilderConfig for KnessetCorpus."""
89
 
@@ -118,13 +116,6 @@ class KnessetCorpus(datasets.GeneratorBasedBuilder):
118
  data_urls=[f"https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/plenary_full_sentences_shards_bzip2_files/plenary_full_sentences_shard_{str(i).zfill(2)}.jsonl.bz2" for i in range(27)]+[f"https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/committee_full_sentences_shards_bzip2_files/committee_full_sentences_shard_{str(i).zfill(2)}.jsonl.bz2" for i in range(83)],
119
  citation=_KnessetCorpus_CITATION,
120
  ),
121
- KnessetCorpusConfig(
122
- name="sample_all_features_sentences",
123
- description=_Sample_AllFeaturesSentences_DESCRIPTION,
124
- features=[ "_id", "knesset_number", "protocol_name", "protocol_number", "protocol_type", "session_name", "parent_session_name", "@timestamp", "protocol_date", "is_ocr_output", "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", "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","faction_id", "faction_general_name", "knesset_faction_id", "current_faction_name", "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"],
125
- data_urls=[f"https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/sample.jsonl"],
126
- citation=_KnessetCorpus_CITATION,
127
- ),
128
  KnessetCorpusConfig(
129
  name="knessetMembers",
130
  description=_KnessetMembers_DESCRIPTION,
 
81
  Protocols consists of samples of the protocols in the dataset and their meta-data information such as date, knesset number, session name and a list of its sentences.
82
  The features are consistent with the Protocol model features and the features for each sentence are consistent with the Sentence model
83
  """
84
+
 
 
85
  class KnessetCorpusConfig(datasets.BuilderConfig):
86
  """BuilderConfig for KnessetCorpus."""
87
 
 
116
  data_urls=[f"https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/plenary_full_sentences_shards_bzip2_files/plenary_full_sentences_shard_{str(i).zfill(2)}.jsonl.bz2" for i in range(27)]+[f"https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/resolve/main/protocols_sentences/committee_full_sentences_shards_bzip2_files/committee_full_sentences_shard_{str(i).zfill(2)}.jsonl.bz2" for i in range(83)],
117
  citation=_KnessetCorpus_CITATION,
118
  ),
 
 
 
 
 
 
 
119
  KnessetCorpusConfig(
120
  name="knessetMembers",
121
  description=_KnessetMembers_DESCRIPTION,