a person who has a vast understanding of grammar, and habitually corrects any grammar (or spelling) mistakes made by others in conversation, in written works, online, or any other form of communication
Emily is such a grammar nazi--she keeps correcting the grammar in my texts.