← All Projects
Complete
Grammar Checker
A Python CLI tool that proofreads Word documents for grammar errors using a local LLM (llama-server). Extracts paragraphs, chunks them for the context window, sends them to the model for correction, and writes the results back as Word tracked changes — so you can review each fix in Word's familiar accept/reject interface.
Tech Stack
Pythonpython-docxlxmlllama-serverSQLiterequests
Key Features
- Tracked changes output — corrections appear as Word insert/delete revisions, not flat replacements
- Token-aware chunking with paragraph overlap for LLM context window limits
- Runs against local llama-server — no cloud APIs, fully offline
- Handles headers, footers, and custom paragraph styles