Compositional Semantics for Relative Clauses in Lexicalized Tree Adjoining Grammars Chung-hye Han

advertisement
Compositional Semantics for Relative Clauses in
Lexicalized Tree Adjoining Grammars
Chung-hye Han
Simon Fraser University
chunghye@sfu.ca
TAG+ 6, May 2002 — Venice, Italy
1
Elementary Objects in LTAG and Implications for
Compositional Semantics
In LTAG, the elementary objects are lexicalized trees that encapsulate all
syntactic/semantic arguments of the anchor.
The meaning of a sentence in LTAG is computed as a function of meaning of
elementary trees put together to derive the sentence.
Semantics in LTAG can be defined to operate on bigger objects than in a
phrase-structure based approach in which the meaning of a sentence is a
function of meaning of each node in the tree.
2
Compositional Semantics in LTAG on Derivation Trees
Compositional semantics in TAG should be done on the derivation tree, not
on the derived tree.
This gives a direct correspondence between semantic composition and the
syntactic operations of substitution and adjunction.
Allows incremental and monotonic semantic interpretation for partial
derivations.
3
Flat Semantics
Two ways of doing compositional semantics on the derivation tree:
(i) Synchronous TAG (AbeilleĢ 1994); (ii) Flat Semantics (Joshi and
Vijay-Shanker 1999, Joshi and Kallmeyer 2000).
I pursue the flat semantics approach to propose a compositional semantics
for relative clauses.
The main operation for semantic composition:
Conjunction of the semantics associated with each elementary tree;
Unification of variables contributed by each semantic representation.
Why relative clauses?
Semantics for the relative pronoun; Relation between the head noun and the
relative pronoun; Predicate/argument relation within the relative clause.
4
Outline
Illustration of TAG compositional semantics with attributive adjectives
Relative clause with simple WHNP
Relative clause with complex WHNP
Proposal for an analysis of relative clauses
Generalization of the analysis:
Recursive pied-piping structure
Adjunct relative clause
Conclusion and future work
5
Attributive Adjective
(1) a difficult problem
N
N
problem
q : problem
arg: –
A
N*
l : x. difficult(x)
arg: p p (x)
difficult
problem
difficult
q : problem
l : x. difficult(x)
problem(x)
6
Relative Clause with a Simple WHNP
(2) a problem which is difficult
NP
N
NP
NP
NP*
N
S
problem
which
WHNP
q : problem
arg: –
l : x. p (x)
arg: p , p S
NP
VP
t
is difficult
is difficult(x)
q : which
arg: –
p (x)
7
Relative Clause with a Simple WHNP
(2) a problem which is difficult
problem
is difficult
q : problem
q : which
l : x. problem(x)
is difficult(x)
which(x)
which
8
Relative Clause with a Complex WHNP
(3) a problem whose solution is difficult
NP
NP
NP*
q : problem
arg: –
N
S
WHNP
problem
l : x. p (x)
arg: p , p S
NP
VP
t
is difficult
is difficult(x)
p (x)
NP
NP
NP
NP
Poss
NP*
l : se(u, p (u), g )
arg: p , g N
solution
NP
q : solution
arg: –
N
q : who
arg: –
who
se
9
Relative Clause with a Complex WHNP
(3) a problem whose solution is difficult
problem
is difficult
solution
se
q : who
q : solution
l : se(u, solution(u), who)
q : problem
l : x. problem(x) is difficult(x)
who(x)
who
10
Necessary Components for a Proper Analysis of Relative
Clauses
A way to ensure that the head of WHNP is an argument of the predicate of
the relative clause.
In a problem whose solution is difficult, what is difficult is solution, not
problem.
A way to ensure that the head noun and the relative pronoun are predicating
over the same variable.
The connection between who and problem must be ensured.
11
Expanded Relative Clause Tree
(3) a problem whose solution is difficult
NP
NP*
S
WHNP
NP
who
S
NP
Poss
NP
NP
VP
t
is difficult
se
l : x. p (x) se(u, p (u), g (who(x))
arg: p , p , g is difficult(u)
12
Expanded Relative Clause Tree
(3) a problem whose solution is difficult
problem
who is difficult
q : problem
q : solution
l : x. problem(x)
l : x. problem(x)
solution
se(u, solution(u), g (who(x)) is difficult(u)
se(u, solution(u), who(x)) is difficult(u)
13
Recursive Genitive Structure
(4) a problem whose solution’s proof is difficult
NP
NP*
S
WHNP
NP
NP
who
l : x. p (x) se(u, p (u), g (who(x))
arg: p , p , g S
NP
Poss
NP
VP
t
is difficult
is difficult(u)
se
NP[WH]
NP[WH]*
NP
Poss
NP
l : g . g (se(v, p (v), g ))
arg: g , p , g se
14
Recursive Genitive Structure
(4) a problem whose solution’s proof is difficult
who se is difficult
problem
se
proof
solution
q : solution
l : g . g (se(v, solution(v), g ))
l : g . se(v, solution(v), g )
q : proof
q : problem
l : x. problem(x) se(u, proof(u), g . se(v, solution(v), g )(who(x)))
is difficult(u)
l : x. problem(x) se(u, proof(u), se(v, solution(v), (who(x)))) is difficult(u)
15
More Recursive Genitive Structure
(5) a problem whose solution’s proof’s representation is difficult
NP
NP*
S
WHNP
who
S
NP
NP
l : x. p (x) se(u, p (u), g (who(x))
arg: p , p , g Poss
NP
NP
VP
t
is difficult
is difficult(u)
se
NP[WH]
NP[WH]*
NP
Poss
se
NP
l : g . g (se(v, p (v), g ))
arg: g , p , g l : g . g (se(w, p (w), g ))
arg: g , p , g 16
More Recursive Genitive Structure
(5) a problem whose solution’s proof’s representation is difficult
who se is difficult
solution
l
l
l
l
l
l
:
:
:
:
:
:
problem
representation
se
proof
g . se(w, proof(w), g )
g . g (se(v, solution(v), g ))
g . g . se(w, proof(w), g )(se(v, solution(v), g ))
g . se(w, proof(w), se(v, solution(v), g ))
x. problem(x) se(u, representation(u), g (who(x))) is difficult(u)
x. problem(x) se(u, representation(u), g . se(w, proof(w), se(v, solution(v),
g )(who(x))) is difficult(u)
l : x. problem(x) se(u, representation(u), se(w, proof(w), se(v, solution(v),
who(x)))) is difficult(u)
17
Other Pied-Piping Structures
(6) a problem proofs of solutions of which are difficult
NP
NP*
S
WHNP
NP
l : x. p (x) of(u, p (u), g (which(x))
arg: p , p , g S
PP
P
NP
of
which
NP
VP
t
are difficult
are difficult(u)
NP[WH]
NP
PP
P
NP[WH]*
l : g . g (of(v, p (v), g ))
arg: g , p , g of
18
Other Pied-Piping Structures
(6) a problem proofs of solutions of which are difficult
problem
of which are difficult
of
proof
solution
q : solution
l : g . of(v, solution(v), g )
q : proof
q : problem
l : x. problem(x) of(u, proof(u), g . of(v, solution(v), g )(which(x)))
are difficult(u)
l : x. problem(x) of(u, proof(u), of(v, solution(v), (which(x)))) are difficult(u)
19
Adjunct Relative Clauses
(7) the house in which John lives
NP
NP*
S
WHPP
P
NP
S
NP
in
VP
l : x. p (x)
arg: p , p lives(x , e)
in(e, p (x))
V
lives
NP
N
house
NP
q : house
arg: –
N
which
NP
q : which
arg: –
N
l : John(y)
arg: –
John
20
Adjunct Relative Clauses
(7) the house in which John lives
house
lives
John
which
q : house
q : which
l : John(y)
l : x. house(x)
lives(y, e)
in(e, which(x))
21
Conclusion
Compositional semantics on the derivation tree is shown to be possible for
complex constructions like relative clauses.
I have proposed a flat semantics for relative clauses that keeps track of the
variable for head of WHNP and the variable for relative pronoun separately.
The analysis handles recursively embedded genitive WHNPs and other
pied-piping structures.
It also extends to adjunct relative clauses.
Future work: extension to ‘picture NP’ cases like a painting the picture of
which I have a copy of.
22
Semantics Based on an Alternative Syntax of Relative Clauses
(8) a problem whose solution is difficult
NP
NP
q : problem
arg: –
N
NP*
problem
NP
N
l : who(z, p (z), g )
arg: p , g who
NP
S
NP
NP*
NP
se
NP
l : se(u, p (u, x ), g )
arg: p , x , g NP *
S
l : is difficult(x )
arg: x NP
VP
t
is difficult
23
problem
who
proof
se
is difficult
q : problem
l : who(z, problem(z), se(u, p (u,z), g ))
l : who(z, problem(z), se(u, proof(u,z), g ))
l : who(z, problem(z), se(u, proof(u,z), is difficult(u)))
Download