Metaphor forms part of our way of thinking, of understanding the world. At times, it lexicalizes (that is, it becomes very common), and we are not aware that we are using a metaphor: Life is not a bed of roses.
We base on previous models to produce communicative units, and a transmitter, a receiver and a channel are necessary. Nevertheless, it does not imply that these units are not creative.
A metaphor can be defined as an incomplete simile:
She is (as pretty as) a rose. --> She is a rose.
My husband is (like / as strong as) an ox. --> My husband is an ox.
In a metaphor there are two terms or planes: the real one (my husband) and the evoked or imaginary one (ox). There is, then, some similarity between the two terms. If only the evoked plane appears, we have a pure metaphor: The pirate of his heart (that is, her love) destroyed his life, and if both terms are present, impure: Her love was the pirate of his heart, which destroyed his life.
Metonymy expresses contiguity, possession, degree, proximity... The important thing here is to belong to the same group, species, etc. Synecdoche can be included in metonymy, and it refers to the substitution of the part for the whole or of the whole for the part.
Let us put some examples of metonymy to end with:
She was a girl of twenty summers. (= She was twenty years old.)
A fleet of thirty sail. (= ships)
Ireland (the football team representing a country) have beaten France.
The heir to the throne. (= kingdom)
Please send us a line. (= letter)
Say if the sentences or phrases below are metaphors or metonyms.
1. His hands were vine shoots.
2. He took to the bottle after his wife's death.
3. There was not a soul in the street.
4. Life is not a bed of roses.
5. The dinner cost us twenty pounds per head.
6. Would you like a Scotch?
7. He is afraid of the Evil One.
8. The music of her laugh.
9. He is a wet blanket.
10. He was a man of cloth.