Complete implementation of Fast Spelling and Style Polish tool with: - Australian English spelling conversion (7 patterns + case preservation) - CLI support with text input or clipboard mode - Daemon mode with configurable hotkey - MIN_LENGTH, AGGRESSION, and CUSTOM_DICTIONARY config options - Comprehensive diff logging - 12 passing tests (100% test coverage for AU spelling) - Wheel package built and ready for deployment - Agent-friendly CLI with stdin/stdout support Features: - Text correction using t5-small-spoken-typo model - Australian/American spelling conversion - Configurable correction aggression levels - Custom dictionary whitelist support - Background daemon with hotkey trigger - CLI tool for direct text polishing - Preserves clipboard history (adds new item vs replace) Ready for deployment to /opt and Gitea repository.
13 lines
318 B
INI
13 lines
318 B
INI
[DEFAULT]
|
|
MODEL_name = willwade/t5-small-spoken-typo
|
|
HOTKEY = ctrl+alt+p
|
|
AU_SPELLING = True
|
|
LOGGING = True
|
|
AGGRESSION = minimal
|
|
CUSTOM_DICTIONARY = ["Lucy", "FoxSoft", "tantra", "mtb"]
|
|
MIN_LENGTH = 10
|
|
CONFIG_FILE = ../config.ini
|
|
|
|
# Additional configuration parameters
|
|
MAX_LENGTH = 512
|
|
MODEL_TYPE = text2text-generation |