Upload knessetCorpus.py
Browse files- knessetCorpus.py +4 -4
knessetCorpus.py
CHANGED
@@ -84,7 +84,7 @@ class KnessetCorpus(datasets.GeneratorBasedBuilder):
|
|
84 |
name="knessetMembers",
|
85 |
description=_KnessetMembers_DESCRIPTION,
|
86 |
features=["person_id", "first_name", "last_name", "full_name", "is_knesset_member", "gender", "email", "is_current", "last_updated_date", "date_of_birth", "place_of_birth", "year_of_aliya", "date_of_death", "mother_tongue", "religion", "nationality", "religious_orientation", "residence", "factions_memberships", "languages","allSources", "wikiLink","notes" ],
|
87 |
-
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/
|
88 |
citation=_KnessetCorpus_CITATION,
|
89 |
),
|
90 |
KnessetCorpusConfig(
|
@@ -105,21 +105,21 @@ class KnessetCorpus(datasets.GeneratorBasedBuilder):
|
|
105 |
name="all_features_sentences",
|
106 |
description=_AllFeaturesSentences_DESCRIPTION,
|
107 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
108 |
-
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/
|
109 |
citation=_KnessetCorpus_CITATION,
|
110 |
),
|
111 |
KnessetCorpusConfig(
|
112 |
name="committees_all_features_sentences",
|
113 |
description=_AllFeaturesSentences_DESCRIPTION,
|
114 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
115 |
-
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/
|
116 |
citation=_KnessetCorpus_CITATION,
|
117 |
),
|
118 |
KnessetCorpusConfig(
|
119 |
name="plenary_all_features_sentences",
|
120 |
description=_AllFeaturesSentences_DESCRIPTION,
|
121 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
122 |
-
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/
|
123 |
citation=_KnessetCorpus_CITATION,
|
124 |
)]
|
125 |
|
|
|
84 |
name="knessetMembers",
|
85 |
description=_KnessetMembers_DESCRIPTION,
|
86 |
features=["person_id", "first_name", "last_name", "full_name", "is_knesset_member", "gender", "email", "is_current", "last_updated_date", "date_of_birth", "place_of_birth", "year_of_aliya", "date_of_death", "mother_tongue", "religion", "nationality", "religious_orientation", "residence", "factions_memberships", "languages","allSources", "wikiLink","notes" ],
|
87 |
+
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/all_knesset_members_jsons.jsonl"],
|
88 |
citation=_KnessetCorpus_CITATION,
|
89 |
),
|
90 |
KnessetCorpusConfig(
|
|
|
105 |
name="all_features_sentences",
|
106 |
description=_AllFeaturesSentences_DESCRIPTION,
|
107 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
108 |
+
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/protocols_sentences/committee_full_sentences.jsonl.bz2", "https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/protocols_sentences/plenary_full_sentences.jsonl.bz2"],
|
109 |
citation=_KnessetCorpus_CITATION,
|
110 |
),
|
111 |
KnessetCorpusConfig(
|
112 |
name="committees_all_features_sentences",
|
113 |
description=_AllFeaturesSentences_DESCRIPTION,
|
114 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
115 |
+
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/protocols_sentences/committee_full_sentences.jsonl.bz2"],
|
116 |
citation=_KnessetCorpus_CITATION,
|
117 |
),
|
118 |
KnessetCorpusConfig(
|
119 |
name="plenary_all_features_sentences",
|
120 |
description=_AllFeaturesSentences_DESCRIPTION,
|
121 |
features=["sentence_id", "protocol_name", "speaker_id", "speaker_name", "is_valid_speaker", "turn_num_in_protocol", "sent_num_in_turn", "sentence_text", "is_chairman","morphological_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", "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"],
|
122 |
+
data_urls=["https://huggingface.co/datasets/HaifaCLGroup/KnessetCorpus/raw/main/protocols_sentences/plenary_full_sentences.jsonl.bz2"],
|
123 |
citation=_KnessetCorpus_CITATION,
|
124 |
)]
|
125 |
|