Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,93 +1,48 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
-
|
| 33 |
-
|
| 34 |
-
-
|
| 35 |
-
|
| 36 |
-
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
dtype: int64
|
| 50 |
-
- name: cysill_errors
|
| 51 |
-
list:
|
| 52 |
-
- name: following_hr_text
|
| 53 |
-
dtype: string
|
| 54 |
-
- name: human_readable
|
| 55 |
-
dtype: string
|
| 56 |
-
- name: human_readable_offset
|
| 57 |
-
dtype: int64
|
| 58 |
-
- name: is_spelling
|
| 59 |
-
dtype: bool
|
| 60 |
-
- name: message
|
| 61 |
-
dtype: string
|
| 62 |
-
- name: offset_end
|
| 63 |
-
dtype: int64
|
| 64 |
-
- name: offset_start
|
| 65 |
-
dtype: int64
|
| 66 |
-
- name: preceding_hr_text
|
| 67 |
-
dtype: string
|
| 68 |
-
- name: suggestions
|
| 69 |
-
list:
|
| 70 |
-
- name: human_readable
|
| 71 |
-
dtype: string
|
| 72 |
-
- name: replacement
|
| 73 |
-
struct:
|
| 74 |
-
- name: length_to_replace
|
| 75 |
-
dtype: int64
|
| 76 |
-
- name: offset
|
| 77 |
-
dtype: int64
|
| 78 |
-
- name: text
|
| 79 |
-
dtype: string
|
| 80 |
-
- name: cysill_errors_count
|
| 81 |
-
dtype: int64
|
| 82 |
-
splits:
|
| 83 |
-
- name: train
|
| 84 |
-
num_bytes: 32754975
|
| 85 |
-
num_examples: 184
|
| 86 |
-
download_size: 12449344
|
| 87 |
-
dataset_size: 32754975
|
| 88 |
-
configs:
|
| 89 |
-
- config_name: default
|
| 90 |
-
data_files:
|
| 91 |
-
- split: train
|
| 92 |
-
path: data/train-*
|
| 93 |
-
---
|
|
|
|
| 1 |
+
# Dataset Card: finepdfs-cy-errors
|
| 2 |
+
|
| 3 |
+
## Description
|
| 4 |
+
|
| 5 |
+
This dataset contains Welsh-language text extracted from PDFs using rolmOCR, with automated spelling and grammar error annotations generated by Cysill (the Welsh spell checker). The dataset is derived from the Welsh (cym_Latn) subset of HuggingFaceFW/finepdfs, filtered to include only documents processed with the rolmOCR extractor.
|
| 6 |
+
|
| 7 |
+
## Dataset Statistics
|
| 8 |
+
|
| 9 |
+
### Corpus Size
|
| 10 |
+
- **Total number of words**: 1,575,836
|
| 11 |
+
- **Total number of errors found with Cysill**: 73,574
|
| 12 |
+
- **Number of documents**: 183
|
| 13 |
+
- **Average words per document**: 8611.13
|
| 14 |
+
- **Average errors per document**: 402.04
|
| 15 |
+
|
| 16 |
+
### Processing Details
|
| 17 |
+
- **Source dataset**: HuggingFaceFW/finepdfs (cym_Latn subset, test split)
|
| 18 |
+
- **Extractor filter**: rolmOCR only
|
| 19 |
+
- **Spell checker**: Cysill v2 API
|
| 20 |
+
- **Language**: Welsh (Cymraeg)
|
| 21 |
+
|
| 22 |
+
## Fields
|
| 23 |
+
|
| 24 |
+
- `text`: The extracted text content from the PDF
|
| 25 |
+
- `cysill_errors`: List of error objects returned by Cysill API
|
| 26 |
+
- `cysill_errors_count`: Number of errors detected in the text
|
| 27 |
+
- (Additional fields inherited from finepdfs dataset)
|
| 28 |
+
|
| 29 |
+
## Processing Configuration
|
| 30 |
+
|
| 31 |
+
- Cysill API configuration:
|
| 32 |
+
- Format: text
|
| 33 |
+
- Language: cy (Welsh)
|
| 34 |
+
- Max errors per chunk: 1000
|
| 35 |
+
- Accept English: true
|
| 36 |
+
- Chunk size: 50,000 characters (split by paragraphs)
|
| 37 |
+
|
| 38 |
+
## Usage
|
| 39 |
+
|
| 40 |
+
This dataset can be used for:
|
| 41 |
+
- Evaluating OCR quality for Welsh-language documents
|
| 42 |
+
- Analyzing common spelling and grammar errors in Welsh text
|
| 43 |
+
- Training or evaluating spell-checking and grammar-checking models for Welsh
|
| 44 |
+
- Assessing the quality of PDF text extraction methods
|
| 45 |
+
|
| 46 |
+
## Hub Location
|
| 47 |
+
|
| 48 |
+
`techiaith/finepdfs-cy-errors`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|