"Using machine translation, we are able to recognise errors and suggest corrections as work is getting done," G Suite product manager Vishnu Sivaji said in a statement on Tuesday.

He said that G Suite customers will see inline, contextual grammar suggestions in their documents as they type, just like spellcheck.

"If you've made a grammar mistake, a squiggly blue line will appear under the phrase as you write it," Sivaji added.
He said Google has been working closely with language experts to decipher the rules for the machine translation model and used them as the foundation of automatic suggestions in Google Docs, which was all powered by AI.

Google grammar checker will be an extra tool for users to improve their writing alongside spellcheck, which was first introduced in Google Docs seven years ago.