Figurative Language In Literature Is Just How Writers Say Things Differently
You read a line like "the world was a stage" and someone tells you that's a metaphor. Done. That's the whole textbook explanation. The actual skill is figuring out what the writer is doing when it isn't labeled for you, which is most of the time in real literature. I spend a lot of time going through student papers where someone calls every comparison a metaphor. It isn't. Here's the working distinction. A simile uses "like" or "as" to make a comparison. A metaphor asserts the comparison directly. If the text says "her voice was music," that's a metaphor. If it says "her voice sounded like music," that's a simile. The difference matters because they hit differently on the page. Similes create distance. They signal to the reader that a comparison is being offered, not stated as fact. Metaphors collapse that distance and force the two things together. That's why Shakespeare's "all the world's a stage" lands harder than if he'd written "all the world is like a stage." The period's stylistic preference for the bold version wasn't accidental.
Synecdoche and metonymy get confused constantly. Synecdoche uses a part to represent the whole or vice versa. "All hands on deck" — "hands" means sailors, not literally detached body parts. Metonymy swaps something closely associated for the thing itself. "The White House issued a statement" — the building didn't issue anything, the people inside it did. They're adjacent techniques but they're not the same thing. Personification gives human qualities to non-human things. It's the easiest to spot and the hardest to use well. Most student writing hits it by the third paragraph of any descriptive essay. "The wind whispered through the trees" works until you've read it twelve times in a stack of college essays. It's not wrong. It's just overused to the point of nothing. Irony has three main flavors in literature. Situational irony is when the outcome contradicts expectations. Dramatic irony is when the audience knows something the character doesn't. Verbal irony is when someone says the opposite of what they mean. Sarcasm is a subset of verbal irony that carries extra contempt. Don't conflate them.
Oxymoron jams two contradictory terms together. "Deafening silence." "Bittersweet." These work because the tension forces the reader to slow down and sit with the contradiction. Used once in a paragraph they sharpen the moment. Used three times they start looking like a gimmick. Hyperbole is deliberate exaggeration. "I've told you a million times." Rhetorical questions aren't meant to be answered. "Who could forget such a thing?" Both appear constantly in speeches and novels. Neither requires a fanfare of explanation when the text provides them. The job is to notice their function, not label them.
Get the Full Details

How To Actually Use These When You're Reading
Labeling is the first step and also the most pointless one. The real work is figuring out why the figurative choice matters in that specific sentence. What does the metaphor accomplish that a literal statement wouldn't? That's the question that shows up on exams and that actually matters for analysis. Take a line from Gatsby: "Her voice is full of money." People memorize that as a great metaphor. The analysis nobody writes is the specific one. Gatsby is imagining Daisy's voice carries the actual substance of wealth, not just references to it. The metaphor ties her entire identity to material class. Remove it and the line becomes "her voice sounds expensive," which is true but loses the equation between voice and currency that Fitzgerald built into the sentence. Here's a practical workflow I use. Read the sentence twice. On the second pass, replace the figurative language with a literal translation. What changed? The meaning, the tone, the pace, the image — usually at least one of those shifted. That shift is your analysis.
I once worked with a dataset of student essays where annotators were labeling figurative language across 400 passages. The inter-annotator agreement on irony was abysmal, around 0.42 on Cohen's kappa. Everyone agreed on metaphors and similes. The disagreement was almost entirely on irony and rhetorical questions. Verbal irony, in particular, is incredibly context-dependent. A sentence like "Oh great, another meeting" is irony only if you understand the speaker's relationship to meetings. Without that context the model reads it as literal enthusiasm. The workaround was to require a two-sentence minimum for ironic labeling. You couldn't tag a single line without the surrounding sentences providing contextual evidence. Agreement jumped to 0.71. It's a minor change that forces the annotator to actually read the passage instead of making a gut call on a single sentence.
Where This Breaks Down
Figurative language detection works well on canonical texts where the conventions are established and the prose is deliberate. It gets unreliable on contemporary fiction, especially experimental writing that plays with genre conventions or mixes figurative modes within a single passage. A sentence might operate as metaphor and personification simultaneously. Your label set needs to allow that overlap. Some figurative devices don't survive translation well. Wordplay, puns, and cultural-specific idioms lose their mechanism when moved between languages. If you're working with translated literature, the figurative layer is often already simplified by the translator's choices. That's not a failure of the original text. It's a failure of the apparatus you're using to analyze it. Symbolism sits adjacent to figurative language but isn't the same thing. A symbol accumulates meaning across a whole text. A metaphor works in a single sentence. Don't conflate the two. "The green light in Gatsby" is a symbol. "The world's a stage" is a metaphor. They're both figurative. They operate on different scales.

If you're building a dataset or an annotation project, start with metaphors and similes. They're the lowest-hanging fruit and the most consistent across texts. Add synecdoche and metonymy only after your baseline agreement is above 0.8. Save irony for last and build the contextual requirement I described above. Without it you'll end up with a dataset full of people calling anything unexpected ironic.