Blog · 2026-10-14
Finding the AI part of a document
Many real documents are mixed: a human draft with a few AI-written paragraphs, or an essay whose second half came from a chatbot. Judging the whole document at once misses most of these. So TextWitness also scores every passage on its own and shows you which ones look AI-written.
How it works
The detector cuts each document into passages of about 120 to 250 words. It follows paragraph breaks where it can, and never cuts in the middle of a sentence. Each passage gets its own score.
A passage is flagged only if it clears a separate, stricter bar. We set that bar on thousands of human texts the model had never seen, so that a human document with any flagged passage stays as rare as before. Then we checked it on a second set of human texts:
| Language | Human documents | With a flagged passage |
|---|---|---|
| English | 3,867 | 6 |
| German | 3,375 | 5 |
| French | 1,875 | 2 |
| Italian | 2,250 | 2 |
When a passage is flagged but the document as a whole is not, the report says indication in part. The report shows a strip with one cell per passage, with flagged ones in orange, and shades the flagged text. When the family model is confident about a flagged passage, the report also shows which AI family that passage resembles.
How much it helps
We built mixed documents by joining a human text and an AI text in each language, then checked how often each one got flagged:
| Mixed document | Whole document only | With passages |
|---|---|---|
| Human text, then 30% AI | 0–42% | 93–100% |
| Human text, then 50% AI | 2–62% | 93–100% |
| Human text continued by an AI in the same style | 7–20% | 76–100% |
Across these tests, not one purely human passage was flagged. Each range covers English, German, French and Italian. The style-imitation test covers English, German and French. Per-language numbers are on the methodology page.
German and French
The German and French detector is trained on texts from current AI models, including texts that continue a human passage in its style. On held-out texts from current models it detects 98% in German and 93% in French, and it wrongly flags 4 of 3,375 human German texts and 2 of 1,875 human French texts. In our 23 examples, the German Claude text is caught, though only just.
Where it's still weak
- AI and human sentences shuffled together. When AI sentences are interleaved one by one with human ones, no passage is clearly AI-written. Only 52–84% of these documents get flagged.
- An AI imitating an old author. Our Victorian-style example is still missed: its AI passages score well under the bar.
- Very short documents. A text under 200 words is still "inconclusive". We don't flag its passages either.
As always, a flagged passage is evidence, not proof. Use it to ask better questions about how a text was written.