ornateness vs pedantry

ornateness

noun
  • The state of being ornate. 

pedantry

noun
  • An overly ambitious display of learning. 

  • An instance of such behaviour. 

  • An excessive attention to detail or rules. 

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