1
Semantics and Logical Form Semantics and Logical Form
Berlin Chen 2003
References: 1. Speech and Language Processing, chapter 14 2. Natural Language Understanding, chapter 8 3. Jim Martin’s lectures
Semantics and Logical Form Semantics and Logical Form Berlin Chen - - PowerPoint PPT Presentation
Semantics and Logical Form Semantics and Logical Form Berlin Chen 2003 References: 1. Speech and Language Processing, chapter 14 2. Natural Language Understanding, chapter 8 3. Jim Martins lectures 1 Introduction Everyday
1
References: 1. Speech and Language Processing, chapter 14 2. Natural Language Understanding, chapter 8 3. Jim Martin’s lectures
2
Knowledge of the world Meaning representation & Knowledge representation Phonological, morphological, and syntactic representations True/False Acceptance/Rejection
3
First Order Predicate Calculus Semantic Network Conceptual Dependency Diagram Frame-based Representation
4
5
6
7
child or goat mare, colt, trotter ambiguity vagueness
8
9
The input query Using various propositions Overheads on KB maintenance or semantic analysis
10
11
12
13
14
15
Verbs, VPs, PPs, … Nouns, NPs, …
16
17
Facilitate concise representations and semantics for sound reasoning procedures.
18
Adopted From Jim Martin
19
20
21
atomic representations
22
23
To satisfy the condition, at least one substitution must result in truth To satisfy the condition, all substitutions must result in truth
, d MexicanFoo x Serve x nt anRestaura x Vegetari ∧ ∀
24
The formula below the line can be inferred from the formulas above the line by some form of inference. antecedent consequent
25
a new fact
26
27
28
29
30
31
(a kind of) (is a)
32
Speaker Eating 1
wich TurkeySand Speaker Eating ,
2
Desk wich TurkeySand Speaker Eating , ,
3
Desk Speaker Eating ,
4
Lunch Speaker Eating ,
5
Lunch wich TurkeySand Speaker Eating , ,
6
Desk Lunch wich TurkeySand Speaker Eating , , ,
7
1 2 3 4 5 6 7 6 5 2 1
33
1
2
6
34
w,NewYork n Destinatio w,Speaker Arriver Arriving w ISA w ∧ ∧ ∃ ,
35
( ) ( ) ( ) ( ) ( ) ( )
e Now Precedes i,e EndPoint w,i IntervalOf w,NewYork n Destinatio w,Speaker Arriver Arriving w ISA w , , ∧ ∧ ∧ ∧ ∧ ∃
( ) ( ) ( ) ( ) ( )
Now i MemberOf w,i IntervalOf w,NewYork n Destinatio w,Speaker Arriver Arriving w ISA w , , ∧ ∧ ∧ ∧ ∃
( ) ( ) ( ) ( ) ( ) ( )
Now e Precedes i,e EndPoint w,i IntervalOf w,NewYork n Destinatio w,Speaker Arriver Arriving w ISA w , , ∧ ∧ ∧ ∧ ∧ ∃
36
37
38
..stopping booking .. ..stopping reaching ..?
39
( ) ( ( ) ( ))
d BritishFoo v Eaten Marry v Eater v,Eating ISA v Speaker, Believes , , ∧ ∧ ∃ modal operator
40
Semantic Analysis Linguistic Input Meaning Representation Knowledge Base Discourse Context …… Syntactic Analysis (words/phrases/ grammatical structures)
41
42
1 2 3
43
1
k j n
) . ,... . ( . sem sem f sem A
k j
α α =
44
lambda notation
45