Documente Academic
Documente Profesional
Documente Cultură
Roger Levy
UC San Diego
Department of Linguistics
February 1, 2008
Modeling Syntax
S
◮ Phrase structure organizes
words into phrases, often NPsg VPsg
called constituents DT NN PP VBZ
◮ This organization is The velocity IN NPsg rises
hierarchical and thus nested
of DT JJ NNS
◮ There are arguments in
linguistics about the proper the seismic waves
representations
◮ For a given string there is
usually ambiguity as to the
correct phrase structure
◮ This ambiguity often
corresponds to semantic
ambiguity
Context-free grammars, formally
NP VP NP VP NP VP NP VP
NP VP
Det N V NP PP
a spoon
S
NP VP
Det N V NP
Det N P NP
a candle
Dependency Structure
◮ Another major way of representing syntactic relations is
through word-word dependency structure:
After dinner, a musician who was hired for the wedding arrived
◮ This turns out to be homologous to context-free
phrase-structure trees for which each node has a head
daughter:
S
PP NP VP
P N NP RC V
V VP
was V PP
hired P NP
for Det N
the wedding
Syntactic Ambiguities
PP NP-SBJ VP .
TO NP NNS CC NNS MD VP .
been RB ADJP NN
just RB JJ blubber
so much
Exploring syntax: Tree search
◮ tgrep2
◮ tregex