homily vs treatise

homily

noun
  • A sermon, especially concerning a practical matter. 

  • A platitude. 

  • A moralizing lecture. 

adv
  • In a homey manner. 

treatise

noun
  • A formal, usually lengthy, systematic discourse on some subject. 

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