hallucination vs pipe dream

hallucination

noun
  • The act of hallucinating; a wandering of the mind; an error, mistake or blunder. 

  • A confident but incorrect response given by an artificial intelligence. 

  • A sensory perception of something that does not exist, often arising from disorder of the nervous system, as in delirium tremens. 

pipe dream

noun
  • A plan, desire, or idea that will not likely work; a near impossibility. 

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