cocksure vs doctrinaire

cocksure

adj
  • Too confident; overconfident. 

doctrinaire

adj
  • Stubbornly holding on to an idea without concern for practicalities or reality. 

noun
  • In France, in 1815-30, one of a school who desired a constitution like that of Britain. 

  • A person who stubbornly holds to a philosophy or opinion regardless of its feasibility. 

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