metonym vs synonymy

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. 

synonymy

noun
  • The collective synonyms (all the names referring to a particular taxon, except the correct name) 

  • The state of not being a correct name, of being a synonym 

  • The quality of being synonymous; sameness of meaning. 

  • A list or collection of synonyms, often compared and contrasted. 

  • The study of synonyms. 

  • A system of synonyms. 

  • The collective synonyms (all the names referring to the same taxon, including the correct name) 

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