Screen science: The secret of the lines we never forget

Researchers have hit on a formula to work out why certain quotes stay with us

"Hasta la vista, baby" may have been uttered by a murderous cyborg played by Arnold Schwarzenegger, but could a computer recognise it as one of cinema's most memorable lines? Yes, according to a group of American researchers.

A team at Cornell University has created a computer program to break down the formula behind some of cinema's most enduring lines, from Dirty Harry's "Do you feel lucky, punk?" to Casablanca's "Here's looking at you, kid."

In its current form the algorithm may not be a huge help for budding screenwriters looking for their first hit, but its creators believe that in the future it may well be able to come out with a few classic quotes, or at least a successful advertising slogan, on its own.

Computer scientist Cristian Danescu-Niculescu-Mizil initially wanted to scrutinise political speeches and news bulletins to pick out the best lines, but when they turned out to be too problematic, the team turned its attention to films to analyse what drove certain lines into popular culture. For its research paper – entitled You had me at hello: How phrasing affects memorability – they scoured the internet for film scripts and studied 1,000 films, highlighting memorable quotes selected by users of the film website imdb.com.

The team then asked people to judge between two quotes from films they had not seen, with one line memorable and the other less so. In about 78 per cent of cases, people could detect the more memorable quote.

The researchers found that the more memorable quotes were made up of word combinations unlikely to appear elsewhere in the film. Yet the grammatical structures of the quotes tended to be ordinary.

Other interesting quirks of the memorable quotes included more of a use of the indefinite article rather than the definite article, verbs in the past tense and the use of pronouns other than "you".

The best quote, according to Mr Danescu-Niculescu-Mizil, was: "Frankly, my dear, I don't give a damn," uttered by Clark Gable as Rhett Butler in Gone with the Wind. Mr Danescu-Niculescu-Mizil said: "That quote ticks a number of boxes. It has the general aspect but also it has an unusual combination of 'my dear' and 'damn'." He also pointed to other general quotes such as the opening of Star Wars: "A long time ago, in a galaxy far, far away."

Mr Danescu-Niculescu-Mizil added: "There are some trends you can pick out of the language. It is no silver bullet; for example, a [common] phrase like 'I'll be back' isn't easily categorised."

He added that generating lines of its own would be "the next step. You know what you want to say, but how do you make it more memorable? No computer can tell you that at the moment."

Famous quotes...

Humphrey Bogart Casablanca (1942)

"I think this is the beginning of a beautiful friendship"

Renee Zellweger Jerry Maguire (1996)

"You had me at hello"

Clarke Gable Gone with the Wind (1939)

"Frankly my dear, I don't give a damn"

Arnold Schwarzenegger Terminator II (1992)

"Hasta la vista, baby"

Gloria Swanson Sunset Boulevard (1950)

"I'm ready for my close-up"

Arts and Entertainment
Novelist Martin Amis at The Times Cheltenham Literature Festival

books
Arts and Entertainment
Alfred Molina, left, and John Lithgow in a scene from 'Love Is Strange'

After giving gay film R-rating despite no sex or violence

film
Arts and Entertainment
Robin Williams will be given a 'meaningful remembrance' at the Emmy Awards

film
Arts and Entertainment

tv
Arts and Entertainment
Arctic Monkeys headline this year's Reading and Leeds festivals, but there's a whole host of other bands to check out too
music
PROMOTED VIDEO
Have you tried new the Independent Digital Edition apps?
Arts and Entertainment
Cliff Richard performs at the Ziggo Dome in Amsterdam on 17 May 2014

music
Arts and Entertainment

TV
Arts and Entertainment
Educating the East End returns to Channel 4 this autumn

TV
Arts and Entertainment
Benedict Cumberbatch will voice Shere Khan in Andy Serkis' movie take on The Jungle Book

film
Arts and Entertainment
DJ Calvin Harris performs at the iHeartRadio Music Festival

music
Arts and Entertainment
The eyes have it: Kate Bush

music
Arts and Entertainment
From left to right: Mark Crown, DJ Locksmith and Amir Amor of Rudimental performing on stage during day one of the Wireless Festival at Perry Park, Birmingham

music
Arts and Entertainment

books
Arts and Entertainment
Tim Vine has won the funniest joke award at the Edinburgh Festival 2014

Edinburgh
Arts and Entertainment
Peter Capaldi and Chris Addison star in political comedy The Thick of IT

TV
Arts and Entertainment
Judy Murray said she

TV
Arts and Entertainment
Tim Vine has won the funniest joke award at the Edinburgh Festival 2014

edinburgh
Arts and Entertainment
Jeremy Paxman has admitted he is a 'one-nation Tory' and complained that Newsnight is made by idealistic '13-year-olds' who foolishly think they can 'change the world'.

