constrain vs put into detention

constrain

verb
  • To force physically, by strong persuasion or pressuring; to compel; to oblige. 

  • To keep within close bounds; to confine. 

  • To reduce a result in response to limited resources. 

put into detention

How often have the words constrain and put into detention occurred in a corpus of books? (source: Google Ngram Viewer )