discourse vs talk to oneself

discourse

verb
  • To engage in discussion or conversation; to converse. 

  • To exercise reason; to employ the mind in judging and inferring; to reason. 

  • To write or speak formally and at length. 

noun
  • Expression in words, either speech or writing. 

  • A formal lengthy exposition of some subject, either spoken or written. 

  • An institutionalized way of thinking, a social boundary defining what can be said about a specific topic (after Michel Foucault). 

  • Any rational expression, reason. 

talk to oneself

verb
  • To say one's thoughts aloud, particularly while also not conversing with anyone else. 

How often have the words discourse and talk to oneself occurred in a corpus of books? (source: Google Ngram Viewer )