inhibit vs restrict

inhibit

verb
  • To hold in or hold back; to keep in check; restrain. 

  • To recuse. 

restrict

verb
  • To restrain within boundaries; to limit; to confine 

  • To consider (a function) as defined on a subset of its original domain. 

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