Spelling
This is a neural spelling checker
Install / Use
npx skills add oliverguhr/spellingInstalls into whichever agent you are using.
README
Spelling correction based on pretrained transformer models
Purpose
This is an attempt to create a model that is able to fix spelling errors and common typos.
An english work in progress model and interactive demo can be found here and a german version here.
Install
python -m venv venvsource venv/bin/activatepip install -r requirements.txt
Generate Training Data
To generate the training data simply run these two scripts:
sh convert_leipzig_data.shpython generate_dataset.py
Optional: If you want to combine multiple languages you can edit and run the "combine.sh" script.
By default this will create the english dataset. To switch to a different language, you need to change the language tag in those two scripts.
How to train a model:
For english run sh train_bart_model.sh or train_de_bart_model.sh for the german model.
Contribute:
This is an open research project, improvements and contributions are welcome. If we achive promising results, we will publish them in a more formal way (paper). All contributers will be recognized.
Open Questions
- How do evaluate the quality of the model, apart from using CER on syntactic data?
- What are good data sets to train on?
Possible Datasets:
- https://github.com/snukky/wikiedits
- https://github.com/mhagiwara/github-typo-corpus
- Too much noise, does not work well.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
