analgesic vs somnific

analgesic

noun
  • Any medicine, such as aspirin, that reduces pain, especially without inducing a loss of other sensation. (Contrast anesthetic.) 

adj
  • Acting to relieve pain; being an analgesic. 

  • Unable to feel pain. 

somnific

adj
  • Causing sleep; somniferous. 

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