complain vs gloat

complain

verb
  • To express feelings of pain, dissatisfaction, or resentment. 

  • To creak or squeak, as a timber or wheel. 

  • To make a formal accusation or bring a formal charge. 

gloat

verb
  • To exhibit a conspicuous (sometimes malevolent) pleasure or sense of self-satisfaction, often at an adversary's misfortune. 

  • To triumph, crow, relish, glory, revel. 

noun
  • An act or instance of gloating. 

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