A person who is pedantic about grammar.
Someone who obnoxiously claims to be knowledgeable on a subject.