DewiBrynJones commited on
Commit
2f63304
·
verified ·
1 Parent(s): 745049c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +48 -93
README.md CHANGED
@@ -1,93 +1,48 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: id
7
- dtype: string
8
- - name: dump
9
- dtype: string
10
- - name: url
11
- dtype: string
12
- - name: date
13
- dtype: string
14
- - name: file_path
15
- dtype: string
16
- - name: offset
17
- dtype: int64
18
- - name: token_count
19
- dtype: int64
20
- - name: language
21
- dtype: string
22
- - name: page_average_lid
23
- dtype: string
24
- - name: page_average_lid_score
25
- dtype: float64
26
- - name: full_doc_lid
27
- dtype: string
28
- - name: full_doc_lid_score
29
- dtype: float64
30
- - name: per_page_languages
31
- list: string
32
- - name: is_truncated
33
- dtype: bool
34
- - name: extractor
35
- dtype: string
36
- - name: page_ends
37
- list: int64
38
- - name: fw_edu_scores
39
- list: float64
40
- - name: fw_edu_v2_scores
41
- dtype: 'null'
42
- - name: dclm_scores
43
- dtype: 'null'
44
- - name: ocr_quality_scores
45
- dtype: 'null'
46
- - name: minhash_cluster_size
47
- dtype: int64
48
- - name: duplicate_count
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`