keep company vs set one’s cap for

keep company

verb
  • To socialise. 

set one’s cap for

How often have the words keep company and set one’s cap for occurred in a corpus of books? (source: Google Ngram Viewer )