contain vs include

contain

verb
  • To include as a part. 

  • To put constraints upon; to restrain; to confine; to keep within bounds. 

  • To hold inside. 

  • To have as an element or subset. 

include

verb
  • To consider as part of something; to comprehend. 

  • To use a directive that allows the use of source code from another file. 

  • To bring into a group, class, set, or total as a (new) part or member. 

noun
  • A piece of source code or other content that is dynamically retrieved for inclusion in another item. 

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