patent_id stringlengths 3 14 | year int64 1.62k 1.9k | patent_title stringlengths 0 1.12k | full_text listlengths 1 196 | word_tokens sequencelengths 2 129k | front_page_entities listlengths 0 45 |
|---|---|---|---|---|---|
GB161700005A | 1,617 | [
{
"page_num": 1,
"page_text": "JAMES, by the grace of God Kinge of England, Scotland, Fraunce, and\nIreland, Defendor of the Faithe, &c., &c., to all to whom these Presente shall\ncome, greetinge.\nWHEREAS in our princelic consideracon of the necessarie vse of swordes,\nfauchions, skeynes, and rapiers, with... | [
"james",
"by",
"the",
"grace",
"of",
"god",
"kinge",
"of",
"england",
"scotland",
"fraunce",
"and",
"ireland",
"defendor",
"of",
"the",
"faithe",
"c.",
"c.",
"to",
"all",
"to",
"whom",
"these",
"presente",
"shall",
"come",
"greetinge",
"whereas",
"in",
"ou... | [] | |
GB161700003A | 1,617 | A MORE APT, COMODIOUS, AND BENEFICIALL MEANES FOR AND CONCERNING THE FRAMING, CONTRIVING, AND MAKING OF LOCKS, SLUCES, BRIDGES, CUTTE, CRANES, MILLE, DAMES, AND OTHER INVENCONS AND ADDICONS MOST FITT, NECESSARY, AND CON- VENIENT FOR GRINDING OF CORNE, RAISING OF WATER, MAKING OF RIVERS, STREAMS, AND WATERS NAVIGABLE AND PASSABLE FOR BOATES, KEELES, AND OTHER VESSEL TO PASSE FROM PLACE TO PLACE | [
{
"page_num": 1,
"page_text": "WHEREAS our welbeloved subicct Jolin Gason, Esquier, by and through\nhis great paines, travaile, charge, and industrie, for the generall good and\nbenefitt of this our comon wcale, hath attained to the skill, knowledge, and\npfeccon of \"A MORE APT, COMODIOUS, AND BENEFICIALL ... | [
"whereas",
"our",
"welbeloved",
"subicct",
"jolin",
"gason",
"esquier",
"by",
"and",
"through",
"his",
"great",
"paines",
"travaile",
"charge",
"and",
"industrie",
"for",
"the",
"generall",
"good",
"and",
"benefitt",
"of",
"this",
"our",
"comon",
"wcale",
"hat... | [
{
"class": "PER",
"entity_text": "Jolin Gason,",
"start": 31,
"end": 43,
"person_id": [
1
],
"inventor_id": 128560,
"latitude": null,
"longitude": null
}
] |
GB161700001A | 1,617 | [{"page_num":1,"page_text":"Irelande, Defendor of the Faith. &c., to all justices of peace. mayors.\(...TRUNCATED) | ["irelande","defendor","of","the","faith","c.","to","all","justices","of","peace","mayors","sherriff(...TRUNCATED) | [{"class":"PER","entity_text":"Aron Rathborne","start":993,"end":1007,"person_id":[1],"inventor_id":(...TRUNCATED) | |
GB161700002A | 1,617 | [{"page_num":1,"page_text":"come, greetinge.\nWHEREAS our welbeloved servaunt, NICHOLAS HILLYARD, Ge(...TRUNCATED) | ["come","greetinge","whereas","our","welbeloved","servaunt","nicholas","hillyard","gent","our","prin(...TRUNCATED) | [{"class":"PER","entity_text":"NICHOLAS HILLYARD,","start":50,"end":68,"person_id":[1],"inventor_id"(...TRUNCATED) | |
GB161700004A | 1,617 | "A CERTAYNE OYLE OR COMPOSICON OF OYLES WHEREWITH TO KEEPE ARMORS AND ARMES FROM RUST, CANKER; OR TH(...TRUNCATED) | [{"page_num":1,"page_text":"grectinge.\nWHEREAS wee are given to vnderstand that our welbeloved serv(...TRUNCATED) | ["grectinge","whereas","wee","are","given","to","vnderstand","that","our","welbeloved","servant","jo(...TRUNCATED) | [{"class":"PER","entity_text":"Joun GASPER WOLFEN","start":75,"end":93,"person_id":[1],"inventor_id"(...TRUNCATED) |
GB161800008A | 1,618 | "C TEINE NEW WAY AND MEANES FOR THE DRAYNING CTEINE AND DRAWING OF WATERS OUTTE OF MYNES, COLEPITTE,(...TRUNCATED) | [{"page_num":1,"page_text":"JAMES, by the grace of God King of England, Scotland, France, and.\nIrel(...TRUNCATED) | ["james","by","the","grace","of","god","king","of","england","scotland","france","and","ireland","de(...TRUNCATED) | [{"class":"PER","entity_text":"JAMES","start":0,"end":5,"person_id":[1],"inventor_id":88424,"latitud(...TRUNCATED) |
GB161800006A | 1,618 | "NEWE, APTE, OR COMPENDIOUS FORMES OR KIND OF ENGINES OR INSTRU- MENT, AND OTHER PRITABLE INVENCONS,(...TRUNCATED) | [{"page_num":1,"page_text":"JAM\nad, Scotland, Fraunce, and\nIreland, Defendor of the Fayth, &c., to(...TRUNCATED) | ["jam","ad","scotland","fraunce","and","ireland","defendor","of","the","fayth","c.","to","all","to",(...TRUNCATED) | [{"class":"PER","entity_text":"DAVID RAMSEY","start":188,"end":200,"person_id":[1],"inventor_id":341(...TRUNCATED) |
GB161800010A | 1,618 | "A NEW APT OR COMPENDIOUS FORME OR KINDE OF ENGINE OR INSTRUMENT TO BE PUT IN VSE, DRIVEN, AND WROUG(...TRUNCATED) | [{"page_num":1,"page_text":"JAMES, by the Grace of God King of England, Scotland, France, and\nIrela(...TRUNCATED) | ["james","by","the","grace","of","god","king","of","england","scotland","france","and","ireland","de(...TRUNCATED) | [{"class":"PER","entity_text":"Sir Bevis Bulmer","start":162,"end":178,"person_id":[1],"inventor_id"(...TRUNCATED) |
GB161800009A | 1,618 | "ENGINE OR INSTRUMENT CALLED OR TERMED A WATER PLOUGH, FOR THE TAKING VPP OF SAND, GRAVELL, SHELUES,(...TRUNCATED) | [{"page_num":1,"page_text":"JAMES, by the Grace of God, &c., to all to whom these sente shall come,\(...TRUNCATED) | ["james","by","the","grace","of","god","c.","to","all","to","whom","these","sente","shall","come","g(...TRUNCATED) | [{"class":"DATE","entity_text":"Septimo die Novembris","start":187,"end":208,"person_id":null,"inven(...TRUNCATED) |
GB161800007A | 1,618 | [{"page_num":1,"page_text":"JAMES, by the Grace of God,\nIreland, Defendor of the Fayth, &c., to all(...TRUNCATED) | ["james","by","the","grace","of","god","ireland","defendor","of","the","fayth","c.","to","all","to",(...TRUNCATED) | [{"class":"PER","entity_text":"ABRAHAM BAKER","start":484,"end":497,"person_id":[1],"inventor_id":44(...TRUNCATED) |
Dataset Card for '300 Years of British Patents'
Dataset Description
300 Years of British Patents is a large-scale dataset of the universe of historical patent specifications published by the British Patent Office between 1617-1899. The dataset contains the titles, full texts of specifications, lists of tokenized words, and extracted named entities for 322,874 specifications.
Dataset Structure
The dataset is structured as a single compressed JSONL. Each line is a patent-level dictionary with the following keys:
| Field Name | Type | Description |
|---|---|---|
patent_id |
str | Unique identifier for each patent |
year |
int | Year the patent specification was filed |
patent_title |
str | Title (or single-line description) of the patent |
full_text |
list[dict] | OCR text organized into page-level dictionaries |
word_tokens |
list[str] | Ordered list of processed words |
front_page_entities |
list[dict] | List of dictionaries containing extracted entities |
Dataset Field Details:
full_text: A list of dictionaries, where each dictionary represents a page and contains:page_num: The number of the page (int)page_text: The OCR-extracted text content for that page (str)
word_tokens: We use spaCy's en_core_web_lg to tokenize the full text into a list of words, dropping numbers and punctuationfront_page_entities: A list of dictionaries, where each dictionary represents an extracted entity and contains:class: The entity class (i.e., either PER, ADD, OCC, FIRM, DATE, or COMM) (str)entity_text: The extracted entity text (str)start: The start index of the entity in the original text (int)end: The end index of the entity in the original text (int)person_id: A unique person identifier for a given patent applied to every detected PER entity, and associated ADD, OCC, FIRM entities (list[int])inventor_id: A unique person identifier across all patents applied to every detected PER entitylatitude: Latitude (in degrees), for ADD entities onlylongitude: Longitude (in degrees), for ADD entities only
Example:
An example of a patent-level dictionary:
{
"patent_id": "GB187901368A",
"year": 1879,
"patent_title": "IMPROVEMENTS IN THE MANUFACTURE OF TIN PLATE AND BLACK PLATE, AND IN THE MACHINERY, APPARATUS, AND PROCESSES EMPLOYED IN SUCH MANUFACTURE",
"full_text": [
{
"page_num": 1,
"page_text": "LETTERS PATENT to Henry Bessemer, of Denmark Hill, in the County of\nSurrey, Civil Engineer, and (truncated...)"
},
{
"page_num": 2,
"page_text": "the purposes of our Invention, we therefore prefer to employ homogeneous malleable\niron or mild steel made (truncated...)"
},
(truncated...)
],
"word_tokens": [
"letters",
"patent",
"to",
"henry",
"bessemer",
"of",
"denmark",
"hill",
"in",
"the",
"county",
"of",
"surrey",
"civil",
"engineer",
(truncated...)
],
"front_page_entities": [
{
"class": "DATE",
"entity_text": "1st July 1879",
"start": 341,
"end": 354
},
{
"class": "DATE",
"entity_text": "5th April 1879.",
"start": 370,
"end": 385
},
{
"class": "PER",
"entity_text": "Henry Bessemer",
"start": 18,
"end": 32,
"person_id": [1],
"inventor_id": 18364
},
{
"class": "PER",
"entity_text": "Alfred George Bessemer",
"start": 96,
"end": 118,
"person_id": [2],
"inventor_id": 14250
},
{
"class": "ADD",
"entity_text": "Denmark Hill, in the County of Surrey",
"start": 37,
"end": 74,
"latitude": 51.4748,
"longitude": -0.0594,
"person_id": [1]
},
{
"class": "ADD",
"entity_text": "Oakfield, South Dulwich, in the same County",
"start": 123,
"end": 166,
"latitude": 51.4491,
"longitude": -0.0667,
"person_id": [2]
},
{
"class": "OCC",
"entity_text": "Civil Engineer",
"start": 76,
"end": 90,
"person_id": [1]
}
]
},
Usage
The easiest way to use the dataset is with the HuggingFace `datasets' library.
from datasets import load_dataset
dataset_all_years = load_dataset(
"matthewleechen/300YearsOfBritishPatents",
data_files="all_patents.jsonl.gz"
)
We provide a Colab starter notebook here to inspect the data, convert to an inventor-patent CSV, and try out our named entity recognition models.
Language
English
Dataset Authors
Enrico Berkes (Maryland), Matthew Lee Chen (Harvard), Matteo Tranchero (UPenn)
License
CC BY-SA 4.0
- Downloads last month
- 125