compilation vs corpus

compilation

noun
  • That which is compiled; especially, a book or document composed of materials gathering from other books or documents. 

  • Translation of source code into object code by a compiler. 

  • The act or process of compiling or gathering together from various sources. 

corpus

noun
  • A collection of writings, often on a specific topic, of a specific genre, from a specific demographic or a particular author, etc. 

  • Such a collection in form of an electronic database used for linguistic analyses. 

  • A body, a collection. 

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