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
Chloe-Jasmine Whicello impressed the judges and the audience at Wembley Arena with a sultry performance
TVReview: Who'd have known Simon was such a Roger Rabbit fan?
News
Rumer was diagnosed with bipolarity, attention deficit hyperactivity disorder and post-traumatic stress disorder: 'I was convinced it was a misdiagnosis'
peopleHer debut album caused her post-traumatic stress - how will she cope as she releases her third record?
Arts and Entertainment
Nick Frost will star in the Doctor Who 2014 Christmas special

TV
Arts and Entertainment
Friends is celebrating its 20th anniversary this year
TV
Arts and Entertainment
A spell in the sun: Emma Stone and Colin Firth star in ‘Magic in the Moonlight’
filmReview: Magic In The Moonlight
PROMOTED VIDEO
Have you tried new the Independent Digital Edition apps?
Arts and Entertainment
Maisie Williams plays 'bad ass' Arya Stark in Game of Thrones

TV
Arts and Entertainment
Liam Neeson said he wouldn't

TV
Arts and Entertainment

TV
Arts and Entertainment
Meera Syal was a member of the team that created Goodness Gracious Me

TV
Arts and Entertainment
The former Doctor Who actor is to play a vicar is search of a wife

film
Arts and Entertainment

music
Arts and Entertainment
Pointless host Alexander Armstrong will voice Danger Mouse on CBBC

TV
Arts and Entertainment
Pharrell dismissed the controversy surrounding

music
Arts and Entertainment
Jack Huston is the new Ben-Hur

film
Arts and Entertainment

TV
Arts and Entertainment
Cara Delevingne modelling

film
Arts and Entertainment
Emma Thompson and Bryn Terfel are bringing Sweeney Todd: The Demon Barber of Fleet Street to the London Coliseum

theatre
Arts and Entertainment
Sheridan Smith as Cilla Black

TV
Arts and Entertainment
Robin Thicke's video for 'Blurred Lines' has been criticised for condoning rape

Robin Thicke admits he didn't write 'Blurred Lines'

music
Arts and Entertainment
While many films were released, few managed to match the success of James Bond blockbuster 'Skyfall'

film
Arts and Entertainment
Matt Damon as Jason Bourne in The Bourne Ultimatum (2007)

film
Arts and Entertainment
Sheridan Smith as Cilla Black

Review: Cilla, ITV TV
Arts and Entertainment

TV
Arts and Entertainment
Tom Hardy stars with Cillian Murphy in Peaky Blinders II

TV
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.

    Scottish referendum: The Yes vote was the love that dared speak its name, but it was not to be

    Despite the result, this is the end of the status quo

    Boyd Tonkin on the fall-out from the Scottish referendum
    Manolo Blahnik: The high priest of heels talks flats, Englishness, and why he loves Mary Beard

    Manolo Blahnik: Flats, Englishness, and Mary Beard

    The shoe designer who has been dubbed 'the patron saint of the stiletto'
    The Beatles biographer reveals exclusive original manuscripts of some of the best pop songs ever written

    Scrambled eggs and LSD

    Behind The Beatles' lyrics - thanks to Hunter Davis's original manuscript copies
    'Normcore' fashion: Blending in is the new standing out in latest catwalk non-trend

    'Normcore': Blending in is the new standing out

    Just when fashion was in grave danger of running out of trends, it only went and invented the non-trend. Rebecca Gonsalves investigates
    Dance’s new leading ladies fight back: How female vocalists are now writing their own hits

    New leading ladies of dance fight back

    How female vocalists are now writing their own hits
    Mystery of the Ground Zero wedding photo

    A shot in the dark

    Mystery of the wedding photo from Ground Zero
    His life, the universe and everything

    His life, the universe and everything

    New biography sheds light on comic genius of Douglas Adams
    Save us from small screen superheroes

    Save us from small screen superheroes

    Shows like Agents of S.H.I.E.L.D are little more than marketing tools
    Reach for the skies

    Reach for the skies

    From pools to football pitches, rooftop living is looking up
    These are the 12 best hotel spas in the UK

    12 best hotel spas in the UK

    Some hotels go all out on facilities; others stand out for the sheer quality of treatments
    These Iranian-controlled Shia militias used to specialise in killing American soldiers. Now they are fighting Isis, backed up by US airstrikes

    Widespread fear of Isis is producing strange bedfellows

    Iranian-controlled Shia militias that used to kill American soldiers are now fighting Isis, helped by US airstrikes
    Topshop goes part Athena poster, part last spring Prada

    Topshop goes part Athena poster, part last spring Prada

    Shoppers don't come to Topshop for the unique
    How to make a Lego masterpiece

    How to make a Lego masterpiece

    Toy breaks out of the nursery and heads for the gallery
    Meet the ‘Endies’ – city dwellers who are too poor to have fun

    Meet the ‘Endies’ – city dwellers who are too poor to have fun

    Urbanites are cursed with an acronym pointing to Employed but No Disposable Income or Savings
    Paisley’s decision to make peace with IRA enemies might remind the Arabs of Sadat

    Ian Paisley’s decision to make peace with his IRA enemies

    His Save Ulster from Sodomy campaign would surely have been supported by many a Sunni imam