DEV Community

Cover image for A Simple Workflow to Make AI Drafts Sound Human (With a Readability Script)
Maheen Razzaq
Maheen Razzaq

Posted on

A Simple Workflow to Make AI Drafts Sound Human (With a Readability Script)

AI drafts are fast, but they often read flat: same sentence length, stock transitions, no personality. Here is the workflow I use to fix that, plus a small script to measure the result.

The workflow

  1. Outline it yourself. The structure should be yours, not the model's.
  2. Generate a rough draft with any AI writer.
  3. Add what AI can't: your own examples, numbers, and opinions.
  4. Smooth the tone. A rewriting tool such as RewriteAI helps with phrasing and flow, but always read the output yourself.
  5. Fact-check every claim before publishing.

Measure it with a tiny Python script

Install the library first with pip install textstat, then run this:

import re
import statistics
import textstat

def report(text):
    sentences = [s for s in re.split(r"[.!?]+\s", text) if s.strip()]
    lengths = [len(s.split()) for s in sentences]
    return {
        "flesch_reading_ease": textstat.flesch_reading_ease(text),
        "avg_sentence_words": round(statistics.mean(lengths), 1),
        "sentence_length_spread": round(statistics.pstdev(lengths), 1),
    }

before = open("draft_ai.txt").read()
after = open("draft_edited.txt").read()
print("before:", report(before))
print("after: ", report(after))
Enter fullscreen mode Exit fullscreen mode

A higher spread in sentence length usually means a more natural rhythm, and a higher Flesch score means easier reading. These are rough signals, not proof of quality, so use them as a guide only.

Takeaway

Use AI for speed, then add your own experience and review. Readers, and search engines, reward content that is useful and accurate, not content that merely avoids a label.

What is your workflow for editing AI drafts? Share it in the comments.

Top comments (0)