shamikbose89
commited on
Commit
•
d4cda68
1
Parent(s):
310505a
Upload README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
annotations_creators:
|
2 |
+
- no-annotation
|
3 |
+
language:
|
4 |
+
- '`en:GB`'
|
5 |
+
language_creators:
|
6 |
+
- expert-generated
|
7 |
+
license:
|
8 |
+
- cc-by-4.0
|
9 |
+
multilinguality:
|
10 |
+
- monolingual
|
11 |
+
pretty_name: Hansard Speeches
|
12 |
+
size_categories:
|
13 |
+
- 1M<n<10M
|
14 |
+
source_datasets:
|
15 |
+
- original
|
16 |
+
tags:
|
17 |
+
- speeches
|
18 |
+
- politics
|
19 |
+
- parliament
|
20 |
+
- british
|
21 |
+
task_categories:
|
22 |
+
- text-classification
|
23 |
+
task_ids:
|
24 |
+
- multi-class-classification
|
25 |
+
|
26 |
+
# Dataset Card for hansard_speech
|
27 |
+
|
28 |
+
## Table of Contents
|
29 |
+
- [Dataset Description](#dataset-description)
|
30 |
+
- [Dataset Summary](#dataset-summary)
|
31 |
+
- [Supported Tasks](#supported-tasks-and-leaderboards)
|
32 |
+
- [Languages](#languages)
|
33 |
+
- [Dataset Structure](#dataset-structure)
|
34 |
+
- [Data Instances](#data-instances)
|
35 |
+
- [Data Fields](#data-instances)
|
36 |
+
- [Data Splits](#data-instances)
|
37 |
+
- [Dataset Creation](#dataset-creation)
|
38 |
+
- [Curation Rationale](#curation-rationale)
|
39 |
+
- [Source Data](#source-data)
|
40 |
+
- [Annotations](#annotations)
|
41 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
42 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
43 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
44 |
+
- [Discussion of Biases](#discussion-of-biases)
|
45 |
+
- [Other Known Limitations](#other-known-limitations)
|
46 |
+
- [Additional Information](#additional-information)
|
47 |
+
- [Dataset Curators](#dataset-curators)
|
48 |
+
- [Licensing Information](#licensing-information)
|
49 |
+
- [Citation Information](#citation-information)
|
50 |
+
|
51 |
+
## Dataset Description
|
52 |
+
|
53 |
+
- **Homepage:** https://evanodell.com/projects/datasets/hansard-data/
|
54 |
+
- **Repository:** https://github.com/evanodell/hansard-data3
|
55 |
+
- **Paper:** [Needs More Information]
|
56 |
+
- **Leaderboard:** [Needs More Information]
|
57 |
+
- **Point of Contact:** [Evan Odell](https://github.com/evanodell)
|
58 |
+
|
59 |
+
### Dataset Summary
|
60 |
+
|
61 |
+
A dataset containing every speech in the House of Commons from May 1979-July 2020. Quoted from the dataset homepage
|
62 |
+
|
63 |
+
> Please contact me if you find any errors in the dataset. The integrity of the public Hansard record is questionable at times, and while I have improved it, the data is presented as is.
|
64 |
+
|
65 |
+
### Supported Tasks and Leaderboards
|
66 |
+
|
67 |
+
- `text-classification`: This dataset can be used to clasify various texts (transcribed from speeches) as different time periods
|
68 |
+
|
69 |
+
### Languages
|
70 |
+
|
71 |
+
`en:GB`
|
72 |
+
|
73 |
+
## Dataset Structure
|
74 |
+
|
75 |
+
### Data Instances
|
76 |
+
|
77 |
+
```
|
78 |
+
{
|
79 |
+
'id': 'uk.org.publicwhip/debate/1979-05-10a.23.4',
|
80 |
+
'speech': 'Malcolm Leslie Rifkind, esquire, Edinburgh, Pentlands.',
|
81 |
+
'display_as': 'Unknown',
|
82 |
+
'party': nan,
|
83 |
+
'constituency': nan,
|
84 |
+
'mnis_id': nan,
|
85 |
+
'date': '1979-05-10',
|
86 |
+
'time': nan,
|
87 |
+
'colnum': '23',
|
88 |
+
'speech_class': 'Procedural',
|
89 |
+
'major_heading': 'MEMBERS SWORN',
|
90 |
+
'minor_heading': nan,
|
91 |
+
'oral_heading': nan,
|
92 |
+
'year': 1979,
|
93 |
+
'hansard_membership_id': nan,
|
94 |
+
'speakerid': nan,
|
95 |
+
'person_id': nan,
|
96 |
+
'speakername': 'Unknown',
|
97 |
+
'url': nan
|
98 |
+
}
|
99 |
+
```
|
100 |
+
|
101 |
+
### Data Fields
|
102 |
+
|
103 |
+
Variable|Description
|
104 |
---
|
105 |
+
id|The ID as assigned by mysociety
|
106 |
+
speech|The text of the speech
|
107 |
+
display_as| The standardised name of the MP.
|
108 |
+
party |The party an MP is member of at time of speech
|
109 |
+
constituency| Constituency represented by MP at time of
|
110 |
+
mnis_id| The MPs Members Name Information Service number
|
111 |
+
date |Date of speech
|
112 |
+
time |Time of speech
|
113 |
+
colnum |Column number in hansard record
|
114 |
+
speech_class |Type of speech
|
115 |
+
major_heading| Major debate heading
|
116 |
+
minor_heading| Minor debate heading
|
117 |
+
oral_heading| Oral debate heading
|
118 |
+
year |Year of speech
|
119 |
+
hansard_membership_id| ID used by mysociety
|
120 |
+
speakerid |ID used by mysociety
|
121 |
+
person_id |ID used by mysociety
|
122 |
+
speakername| MP name as appeared in Hansard record for speech
|
123 |
+
url | link to speech
|
124 |
+
government_posts| Government posts held by MP (list-column)
|
125 |
+
opposition_posts |Opposition posts held by MP (list-column)
|
126 |
+
parliamentary_posts| Parliamentary posts held by MP (list-column)
|
127 |
+
|
128 |
+
### Data Splits
|
129 |
+
|
130 |
+
Train: 2700000
|
131 |
+
|
132 |
+
## Dataset Creation
|
133 |
+
|
134 |
+
### Curation Rationale
|
135 |
+
|
136 |
+
This dataset contains all the speeches made in the House of Commons and can be used for a number of deep learning tasks like detecting how language and societal views have changed over the >40 years this dataset encompasses
|
137 |
+
|
138 |
+
### Source Data
|
139 |
+
|
140 |
+
#### Initial Data Collection and Normalization
|
141 |
+
|
142 |
+
The dataset is created by getting the data from [data.parliament.uk](http://data.parliament.uk/membersdataplatform/memberquery.aspx). There is no normalization
|
143 |
+
|
144 |
+
#### Who are the source language producers?
|
145 |
+
|
146 |
+
[N/A]
|
147 |
+
|
148 |
+
### Annotations
|
149 |
+
|
150 |
+
#### Annotation process
|
151 |
+
|
152 |
+
None
|
153 |
+
|
154 |
+
#### Who are the annotators?
|
155 |
+
|
156 |
+
[N/A]
|
157 |
+
|
158 |
+
### Personal and Sensitive Information
|
159 |
+
|
160 |
+
This is public information, so there should not be any personal and sensitive information
|
161 |
+
|
162 |
+
## Considerations for Using the Data
|
163 |
+
|
164 |
+
### Social Impact of Dataset
|
165 |
+
|
166 |
+
The purpose of this dataset is to understand how language use and society's views have changed over time.
|
167 |
+
|
168 |
+
### Discussion of Biases
|
169 |
+
|
170 |
+
Because of the long time period this dataset spans, it might contain language and opinions that are unacceptable in modern society
|
171 |
+
|
172 |
+
### Other Known Limitations
|
173 |
+
|
174 |
+
[Needs More Information]
|
175 |
+
|
176 |
+
## Additional Information
|
177 |
+
|
178 |
+
### Dataset Curators
|
179 |
+
|
180 |
+
This dataset was built on top of [parlparse](https://github.com/mysociety/parlparse) by [Evan Odell](https://github.com/evanodell)
|
181 |
+
|
182 |
+
### Licensing Information
|
183 |
+
|
184 |
+
Creative Commons Attribution 4.0 International License
|
185 |
+
|
186 |
+
### Citation Information
|
187 |
+
|
188 |
+
@misc{odell, evan_2021,
|
189 |
+
title={Hansard Speeches 1979-2021: Version 3.1.0},
|
190 |
+
DOI={10.5281/zenodo.4843485},
|
191 |
+
abstractNote={<p>Full details are available at <a href="https://evanodell.com/projects/datasets/hansard-data">https://evanodell.com/projects/datasets/hansard-data</a></p> <p><strong>Version 3.1.0 contains the following changes:</strong></p> <p>- Coverage up to the end of April 2021</p>},
|
192 |
+
note={This release is an update of previously released datasets. See full documentation for details.},
|
193 |
+
publisher={Zenodo},
|
194 |
+
author={Odell, Evan},
|
195 |
+
year={2021},
|
196 |
+
month={May} }
|