pedant vs smart-ass

pedant

adj
  • Pedantic. 

noun
  • A person who is overly concerned with formal rules and trivial points of learning. 

  • A person who makes an excessive or tedious show of their knowledge, especially regarding rules of vocabulary and grammar. 

smart-ass

How often have the words pedant and smart-ass occurred in a corpus of books? (source: Google Ngram Viewer )