Grammar and Syntax Revision of Whole Document