metaphor vs metonym

metaphor

noun
  • The use of a word or phrase to refer to something other than its literal meaning, invoking an implicit similarity between the thing described and what is denoted by the word or phrase. 

  • A word or phrase used in such implied comparison. 

  • The use of an everyday object or concept to represent an underlying facet of the computer and thus aid users in performing tasks. 

verb
  • To use a metaphor. 

  • To describe by means of a metaphor. 

metonym

noun
  • A word that names an object from a single characteristic of it or of a closely related object; a word used in metonymy. 

  • A concept, idea, or word used to represent, typify, or stand in for a broader set of ideas. 

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