longing vs pining

longing

noun
  • An earnest and deep, not greatly passionate, but rather melancholic desire. 

  • The buying of a financial instrument with the expectation that its value will rise 

pining

noun
  • The act of one who pines. 

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