"Of all the gin joints in all the towns in all the world, she walks into mine." It"s a classic quote from the film
Casablanca
, but can a computer
1
the magic of such classic lines
Cristian Danescu-Niculescu-Mizil and colleagues at Cornell University have taught a computer to
2
classic quotes with an accuracy
3
that of mankind. It means computers might one day help fill
4
test their latest classic lines.
The Cornell team collected quotes from the Internet Movie Database, which contains a list of lines flagged by users as deserving to be
5
. The context
6
a line is uttered can make a quote more notable,
7
as a control, the team paired each classic quote with an ordinary one from the
8
context. It was the same
9
and spoken by the same character at around the same point in the fill.
The computer analysed the pairs of quotes—around 2200 in total—for language
10
, unusual words, and word combinations.
The computer
11
to recognize several characteristics
12
to the classic quotes, creating a model that could help find them. "The phrases contain
13
combinations of words, but at the same time they have a sentence structure that is common, so they are
14
to use," says Danescu-Niculescu-Mizil.
The analysis also showed that classic lines often have a(n)
15
: they can be widely used because they don"t contain words that
16
them to a specific context.
The model was able to
17
between classic and ordinary quotes with 64 percent accuracy.
18
scored 78 percent.
The team
19
that political candidates could use the model to assess their
20
.