finepdfs-cy-errors / README.md
DewiBrynJones's picture
Upload README.md with huggingface_hub
2f63304 verified
# 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`