certainly vs yes

certainly

adv
  • In a way which is certain; with certainty. 

  • An emphatic affirmative answer; of course. 

  • Without doubt, surely. 

yes

adv
  • that is correct 

particle
  • Answer to a question presuming one answer when all answers are correct. 

  • Used to indicate disagreement or dissent in reply to a negative statement. 

  • Used to show agreement or acceptance. 

noun
  • An affirmative expression; an answer that shows agreement or acceptance. 

  • A vote of support or in favor/favour of something. 

verb
  • to agree with, affirm, approve. 

  • to attempt to flatter someone by habitually agreeing 

intj
  • An exclamation of pleasure or approval, usually transcribed with an exclamation point. 

  • Response that confirms that the user is paying attention. 

  • Used to ask for more information with a request. 

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