cramp someone's style vs restrict

cramp someone's style

verb
  • To restrict someone's free action or expression. 

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 cramp someone's style and restrict occurred in a corpus of books? (source: Google Ngram Viewer )