Edinburgh
Arts and Entertainment
Seoul singer G-Dragon could lead the invasion as South Korea has its sights set on Western markets
music
Arts and Entertainment
Gary Lineker at the UK Premiere of 'The Hunger Games: Catching Fire'
tv
Arts and Entertainment
Christian Bale as Batman in a scene from
film
Arts and Entertainment
Johhny Cash in 1969
musicDyess Colony, where singer grew up in Depression-era Arkansas, opens to the public
Arts and Entertainment
Army dreamers: Randy Couture, Sylvester Stallone, Dolph Lundgren and Jason Statham
film
Arts and Entertainment
The Great British Bake Off 2014 contestants
tvReview: It's not going to set the comedy world alight but it's a gentle evening watch
Arts and Entertainment
Umar Ahmed and Kiran Sonia Sawar in ‘My Name Is...’
Theatre
Independent
Travel Shop
the manor
Up to 70% off luxury travel
on city breaks Find out more
santorini
Up to 70% off luxury travel
on chic beach resorts Find out more
sardina foodie
Up to 70% off luxury travel
on country retreats Find out more
Have you tried new the Independent Digital Edition apps?

ES Rentals

    Independent Dating
    and  

    By clicking 'Search' you
    are agreeing to our
    Terms of Use.

    Middle East crisis: We know all too much about the cruelty of Isis – but all too little about who they are

    We know all too much about the cruelty of Isis – but all too little about who they are

    Now Obama has seen the next US reporter to be threatened with beheading, will he blink, asks Robert Fisk
    Neanderthals lived alongside humans for centuries, latest study shows

    Final resting place of our Neanderthal neighbours revealed

    Bones dated to 40,000 years ago show species may have died out in Belgium species co-existed
    Scottish independence: The new Scots who hold fate of the UK in their hands

    The new Scots who hold fate of the UK in their hands

    Scotland’s immigrants are as passionate about the future of their adopted nation as anyone else
    Britain's ugliest buildings: Which monstrosities should be nominated for the Dead Prize?

    Blight club: Britain's ugliest buildings

    Following the architect Cameron Sinclair's introduction of the Dead Prize, an award for ugly buildings, John Rentoul reflects on some of the biggest blots on the UK landscape
    eBay's enduring appeal: Online auction site is still the UK's most popular e-commerce retailer

    eBay's enduring appeal

    The online auction site is still the UK's most popular e-commerce site
    Culture Minister Ed Vaizey: ‘lack of ethnic minority and black faces on TV is weird’

    'Lack of ethnic minority and black faces on TV is weird'

    Culture Minister Ed Vaizey calls for immediate action to address the problem
    Artist Olafur Eliasson's latest large-scale works are inspired by the paintings of JMW Turner

    Magic circles: Artist Olafur Eliasson

    Eliasson's works will go alongside a new exhibition of JMW Turner at Tate Britain. He tells Jay Merrick why the paintings of his hero are ripe for reinvention
    Josephine Dickinson: 'A cochlear implant helped me to discover a new world of sound'

    Josephine Dickinson: 'How I discovered a new world of sound'

    After going deaf as a child, musician and poet Josephine Dickinson made do with a hearing aid for five decades. Then she had a cochlear implant - and everything changed
    Greggs Google fail: Was the bakery's response to its logo mishap a stroke of marketing genius?

    Greggs gives lesson in crisis management

    After a mishap with their logo, high street staple Greggs went viral this week. But, as Simon Usborne discovers, their social media response was anything but half baked
    Matthew McConaughey has been singing the praises of bumbags (shame he doesn't know how to wear one)

    Matthew McConaughey sings the praises of bumbags

    Shame he doesn't know how to wear one. Harriet Walker explains the dos and don'ts of fanny packs
    7 best quadcopters and drones

    Flying fun: 7 best quadcopters and drones

    From state of the art devices with stabilised cameras to mini gadgets that can soar around the home, we take some flying objects for a spin
    Joey Barton: ‘I’ve been guilty of getting a bit irate’

    Joey Barton: ‘I’ve been guilty of getting a bit irate’

    The midfielder returned to the Premier League after two years last weekend. The controversial character had much to discuss after his first game back
    Andy Murray: I quit while I’m ahead too often

    Andy Murray: I quit while I’m ahead too often

    British No 1 knows his consistency as well as his fitness needs working on as he prepares for the US Open after a ‘very, very up and down’ year
    Ferguson: In the heartlands of America, a descent into madness

    A descent into madness in America's heartlands

    David Usborne arrived in Ferguson, Missouri to be greeted by a scene more redolent of Gaza and Afghanistan
    BBC’s filming of raid at Sir Cliff’s home ‘may be result of corruption’

    BBC faces corruption allegation over its Sir Cliff police raid coverage

    Reporter’s relationship with police under scrutiny as DG is summoned by MPs to explain extensive live broadcast of swoop on singer’s home