Update GrammarCheckFactory.cpp