A person who makes an excessive or tedious show of their knowledge, especially regarding rules of vocabulary and grammar.
A person who is overly concerned with formal rules and trivial points of learning.
Pedantic.
Synonym of know-it-all, an obnoxious clever person or a person making obnoxious efforts to seem clever.
An insolent person, especially one who makes snide remarks.
To talk like a smartass, with a lot of snide remarks.
Related to or characteristic of a smartass.