pedant vs pettifogger

pedant

noun
  • 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. 

adj
  • Pedantic. 

pettifogger

noun
  • Someone who quibbles over trivia, and raises petty, annoying objections and sophistry. 

  • An unscrupulous or unethical lawyer, especially one of lesser skill. 

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