Corrects large Word documents using Claude 3.5 Sonnet
at a level that surpasses Microsoft Word. Upload any .docx file and see corrections in colour.
- Deep language correction beyond Microsoft Word capabilities.
- Corrects grammar, spelling, and inappropriate word choice in colour.
- Preserves writting style and semantic meaning.
- Comprehensive testing suite to validate correction integrity (see below).
- Click
- Then follow these steps in section Your Settings
Eg.1 — Draft write-up for this notebook
- Upload (.docx): original draft
- Notebook Output: corrections made that Microsoft Word missed
Eg.2 — Draft article "Pushing Aside the Bench for the Mark"
- Upload (.docx): original draft
- Notebook output: corrections made that Microsoft Word missed
See solution-diagram:
- Setup: Installs and imports necessary libraries
- Pre-processing: Extracts text from Word, converts to markdown, splits into chunks
- Processing: Sends chunks to Claude for correction
- Post-Processing: Reassembles chunks, creates HTML output
- Testing: Evaluates output, tests prompt, and tests code
Testing is arranged into three major errors:
- Test Processed Doc: End-to-end testing, verifying code and prompt.
- Prompt testing (evaluations): Ensure prompts performs as instructed (uses generated test data).
- Test My Code: Traditional functional testing for core code components.
For Test Processed Doc:
- The prompt intructs to
"make corrections but retain original meaning"
. - Therefore for each chunk pair (original vs corrected), testing covers:
- Content Preservation: Document structure
- Content Preservation: Simple Word Count (+/- 5% tolorance)
- Content Preservation: Semantic Meaning (scores > 70%)