File size: 1,631 Bytes
2f63304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Dataset Card: finepdfs-cy-errors

## Description

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.

## Dataset Statistics

### Corpus Size
- **Total number of words**: 1,575,836
- **Total number of errors found with Cysill**: 73,574
- **Number of documents**: 183
- **Average words per document**: 8611.13
- **Average errors per document**: 402.04

### Processing Details
- **Source dataset**: HuggingFaceFW/finepdfs (cym_Latn subset, test split)
- **Extractor filter**: rolmOCR only
- **Spell checker**: Cysill v2 API
- **Language**: Welsh (Cymraeg)

## Fields

- `text`: The extracted text content from the PDF
- `cysill_errors`: List of error objects returned by Cysill API
- `cysill_errors_count`: Number of errors detected in the text
- (Additional fields inherited from finepdfs dataset)

## Processing Configuration

- Cysill API configuration:
  - Format: text
  - Language: cy (Welsh)
  - Max errors per chunk: 1000
  - Accept English: true
  - Chunk size: 50,000 characters (split by paragraphs)

## Usage

This dataset can be used for:
- Evaluating OCR quality for Welsh-language documents
- Analyzing common spelling and grammar errors in Welsh text
- Training or evaluating spell-checking and grammar-checking models for Welsh
- Assessing the quality of PDF text extraction methods

## Hub Location

`techiaith/finepdfs-cy-errors`