grammarcheck design doc