Datasets:
Tasks:
Image-to-Text
Formats:
parquet
Languages:
Finnish
Size:
10K - 100K
Tags:
parquet
DOI:
License:
Upload folder using huggingface_hub
Browse files- README.md +52 -0
- data/train-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- fi
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-text
|
| 7 |
+
task_ids:
|
| 8 |
+
- optical-character-recognition
|
| 9 |
+
pretty_name: Theseus Finnish OCR
|
| 10 |
+
dataset_info:
|
| 11 |
+
features:
|
| 12 |
+
- name: pdf_file
|
| 13 |
+
dtype: string
|
| 14 |
+
- name: page
|
| 15 |
+
dtype: int32
|
| 16 |
+
- name: text
|
| 17 |
+
dtype: string
|
| 18 |
+
- name: image
|
| 19 |
+
dtype: image
|
| 20 |
+
splits:
|
| 21 |
+
- name: train
|
| 22 |
+
num_examples: 16618
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Theseus Finnish OCR Dataset
|
| 26 |
+
|
| 27 |
+
Paragraph-level OCR dataset harvested from [Theseus.fi](https://www.theseus.fi),
|
| 28 |
+
the Finnish repository of university of applied sciences theses.
|
| 29 |
+
|
| 30 |
+
Each record is one paragraph crop extracted from a thesis PDF, paired with the
|
| 31 |
+
text extracted by `pdfplumber`.
|
| 32 |
+
|
| 33 |
+
## Image Resolution
|
| 34 |
+
|
| 35 |
+
Paragraph crops are rendered at **300 DPI** (dots per inch) with 2 px
|
| 36 |
+
padding on each side. At 300 DPI a standard A4 page is
|
| 37 |
+
2481 × 3507 pixels, giving high enough resolution for training
|
| 38 |
+
OCR and document-understanding models.
|
| 39 |
+
|
| 40 |
+
## Fields
|
| 41 |
+
|
| 42 |
+
| Field | Type | Description |
|
| 43 |
+
|-------|------|-------------|
|
| 44 |
+
| `pdf_file` | string | Source PDF filename |
|
| 45 |
+
| `page` | int | Page number (1-indexed) |
|
| 46 |
+
| `image` | Image | Paragraph crop at 300 DPI with 2 px padding on each side |
|
| 47 |
+
| `text` | string | Extracted paragraph text from `pdfplumber` |
|
| 48 |
+
|
| 49 |
+
## Source
|
| 50 |
+
|
| 51 |
+
Records were harvested via the Theseus OAI-PMH endpoint and 10 PDFs were
|
| 52 |
+
downloaded from the DSpace bitstream API.
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6550deb2b25efde8a117ec28f7554d1cdb1da6e88e5083f17fcd963177612678
|
| 3 |
+
size 206739589
|