Dataset card for v2 (trials / sessions / ordinarys_accounts)

#5
by davanstrien HF Staff - opened
Files changed (1) hide show
  1. README.md +113 -153
README.md CHANGED
@@ -1,27 +1,29 @@
1
  ---
2
- annotations_creators:
3
- - expert-generated
4
- language_creators:
5
- - expert-generated
6
- - machine-generated
7
  language:
8
  - en
9
- license:
10
- - cc-by-nc-4.0
11
- multilinguality:
12
- - monolingual
13
  size_categories:
14
  - 100K<n<1M
15
- source_datasets:
16
- - original
17
  task_categories:
 
18
  - text-classification
19
  - text-generation
20
- task_ids:
21
- - multi-class-classification
22
- - language-modeling
23
- - masked-language-modeling
24
- pretty_name: Old Bailey Proceedings
 
 
 
 
 
 
 
 
 
 
25
  configs:
26
  - config_name: trials
27
  default: true
@@ -37,180 +39,138 @@ configs:
37
  - split: train
38
  path: ordinarys_accounts/train-*
39
  ---
40
- # Dataset Card for Old Bailey Proceedings
41
-
42
- ## Table of Contents
43
- - [Dataset Description](#dataset-description)
44
- - [Dataset Summary](#dataset-summary)
45
- - [Supported Tasks](#supported-tasks-and-leaderboards)
46
- - [Languages](#languages)
47
- - [Dataset Structure](#dataset-structure)
48
- - [Data Instances](#data-instances)
49
- - [Data Fields](#data-instances)
50
- - [Data Splits](#data-instances)
51
- - [Dataset Creation](#dataset-creation)
52
- - [Curation Rationale](#curation-rationale)
53
- - [Source Data](#source-data)
54
- - [Annotations](#annotations)
55
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
56
- - [Considerations for Using the Data](#considerations-for-using-the-data)
57
- - [Social Impact of Dataset](#social-impact-of-dataset)
58
- - [Discussion of Biases](#discussion-of-biases)
59
- - [Other Known Limitations](#other-known-limitations)
60
- - [Additional Information](#additional-information)
61
- - [Dataset Curators](#dataset-curators)
62
- - [Licensing Information](#licensing-information)
63
- - [Citation Information](#citation-information)
64
-
65
- ## Dataset Description
66
-
67
- - **Homepage:** https://www.dhi.ac.uk/projects/old-bailey/
68
- - **Repository:** https://www.dhi.ac.uk/san/data/oldbailey/
69
- - **Paper:** [Needs More Information]
70
- - **Leaderboard:** [Needs More Information]
71
- - **Point of Contact:** The University of Sheffield
72
- Digital Humanities Institute
73
- 34 Gell Street
74
- Sheffield S3 7QY
75
-
76
- ### Dataset Summary
77
-
78
- **Note** We are making this dataset available via the HuggingFace hub to open it up to more users and use cases. We have focused primarily on making an initial version of this dataset available, focusing on some potential use cases. If you think there are other configurations this dataset should support, please use the community tab to open an issue.
79
 
80
- The dataset consists of 2,163 transcriptions of the Proceedings and 475 Ordinary's Accounts marked up in TEI-XML, and contains some documentation covering the data structure and variables. Each Proceedings file represents one session of the court (1674-1913), and each Ordinary's Account file represents a single pamphlet (1676-1772).
81
 
82
- ### Supported Tasks and Leaderboards
83
 
84
- - `language-modeling`: This dataset can be used to contribute to the training or evaluation of language models for historical texts. Since it represents transcription from court proceedings, the language in this dataset may better represent the variety of language used at the time.
85
- - `text-classification`: This dataset can be used to classify what style of English some text is in
86
- - `named-entity-recognition`: Some of the text contains names of people and places. We don't currently provide the token IDs for these entities but do provide the tokens themselves. This means this dataset has the potential to be used to evaluate the performance of other Named Entity Recognition models on this dataset.
87
 
 
88
 
89
- ### Languages
90
-
91
- `en`
92
-
93
- ## Dataset Structure
94
-
95
- ### Data Instances
96
-
97
- An example of one instance from the dataset:
98
 
99
  ```python
100
- {
101
- 'id': 'OA16760517',
102
- 'text': "THE CONFESSION AND EXECUTION Of the Prisoners at TYBURN On Wednesday the 17May1676. Viz. Henry Seabrook , Elizabeth Longman Robert Scot , Condemned the former Sessions. Edward Wall , and Edward Russell . Giving a full
103
- and satisfactory Account of their Crimes, Behaviours, Discourses in Prison, and last Words (as neer as could be taken) at the place of Execution. Published for a Warning, to all that read it, to avoid the like wicked Courses, which brought these poor people to this shameful End. THE CONFESSION AND EXECUTION Of the Prisoners at TYBURN On Wednesday the 17th of May, 1676. Viz. Henry Seabrook , Elizabeth Longman Robert Scot , Condemned the former Sessions. Edward Wall , and Edward Russell . Giving a full and satisfactory Account of their Crimes, Behaviours, Discourses in Prison, and last Words (as neer as could be taken) at the place of Execution. Published for a Warning, to all that read it, to avoid the like wicked Courses, which brought these poor people to this shameful End. However, Mercy so far interposed after the Sentence of Justice, that only Five of them actually suffered: Amongst whom was Elizabeth Longman , an old Offendor, having been above a Dozen several times in Newgate : Some time since she was convicted, and obtained the benefit and favour of Transportation, and was accordingly carried into Virginia : But Clum, non Animutant, qu: trans mare currunt. She had not been there above Fourteen Moneths, before she
104
- procured Monies remitted from some of the Brotherhood here, wherewith she bought off her Servitude, and ever she comes again into England , long before the term of her Sentence was expired. Nor was she content to violate the Law only in that point, bur returned to her old Trade (for so these people call stealing) as well as to her Countrey; and was soon after her Arrival conducted to Newgate , for mistaking several parcels of Silk, upon which being Convicted, and pleading her Belly, she was
105
- set by the last Sessions before this: But now it appearing that she was highly accessary (though all the while in Newgate ) to the Robbery of a Person of Quality, and that she was wholly incorrigible, not to be reclaimed by any Warnings, she was brought down again to the Bar, and demanded, what she could say for her self, why she should not suffer Death, according to Law, upon her old Judgment. To which she still pleaded, that she was quick with Child. But being searched by a Jury of Matrons, they found no such thing; so that she was carried with the rest into the Hole, and ordered for Execution. As for her behaviour, I am sorry no better account can be given of it; for truely she did not seem so sensible of her End, or to make that serious preparation for it, as night be expected from a Person in her condition: yet were not the charitable assistances and endeavours of the Ordinary and several other Ministers wanting towards her, though 'tis feared they did not make the wisht-for Impressions upon her Spirit. Two others viz. Edward Wall and Edward Russel that suffered, were brought to this untimely and ignominious End, by the means and seducements of this unhappy Woman. For they together with one A. M. going after the former Sessions to a Gentlemans House, to sollicite and engage his Interest, in order to the obtaining of a Reprieve for a Woman that past for one of their Wives, and was then under Condemnation, they chanced to spie the Maid a scowring a very considerable quantity of Plate, the glittering sight whereof so much affected them, that when they came back to Newgate , to give an account of their business, amongst other discourse, they mentioned what abundance of Plate they saw. And will you only see it? (says this Besse Longman , being by) then you deserve to starve indeed, when Fortune puts Booty, as it were, in your Mouths, and you are such Cowards, that you dare not take it: With these and many other words to that purpose, she animated them on so far, till by her Instigation and the Devils together, they resolved upon the Villany, and accordingly went the next Night, broke open the Gentlemans House, and took thence a great quantity of Plate: But upon description and search, A. M: was taken next Morning on saffron-hill , with a Silver Ladle, a Silver Porringer, and that famous Engine of Wickedness, called Betty. He was carried for the present to New prison , and there kept till he had discovered the othe. Parties; and upon his ingenu u Confession obtained the Mercy of a Repeve from that Execution, which his Fellow Criminals now suffer'd. The other person executed, was Henry Sea brooke : He was condemned the former Sessions for robbing the Merchant at Dukes Place ; but upon his pretending to discover the rest of the Cabal, and other great matters, was kept from the Gibbet all this, while; but now failing to verifie those pretentions, he was ordered by the Court to receive his punishment according to his former Sentence, with the resof the Prisoners condemned this Sessions. Of these poor wretches, two, viz Wall and Russell, as they ingenuously pleaded guilty to their Indictment at the Bar, so they behaved themselves very modestly at their Condemnation; and afterwards in Prison when Ministers' came to visit and discourse with them, in order to their Souls everlasting good, they received them with great expressions of joy and este, attending with much reverence and seeming heed to their Spiritual Instruction, who with most necessary and importunate Exhortations pressed them to a speedy and hearty Repentance, Since it stood them so much in hand, being upon the brink of Eternity, they told them, Their Condition was sad, as being justly sentenced by Men to a temporal Death; but that was infinitely short of being condemned by God, and suffering Eternal Death under the ury of his Wrath: that though it was vin for them to flatter themselves with hopes of onger life in this world, yet there were
106
- means est to secure them of Everlasting Life in the ext: and that to such vile sinners as they nd been, it was an unspeakable Mercy, that hey had yet a little space left them, wherein make their peace with Heaven; and what ould the damned Souls, weltring without pe in Eternal Flames, give or do for such a recious opportunity? With such and many her pious Admonitions and Prescriptions did ese Spiritual Physicians endeavour to cure e Ulcers of their Souls, and excite them to row off the peccant matter, and wash away i Iniquities with tears of a sincere Repennce, proceeding not from a sense of approa- ching Punishment, but of trouble for the Evil itself, and their provoking of God thereby. To all which they gave very great attention, promising to put that blessed Advice in practice; and so continued in a very serious and laudable frame till the time of Execution, which was the 17May, being then conducted to Tyburn with vest numbers of people following the Carts to behold the last
107
- sad Scene of their deplorable Tragedy. Being come to the Gallows, and the usual Prayers and Solemnities being performed, one of them spoke a pretty while to the Multitude, protesting, This was the first Face that he was ever actually guilty of, though he had been accessary to divers others, and had been all his days a very ill Liver; so that he could not but acknowledge that he suffer'd justly. He very much admonish'd all persons to consider their ways; especially warning Youth not to misspend their time in Idleness, or Disobedience to Parents or Masters; and to have a care of being seduced and drawn away by led women. affirming that such Courses and their Temptations, and to satisfie their Luxury, had been originally the cause of his destruction, and that shameful death he was now going to suffer. The rest said very few words, unless to some particular Acquaintance; but by their Gestures seemed to pray secretly, and so were all Executed according to Sentence.",
108
- 'places': ['TYBURN', 'TYBURN', 'Newgate', 'Virginia', 'England', 'Newgate', 'Newgate', 'Newgate', 'saffron-hill', 'New prison', 'Dukes Place', 'Tyburn'],
109
- 'type': 'OA',
110
- 'persons': ['Henry Seabrook', 'Elizabeth Longman', 'Robert Scot', 'Edward Wall', 'Edward Russell', 'Henry Seabrook', 'Elizabeth Longman', 'Robert Scot', 'Edward Wall', 'Edward Russell', 'Elizabeth Longman', 'Edward Wall', 'Edward Russel', 'Besse Longman', 'Henry Sea brooke'],
111
- 'date': '16760517'}
112
- ```
113
-
114
- ### Data Fields
115
-
116
- - `id`: A unique identifier for the data point (in this case, a trial)
117
- - `text`: The text of the proceeding
118
- - `places`: The places mentioned in the text
119
- - `type`: This can be either 'OA' or 'OBP'. OA is "Ordinary's Accounts" and OBP is "Sessions Proceedings"
120
- - `persons`: The persons named in the text
121
- - `date`: The date of the text
122
-
123
- ### Data Splits
124
- This dataset only contains a single split:
125
-
126
- Train: `2638` examples
127
 
128
- ## Dataset Creation
 
129
 
130
- ### Curation Rationale
131
-
132
- Between 1674 and 1913 the Proceedings of the Central Criminal Court in London, the Old Bailey, were published eight times a year. These records detail 197,000 individual trials and contain 127 million words in 182,000 pages. They represent the largest single source of information about non-elite lives and behaviour ever published and provide a wealth of detail about everyday life, as well as valuable systematic evidence of the circumstances surrounding the crimes and lives of victims and the accused, and their trial outcomes. This project created a fully digitised and structured version of all surviving published trial accounts between 1674 and 1913, and made them available as a searchable online resource.
133
-
134
- ### Source Data
135
-
136
- #### Initial Data Collection and Normalization
137
-
138
- Starting with microfilms of the original Proceedings and Ordinary's Accounts, page images were scanned to create high definition, 400dpi TIFF files, from which GIF and JPEG files have been created for transmission over the internet. The uncompressed TIFF files will be preserved for archival purposes and should eventually be accessible over the web once data transmission speeds improve. A GIF format has been used to transmit image files for the Proceedings published between 1674 and 1834.
139
-
140
- #### Who are the source language producers?
141
 
142
- The text of the 1674 to October 1834 Proceedings was manually typed by the process known as "double rekeying", whereby the text is typed in twice, by two different typists. Then the two transcriptions are compared by computer. Differences are identified and then resolved manually. This process was also used to create a transcription of the Ordinary's Accounts. This process means this text data contains fewer errors than many historical text corpora produced using Optical Character Recognition.
143
 
144
- ### Annotations
 
 
 
 
145
 
146
- #### Annotation process
147
 
148
- The markup was done by a combination of automated and manual processes.
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
- Most of the 1674 to October 1834 markup was done manually by a team of five data developers working at the Humanities Research Institute at the University of Sheffield (see project staff).
151
 
152
- However, person names were tagged using an automated markup programme, GATE, developed by the Department of Computer Science at the University of Sheffield and specially customised to process the text of the Proceedings. Most of the 1674-1834 trial proceedings were run through GATE, which was able to identify approximately 80-90% of the names in the text. GATE was asked only to identify names where both a forename (not just an initial) and surname were given. The names not identified by this programme were not regularly marked up manually unless they were the names of defendants or victims.
 
 
 
 
 
 
153
 
154
- The November 1834 to 1913 text was first run through an automated markup process. This process was carried out by the Digital Humanities Institute Sheffield.
155
 
156
- Remaining markup, including checking of the results of the automated markup, was carried out by a team of eight data developers employed by the University of Hertfordshire (see project staff).
157
 
158
- #### Who are the annotators?
 
159
 
160
- - The directors of this project, and authors of all the historical background pages, are Professor Clive Emsley (Open University), Professor Tim Hitchcock (University of Sussex) and Professor Robert Shoemaker (University of Sheffield).
161
- - The Project Manager is Dr Sharon Howard.
162
- - The technical officer responsible for programming the search engines is Jamie McLaughlin.
163
- - The Senior Data Developer, in charge of all the tagging procedures, was Dr Philippa Hardman.
164
- - The other Data Developers were Anna Bayman, Eilidh Garrett, Carol Lewis-Roylance, Susan Parkinson, Anna Simmons, Gwen Smithson, Nicola Wilcox, and Catherine Wright.
165
- - The London researcher was Mary Clayton.
166
- - The technical officers responsible for the automated markup were Ed MacKenzie and Katherine Rogers.
167
- - Project staff who worked on the 1674-1834 phase of the project include Dr Louise Henson (Senior Data Developer), Dr John Black, Dr Edwina Newman, Kay O'Flaherty, and Gwen Smithson.
168
 
169
- ### Personal and Sensitive Information
170
 
171
- -This dataset contains personal information of people involved in criminal proceedings during the time period
172
 
173
- ## Considerations for Using the Data
 
174
 
175
- ### Social Impact of Dataset
176
 
177
- [Needs More Information]
178
 
179
- ### Discussion of Biases
180
 
181
- - "Virtually every aspect of English life between 1674 and 1913 was influenced by gender, and this includes behaviour documented in the Old Bailey Proceedings. Long-held views about the particular strengths, weaknesses, and appropriate responsibilities of each sex shaped everyday lives, patterns of crime, and responses to crime." This dataset contains text that adheres to those stereotypes.
182
- - "The make-up of London's population changed and changed again during the course of the two and a half centuries after 1674. European Protestant refugees, blacks discharged from the armies of a growing empire, and Jews from Spain and Eastern Europe, Irish men and women, Lascars and political refugees from the revolutions of the nineteenth century contributed to the ragout of communities that made up this world city. Information about all these communities, and several more besides, can be found in the Proceedings"
183
 
184
- ### Other Known Limitations
185
 
186
-
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
 
189
 
 
190
 
191
- ## Additional Information
192
 
193
- ### Dataset Curators
 
 
 
194
 
195
- - The directors of this project, and authors of all the historical background pages, are Professor Clive Emsley (Open University), Professor Tim Hitchcock (University of Sussex) and Professor Robert Shoemaker (University of Sheffield).
196
- - The Project Manager is Dr Sharon Howard.
197
- - The technical officer responsible for programming the search engines is Jamie McLaughlin.
198
- - The Senior Data Developer, in charge of all the tagging procedures, was Dr Philippa Hardman.
199
- - The other Data Developers were Anna Bayman, Eilidh Garrett, Carol Lewis-Roylance, Susan Parkinson, Anna Simmons, Gwen Smithson, - Nicola Wilcox, and Catherine Wright.
200
 
201
- ### Licensing Information
202
 
203
- [CC-NY-04](https://creativecommons.org/licenses/by/4.0/)
204
 
205
- ### Citation Information
206
 
207
- @article{Howard2017,
208
- author = "Sharon Howard",
209
- title = "{Old Bailey Online XML Data}",
210
- year = "2017",
211
- month = "4",
212
- url = "https://figshare.shef.ac.uk/articles/dataset/Old_Bailey_Online_XML_Data/4775434",
213
- doi = "10.15131/shef.data.4775434.v2"
214
  }
 
 
 
215
 
216
- Thanks to [@shamikbose](https://github.com/shamikbose) for adding this dataset.
 
1
  ---
2
+ license: cc-by-nc-4.0
 
 
 
 
3
  language:
4
  - en
5
+ pretty_name: Old Bailey Proceedings, 1674–1913
 
 
 
6
  size_categories:
7
  - 100K<n<1M
 
 
8
  task_categories:
9
+ - token-classification
10
  - text-classification
11
  - text-generation
12
+ tags:
13
+ - glam
14
+ - lam
15
+ - legal
16
+ - historical
17
+ - court-records
18
+ - tei
19
+ - london
20
+ annotations_creators:
21
+ - expert-generated
22
+ language_creators:
23
+ - expert-generated
24
+ - machine-generated
25
+ source_datasets:
26
+ - original
27
  configs:
28
  - config_name: trials
29
  default: true
 
39
  - split: train
40
  path: ordinarys_accounts/train-*
41
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
+ # Old Bailey Proceedings, 16741913
44
 
45
+ The published accounts of 197,751 criminal trials held at the Old Bailey (from 1834 the Central Criminal Court), London, between April 1674 and April 1913, plus 475 *Ordinary's Accounts* — pamphlets by the chaplain of Newgate on prisoners executed at Tyburn, 1676–1772. Text and structured markup were created by the [Old Bailey Online](https://www.oldbaileyonline.org) project (University of Sheffield, University of Hertfordshire, Open University; directors Clive Emsley, Tim Hitchcock and Robert Shoemaker, project manager Sharon Howard). This dataset is a repackaging of the project's **XML data, version 7.2 (March 2015)**, published at [10.15131/shef.data.4775434.v2](https://doi.org/10.15131/shef.data.4775434.v2): one row per trial, with the project's tagging of people, offences, verdicts and sentences turned into columns, and the TEI kept verbatim.
46
 
47
+ Roughly 123 million words of trial text. The Proceedings are the largest body of texts about the lives of non-elite people ever published; they are also a *published* source edited, selective and shaped by the printers' commercial interests, on which see the project's own [publishing history](https://www.oldbaileyonline.org/about/publishing-history).
 
 
48
 
49
+ ## Configs
50
 
51
+ | config | rows | what |
52
+ |---|---|---|
53
+ | `trials` (default) | 197,751 | one row per trial account: text, verbatim TEI, typed persons, offences, verdicts, punishments and the joins between them |
54
+ | `sessions` | 2,163 | one row per printed session (the source file): full text incl. front matter and summaries, the XML file, all persons, and `summary_items` |
55
+ | `ordinarys_accounts` | 475 | one row per Ordinary's Account pamphlet: text, XML, persons |
 
 
 
 
56
 
57
  ```python
58
+ from datasets import load_dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
+ # trials — ~550 MB, one row per trial; stream unless you want the `xml` column locally
61
+ ds = load_dataset("biglam/old_bailey_proceedings", "trials", split="train", streaming=True)
62
 
63
+ # Ordinary's Accounts are small
64
+ oa = load_dataset("biglam/old_bailey_proceedings", "ordinarys_accounts", split="train")
65
+ ```
 
 
 
 
 
 
 
 
66
 
67
+ DuckDB reads the parquet directly and pushes column projection down, which matters here because `xml` is half of every file:
68
 
69
+ ```sql
70
+ SELECT date, offences[1].category, verdicts[1].category
71
+ FROM 'hf://datasets/biglam/old_bailey_proceedings/trials/*.parquet'
72
+ WHERE n_defendants > 1;
73
+ ```
74
 
75
+ ## `trials` — columns
76
 
77
+ | column | type | description |
78
+ |---|---|---|
79
+ | `trial_id` | string | Old Bailey Online id, e.g. `t18381217-265`; `obo_url` opens the trial on the project site |
80
+ | `session_id`, `date` | string | session file id and its opening date, `YYYYMMDD` (kept as a string because it *is* the id) |
81
+ | `part` | int | 1 = April 1674–October 1834, 2 = November 1834–April 1913 (the two digitisation phases, see Provenance) |
82
+ | `text` | string | the trial text, whitespace-normalised, markup removed |
83
+ | `xml` | string | the trial's `<div1 type="trialAccount">` verbatim — character offsets for every tagged span, and anything this schema does not model |
84
+ | `persons` | list of struct | every `<persName>` in the trial: `id`, `type`, `name`, `given`, `surname`, `gender`, `age`, `occupation`, `place`, `aliases` |
85
+ | `offences` | list of struct | `id`, `category` (9), `subcategory` (56), `text`, `crime_date`, `place`, `victim_ids` |
86
+ | `verdicts` | list of struct | `id`, `category` (4), `subcategory` (24), `text` |
87
+ | `punishments` | list of struct | `id`, `category` (6), `subcategory` (27), `text`, `defendant_ids`, `found_in` |
88
+ | `charges` | list of struct | the project's `criminalCharge` links: `defendant_ids` → `offence_ids` → `verdict_ids`, plus `unresolved_ids` |
89
+ | `n_defendants`, `places` | | count of defendants; `<placeName>` strings in the trial |
90
 
91
+ The category vocabularies are the project's own offence categories `theft`, `deception`, `royalOffences`, `violentTheft`, `breakingPeace`, `sexual`, `kill`, `miscellaneous`, `damage`; verdicts `guilty`, `notGuilty`, `miscVerdict`, `specialVerdict`; punishments `imprison`, `transport`, `miscPunish`, `death`, `corporal`, `noPunish`. Their meanings are explained on the project's [crime, verdict and punishment pages](https://www.oldbaileyonline.org/about/crime) and should be read there before use; `theft` alone is 72% of offences.
92
 
93
+ | | count |
94
+ |---|---|
95
+ | offences | 211,111 (theft 150,992 · deception 15,869 · royalOffences 10,680 · violentTheft 9,012 · breakingPeace 7,686 · sexual 7,219 · kill 5,375 · miscellaneous 3,224 · damage 1,054) |
96
+ | verdicts | 224,076 (guilty 164,068 · notGuilty 59,371 · miscVerdict 491 · specialVerdict 146) |
97
+ | punishments | 168,266 (imprison 88,588 · transport 41,204 · miscPunish 12,932 · death 11,600 · corporal 9,024 · noPunish 4,918) |
98
+ | charges | 257,057 |
99
+ | trials with more than one defendant | 18.2% |
100
 
101
+ ### Persons
102
 
103
+ 1,101,978 `persName` elements: 312,366 witnesses, 246,095 defendants, 203,041 victims, 1,276 jurors, 310 judiciary — and **338,890 with `type` null**. The null is the source, not a parsing gap: in part 1, names were tagged automatically (GATE) and only defendants and victims were then typed by hand, so 58.7% of part-1 person tags carry no role; in part 2 it is 0.5%.
104
 
105
+ > [!IMPORTANT]
106
+ > Person attributes are sparse because the Proceedings are. Across all persons: gender 99.5%, age 13.1%, occupation 7.6%, place 1.3%. For defendants: age 58.1%, occupation 11.0%, place 5.8%, alias 2.6%. A null means the text does not state it. Defendant gender: 192,427 male, 53,404 female, 264 indeterminate.
107
 
108
+ `name` is the tag's own text (nested names excluded, so "George Palfreman and Mary his Wife" yields `Mary Palfreman` for Mary); 414 `persName` elements are empty in the source and have `name` null. Where the project recorded two `age` values for one person (298 cases) the first is kept — the second is in `xml`.
 
 
 
 
 
 
 
109
 
110
+ ### Joins, and where the source is ambiguous
111
 
112
+ `charges` reproduce the project's `criminalCharge` joins, which is how a multi-defendant, multi-offence trial says *who* was convicted *of what*. 1,455 charges name a target id that does not exist anywhere in the file (`unresolved_ids`, e.g. `t18381217-378-offence-3`); they are kept rather than dropped.
113
 
114
+ > [!WARNING]
115
+ > **Reused ids.** In 916 trials a verdict id, and in 90 an offence id, is used twice inside the same trial in the source (typically a GUILTY and a NOT GUILTY both tagged `…-verdict-1`). Both elements are present in `verdicts`/`offences`, but a `charges` row pointing at that id is ambiguous. Resolve by position or from `xml`.
116
 
117
+ Punishments are attached through the project's `defendantPunishment` joins. Before November 1834 sentences were often printed in a separate summary at the end of the session, so a punishment's text and its defendant can live in different places: `found_in` names the trial div that holds the sentence text (514 rows where that is a different trial), and the same punishment then appears in both trials. 106 punishments have no join at all (`defendant_ids` empty). 3,324 guilty verdicts have no linked punishment in the source.
118
 
119
+ ## `sessions`
120
 
121
+ One row per session file: `text` (everything, 124 million words — front matter, juror lists, advertisements, summaries, trials), `xml` (the whole file, verbatim, in its declared encoding), `persons` (all 1.2 million, typed as above), `n_trials`, `div_types`, and **`summary_items`**: the offences, verdicts, punishments, aliases and occupations that the earliest sessions record in `supplementaryMaterial` and `punishmentSummary` divs rather than in trial accounts — 1,504 punishments, 105 verdicts, 101 offences, each with its category, text, containing div and joined ids. Three sessions have no trial accounts at all: `16811124` and `16830524A` are front matter and summary only; `16781211` is 74,000 characters of text with no markup whatsoever in the source.
122
 
123
+ ## `ordinarys_accounts`
 
124
 
125
+ 475 pamphlets, 17 May 1676 – 14 October 1772, 2.6 million words, 21,827 tagged persons. No offence/verdict/punishment markup exists for them in the source.
126
 
127
+ ## Coverage
128
 
129
+ | decade | trials | decade | trials |
130
+ |---|---|---|---|
131
+ | 1670s | 491 | 1800s | 7,760 |
132
+ | 1680s | 2,510 | 1810s | 12,260 |
133
+ | 1690s | 3,142 | 1820s | 18,152 |
134
+ | 1700s | 812 | 1830s | 22,711 |
135
+ | 1710s | 2,999 | 1840s | 25,574 |
136
+ | 1720s | 4,916 | 1850s | 12,393 |
137
+ | 1730s | 4,672 | 1860s | 10,147 |
138
+ | 1740s | 4,222 | 1870s | 8,002 |
139
+ | 1750s | 4,057 | 1880s | 9,924 |
140
+ | 1760s | 4,206 | 1890s | 8,399 |
141
+ | 1770s | 5,993 | 1900s | 7,889 |
142
+ | 1780s | 7,892 | 1910s | 2,656 |
143
+ | 1790s | 5,972 | | |
144
 
145
+ The dip after 1850 is the source, not the digitisation: from the 1850s the Proceedings reported fewer trials at length and eventually only those the editors chose. Coverage of the 1670s–1700s is thin because few early Proceedings survive.
146
 
147
+ ## Provenance
148
 
149
+ The project describes its methods in full at [oldbaileyonline.org/about](https://www.oldbaileyonline.org/about/); what follows is the short version.
150
 
151
+ - **Text.** Part 1 (1674–October 1834) was transcribed from microfilm of the original printed Proceedings by double rekeying — typed twice by two typists and reconciled — which is why this corpus has far fewer transcription errors than OCR-derived historical text. Part 2 (November 1834–1913) went through an automated markup pipeline at the Digital Humanities Institute, Sheffield, with checking by a team at the University of Hertfordshire. Page images were scanned at 400 dpi; they are not included here (`<xptr>` references to them survive in `xml`).
152
+ - **Markup.** Part-1 markup was done by hand by a team of data developers at the Humanities Research Institute, Sheffield, except person names, which were tagged automatically with GATE (~80–90% of names caught; forename-and-surname names only; the untyped-name gap above). Part 2 was tagged automatically and checked by hand.
153
+ - **This repackaging.** `scripts/parse_obo.py` (lxml + polars) reads the 2,163 session and 475 Ordinary's Account files and emits these three configs; it is reproducible from the figshare zip. Two independent code reviews and an invariant check of 3,094 trial divs against the raw XML were run before release. Nothing in the source was corrected: reused ids, empty names, unresolved joins and the unmarked session are preserved as found and recorded above.
154
+ - **Previous version.** The 2022 Hub version of this dataset (one row per session, from the BigLAM datasets sprint, contributed by [@shamikbose](https://huggingface.co/shamikbose)) remains at revision [`e96ea6d`](https://huggingface.co/datasets/biglam/old_bailey_proceedings/tree/e96ea6d). Its card stated CC BY 4.0; that was an error in the loading script.
155
 
156
+ ## Licence
 
 
 
 
157
 
158
+ **CC BY-NC 4.0**, the licence the Old Bailey Online project attaches to all its data (`licence.txt` in the source archive). The project's own guidance: its interpretation of "commercial" normally excludes academic research outputs even when published with commercial publishers; permissions beyond the licence may be available from the project. Reuse should include the statement the project asks for:
159
 
160
+ > This work builds on Old Bailey Online that is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Permissions beyond the scope of this license may be available at https://www.oldbaileyonline.org/about/legal-info.
161
 
162
+ ## Citation
163
 
164
+ ```bibtex
165
+ @misc{howard2017oldbaileyxml,
166
+ author = {Sharon Howard},
167
+ title = {Old Bailey Online XML Data},
168
+ year = {2017},
169
+ doi = {10.15131/shef.data.4775434.v2},
170
+ url = {https://doi.org/10.15131/shef.data.4775434.v2}
171
  }
172
+ ```
173
+
174
+ Cite individual trials by id (`t18381217-265`) and the project name and URL, per the project's [citation guidance](https://www.oldbaileyonline.org/about/legal-info).
175
 
176
+ Repackaged by [Daniel van Strien](https://huggingface.co/davanstrien) (Machine Learning Librarian, Hugging Face); all source data and markup created by the Old Bailey Online project. Maintenance: limited — revised if the project publishes a new XML version.