demo · v139
Proofreader Probe
On-device proofreader API finds grammar/spelling issues. Runs against Chrome's bundled on-device model family. Click "Probe API", then "Proofread" — the demo falls back to a small client-side heuristic when the API is unavailable.
Behind a flag. Enable chrome://flags/#optimization-guide-on-device-model and chrome://flags/#proofreader-api, or join the origin trial. If the API isn't available the demo uses a small client-side stub so you still get useful output.
Click "Probe API" to feature-detect.
issues will appear here
the code
const proofreader = await Proofreader.create({
expectedInputLanguages: ["en"],
});
const result = await proofreader.proofread(
"Their are too many errors hear."
);
console.log(result.corrected, result.corrections);