inn vs shelter

inn

noun
  • Any establishment where travellers can procure lodging, food, and drink. 

  • A tavern. 

  • One of the colleges (societies or buildings) in London, for students of the law barristers. 

shelter

noun
  • An institution that provides temporary housing for homeless people, battered women, etc. 

  • A refuge, haven or other cover or protection from something. 

verb
  • To take cover. 

  • To provide cover from damage or harassment; to shield; to protect. 

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