Upload 4 files
Browse files- README.md +95 -0
- data/test-00000-of-00001.jsonl +6 -0
- data/train-00000-of-00001.jsonl +22 -0
- dataset_infos.json +79 -0
README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset: TYPE/RIGHTER Synthetic Error Correction
|
| 2 |
+
|
| 3 |
+
## Dataset Summary
|
| 4 |
+
This dataset was generated locally using the TYPE/RIGHTER offline-first PWA. It contains synthetic error-correction pairs for training text correction models.
|
| 5 |
+
|
| 6 |
+
## Supported Tasks and Leaderboards
|
| 7 |
+
- Text error correction
|
| 8 |
+
- OCR post-processing
|
| 9 |
+
- Typographical error correction
|
| 10 |
+
|
| 11 |
+
## Languages
|
| 12 |
+
English
|
| 13 |
+
|
| 14 |
+
## Dataset Structure
|
| 15 |
+
|
| 16 |
+
### Data Instances
|
| 17 |
+
Each instance contains:
|
| 18 |
+
- `original`: The text as it appeared in the uploaded file
|
| 19 |
+
- `corrupted`: The procedurally "damaged" version for error detection training
|
| 20 |
+
- `target`: The cleaned, normalized version for error correction training
|
| 21 |
+
- `tags`: Content-based classification tags
|
| 22 |
+
- `source`: Original file name
|
| 23 |
+
|
| 24 |
+
### Data Fields
|
| 25 |
+
- `original`: string - Original text
|
| 26 |
+
- `corrupted`: string - Text with injected errors
|
| 27 |
+
- `target`: string - Cleaned target text
|
| 28 |
+
- `tags`: Sequence[string] - Content classification tags
|
| 29 |
+
- `source`: string - Source file name
|
| 30 |
+
|
| 31 |
+
### Data Splits
|
| 32 |
+
- Train: 22 examples
|
| 33 |
+
- Test: 6 examples
|
| 34 |
+
|
| 35 |
+
## Dataset Creation
|
| 36 |
+
|
| 37 |
+
### Curation Rationale
|
| 38 |
+
This dataset was created to provide synthetic data for training error correction models from user-provided documents.
|
| 39 |
+
|
| 40 |
+
### Source Data
|
| 41 |
+
The data was generated from user-uploaded documents in .txt, .csv, .md, or .jsonl formats.
|
| 42 |
+
|
| 43 |
+
### Annotations
|
| 44 |
+
Annotations were automatically generated through:
|
| 45 |
+
1. Text normalization (simulated cleaning)
|
| 46 |
+
2. Controlled error injection based on configurable parameters
|
| 47 |
+
3. Content-based classification
|
| 48 |
+
|
| 49 |
+
### Personal and Sensitive Information
|
| 50 |
+
All processing occurs locally in the browser. No data was uploaded to any server.
|
| 51 |
+
|
| 52 |
+
## Considerations for Using the Data
|
| 53 |
+
|
| 54 |
+
### Social Impact of Dataset
|
| 55 |
+
This dataset enables the creation of error correction models for various text domains.
|
| 56 |
+
|
| 57 |
+
### Discussion of Biases
|
| 58 |
+
The error patterns are synthetic and may not perfectly represent real-world error distributions.
|
| 59 |
+
|
| 60 |
+
### Other Known Limitations
|
| 61 |
+
- Synthetic errors may not capture all real-world error patterns
|
| 62 |
+
- Limited to text-based errors (no formatting or layout errors)
|
| 63 |
+
|
| 64 |
+
## Additional Information
|
| 65 |
+
|
| 66 |
+
### Dataset Curators
|
| 67 |
+
Generated by TYPE/RIGHTER PWA
|
| 68 |
+
|
| 69 |
+
### Licensing Information
|
| 70 |
+
Creative Commons Attribution 4.0 International (CC BY 4.0)
|
| 71 |
+
|
| 72 |
+
### Citation Information
|
| 73 |
+
```
|
| 74 |
+
@misc{typerighter2026,
|
| 75 |
+
title={TYPE/RIGHTER Synthetic Error Correction Dataset},
|
| 76 |
+
author={TYPE/RIGHTER PWA},
|
| 77 |
+
year={2026},
|
| 78 |
+
url={https://github.com/typerighter}
|
| 79 |
+
}
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### Contributions
|
| 83 |
+
Thanks to the user who generated this dataset using TYPE/RIGHTER.
|
| 84 |
+
|
| 85 |
+
## Error Distribution
|
| 86 |
+
- Keyboard Adjacent Errors: 20%
|
| 87 |
+
- Case Corruption: 15%
|
| 88 |
+
- Symbol Insertion: 10%
|
| 89 |
+
- OCR Line Noise: 10%
|
| 90 |
+
|
| 91 |
+
## Generated on
|
| 92 |
+
2026-01-07T01:04:58.601Z
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
*Generated by TYPE/RIGHTER • Offline-First PWA • Privacy by Design • 2026*
|
data/test-00000-of-00001.jsonl
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"original":"clear()\n\n\tcamera","corrupted":"cll{wAr!() lcame1ra","target":"clear() camera","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 2 |
+
{"original":"set(1)\n\tglitchComposer","corrupted":"s!)et(1) glItcg1com}ppdet","target":"set(1) glitchComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 3 |
+
{"original":"render()\n\trenderer","corrupted":"rIender() twn|d|!:Ee1wr","target":"render() renderer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 4 |
+
{"original":"clearDepth()\n\tcamera","corrupted":"C;ea+eDep|T^() cSmer;[A","target":"clearDepth() camera","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 5 |
+
{"original":"set(0)\n\n\trenderer","corrupted":"Srt(0) rendErer","target":"set(0) renderer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 6 |
+
{"original":"render(scene, camera)\n}\ntick()","corrupted":"rrm;(se:r(al#c:wbe, C&a,EE:a) ;} tivk()","target":"render(scene, camera) } tick()","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
data/train-00000-of-00001.jsonl
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"original":"**USE THIS FOR THE SCENE RENDERING FOR A MID 90's 3D GLITCH BLOOM EFFECT TO EMULATED A LEGACY RENDERING SYSTEM (THINK 80s 90s demoscene 3d scene json design using three js wireframes and neurot","corrupted":"**USr TgoS |FOR tHE! Sc|ENE REN[sE#rINf :F!OR A M$oDI 90'a 3D @GLIycH BLOO, EFge;CT TO EMU#aTrD )A LEG:ACY RwN=r!RINg SYSTEM# (y)HoN^K 8;0s 90s sempsce|n^e 3d scenr JsOn design us:Ing lrhree js -w%!)eedran&es ab&Id Nlwurpt","target":"**USE THIS FOR THE SCENE RENDERING FOR A MID 90's 3D GLITCH BLOOM EFFECT TO EMULATED A LEGACY RENDERING SYSTEM (THINK 80s 90s demoscene 3d scene json design using three js wireframes and neurot","tags":["MD","User Content","Technical","Correspondence"],"source":"BLOOM EFFECT.md"}
|
| 2 |
+
{"original":"js for projectiles (non wireframe for neurots","corrupted":"js:* for prpjrcti;les (!mob q|ir{efr%me; lfir nw]tIts","target":"js for projectiles (non wireframe for neurots","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 3 |
+
{"original":"js)) for a cool lightweight and minimal visual effect, find a good balance where the game can still run in 60 frames per second but maintains a cool 3D holographic popping effect through the bloom:**\n\n//BLOOM\nconst bloomPass = new UnrealBloomPass(new THREE","corrupted":"js)) fpr s cpok kighteei;ght amd mumImall visua-l wf1fec|t, dInd+ a Giod b)ak^:an]cE wjere thr famr $can dri;l tun i;- 60 g=ram1es per srcond but m1]ainraoms a cool 3D jolographiC oop;pi-!nf egfect l%yht:oigh rje bkoo$m:** //BLO[om cons1t* !b;oomPass =; !ne%|w UnRes|;;B;oo,psss1(n!rw THte;E","target":"js)) for a cool lightweight and minimal visual effect, find a good balance where the game can still run in 60 frames per second but maintains a cool 3D holographic popping effect through the bloom:** //BLOOM const bloomPass = new UnrealBloomPass(new THREE","tags":["MD","User Content","Correspondence","Long Text"],"source":"BLOOM EFFECT.md"}
|
| 4 |
+
{"original":"Vector2(window","corrupted":"Vrct&o!r2(wondiw","target":"Vector2(window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 5 |
+
{"original":"innerWidth, window","corrupted":"inmerW&idyg, |wi[n:-iw","target":"innerWidth, window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 6 |
+
{"original":"innerHeight), 0","corrupted":"onne:rHeIgHr1), 0","target":"innerHeight), 0","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 7 |
+
{"original":"8, 0, 0)\nbloomPass","corrupted":"8, 0, 10) nl1o|o,pAas","target":"8, 0, 0) bloomPass","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 8 |
+
{"original":"renderToScreen = true\n\nconst bloomComposer = new EffectComposer(renderer)\nbloomComposer","corrupted":"r):-;b]!eeToSlceerb = tr1ie c[nsy bl!i}omvom]posee = new |E;f:fecItvomopde)r(eeb@d^;rr%r) 1vloomCimposee","target":"renderToScreen = true const bloomComposer = new EffectComposer(renderer) bloomComposer","tags":["MD","User Content"],"source":"BLOOM EFFECT.md"}
|
| 9 |
+
{"original":"setSize(window","corrupted":"deT+ize(w!onsoQI","target":"setSize(window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 10 |
+
{"original":"innerWidth, window","corrupted":"innwrW1i]th, wOlndow","target":"innerWidth, window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 11 |
+
{"original":"innerHeight)\n\nbloomComposer","corrupted":"iNnerHe(g()t1)) v;;oomICon[oser|","target":"innerHeight) bloomComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 12 |
+
{"original":"addPass(renderScene)\nbloomComposer","corrupted":"add[ass(rwnd&;eRIS&1enE) b+lpomvompos1e}","target":"addPass(renderScene) bloomComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 13 |
+
{"original":"addPass(bloomPass)\n//GLITCH\nconst glitchPass = new GlitchPass()\nglitchPass","corrupted":"add|Pass!(;nloOn[as$s) //g^LoTCg vi;nsr ;gliychpas1s = bew1 hlll[txg|}asa() gLItch@ss!s","target":"addPass(bloomPass) //GLITCH const glitchPass = new GlitchPass() glitchPass","tags":["MD","User Content"],"source":"BLOOM EFFECT.md"}
|
| 14 |
+
{"original":"renderToScreen = true\n\nconst glitchComposer = new EffectComposer(renderer)\nglitchComposer","corrupted":"rwnder+ToS-teen ;= true !co^batl glitchvP$moosw(- = ;n-!eq E;gfwcyC:pmpoder(renderee) glotc!hCompoSwr","target":"renderToScreen = true const glitchComposer = new EffectComposer(renderer) glitchComposer","tags":["MD","User Content"],"source":"BLOOM EFFECT.md"}
|
| 15 |
+
{"original":"setSize(window","corrupted":"setdiz]r(wim+ow","target":"setSize(window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 16 |
+
{"original":"innerWidth, window","corrupted":"InnerWidtg, win+sPw","target":"innerWidth, window","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 17 |
+
{"original":"innerHeight)\n\nglitchComposer","corrupted":"imn#wTHEIg!j}t); gLitxh[ompils!e:r","target":"innerHeight) glitchComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 18 |
+
{"original":"addPass(renderScene)\nglitchComposer","corrupted":"adSpa-:a(r%eIbdera1Cene) glutcljCo,posr;r","target":"addPass(renderScene) glitchComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 19 |
+
{"original":"addPass(bloomPass)\nglitchComposer","corrupted":"add[assl(bkOomPass) g:kitchC:imPI}oSer","target":"addPass(bloomPass) glitchComposer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 20 |
+
{"original":"addPass(glitchPass)\n\nconst tick = () => {\n\tcontrols","corrupted":"aDd!Paad(gli]tchoaS|d) [o[lbst rIiCk = () => { cpn%trol$s","target":"addPass(glitchPass) const tick = () => { controls","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 21 |
+
{"original":"update()\n\trequestAnimationFrame(tick)\n\n\trenderer","corrupted":"up|datr() rwquEsItAn1!i,at*upn$Frame(to;ck)| re#}de!rer","target":"update() requestAnimationFrame(tick) renderer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
| 22 |
+
{"original":"autoClear = false\n\trenderer","corrupted":"aUltoCleae =1 fslse erndere;*!e","target":"autoClear = false renderer","tags":["MD","User Content","Short Text"],"source":"BLOOM EFFECT.md"}
|
dataset_infos.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"default": {
|
| 3 |
+
"description": "Synthetic error correction dataset generated by TYPE/RIGHTER",
|
| 4 |
+
"citation": "Generated locally in browser using TYPE/RIGHTER PWA",
|
| 5 |
+
"homepage": "",
|
| 6 |
+
"license": "cc-by-4.0",
|
| 7 |
+
"features": {
|
| 8 |
+
"original": {
|
| 9 |
+
"dtype": "string",
|
| 10 |
+
"id": null,
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
},
|
| 13 |
+
"corrupted": {
|
| 14 |
+
"dtype": "string",
|
| 15 |
+
"id": null,
|
| 16 |
+
"_type": "Value"
|
| 17 |
+
},
|
| 18 |
+
"target": {
|
| 19 |
+
"dtype": "string",
|
| 20 |
+
"id": null,
|
| 21 |
+
"_type": "Value"
|
| 22 |
+
},
|
| 23 |
+
"tags": {
|
| 24 |
+
"feature": {
|
| 25 |
+
"dtype": "string",
|
| 26 |
+
"id": null,
|
| 27 |
+
"_type": "Value"
|
| 28 |
+
},
|
| 29 |
+
"length": -1,
|
| 30 |
+
"id": null,
|
| 31 |
+
"_type": "Sequence"
|
| 32 |
+
},
|
| 33 |
+
"source": {
|
| 34 |
+
"dtype": "string",
|
| 35 |
+
"id": null,
|
| 36 |
+
"_type": "Value"
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"post_processed": {
|
| 40 |
+
"cleaned": true,
|
| 41 |
+
"corrupted": true,
|
| 42 |
+
"error_types": {
|
| 43 |
+
"keyboard_adjacent": 20,
|
| 44 |
+
"case_corruption": 15,
|
| 45 |
+
"symbol_insertion": 10,
|
| 46 |
+
"ocr_noise": 10
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"supervised_keys": {
|
| 50 |
+
"input": "corrupted",
|
| 51 |
+
"output": "target"
|
| 52 |
+
},
|
| 53 |
+
"builder_name": "typerighter",
|
| 54 |
+
"config_name": "default",
|
| 55 |
+
"dataset_name": "typerighter_dataset",
|
| 56 |
+
"dataset_size": 2800,
|
| 57 |
+
"splits": {
|
| 58 |
+
"train": {
|
| 59 |
+
"name": "train",
|
| 60 |
+
"num_bytes": 2200,
|
| 61 |
+
"num_examples": 22
|
| 62 |
+
},
|
| 63 |
+
"test": {
|
| 64 |
+
"name": "test",
|
| 65 |
+
"num_bytes": 600,
|
| 66 |
+
"num_examples": 6
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"version": {
|
| 70 |
+
"version_str": "1.0.0",
|
| 71 |
+
"major": 1,
|
| 72 |
+
"minor": 0,
|
| 73 |
+
"patch": 0
|
| 74 |
+
},
|
| 75 |
+
"download_checksums": {},
|
| 76 |
+
"download_size": 2800,
|
| 77 |
+
"size_in_bytes": 5600
|
| 78 |
+
}
|
| 79 |
+
}
|