You are on page 1of 11

Semantic Types and Function Application

Ling324
Reading: Meaning and Grammar, pg. 87-98
Semantic Types we have specified so far for the fragment of
English F1

Syntactic Category Semantic Type


S Truth values (0 or 1)
N Individuals
Vi, VP Sets of individuals
Vt Sets of ordered pairs of individuals
Conj Function from pairs of truth values to truth values
Neg Function from truth values to truth values

1
Specifying Semantic Rules in terms of Function Application
• A function takes an input argument from some specified domain and yields
an output value.

Applying a function f to an argument x yields the value for that argument,


which can be written as f (x).

The mode of combining a function and its argument is called FUNCTION


APPLICATION.

• The way we have defined the semantics of Neg makes use of function
application." #
1→0 = the function f from truth values to truth
[[Neg]]V =
0→1 values such that: f (1) = 0 and f (0) = 1

• In fact, function application could be used to interpret any syntactic structure


with two branches: one branch is interpreted as a function, and the other
branch is interpreted as a possible argument of the function.

[[ A ]]V = [[B]]V ([[C]]V )

B C

2
Intransitive Verb
• [[is cute]]V = {x : x is cute in V }
For example, let Universe = {Fiona, Patsy, Jenny, John}
[[is cute]]V = {Fiona, Jenny}

• [[is cute]]V = the function f from individuals to truth values such that:
f (x) = 1 if x ∈ {x : x is cute in V }, and f (x) = 0 otherwise.
Fiona → 1
 
 Patsy → 0 
[[is cute]]V = 
Jenny → 1 
(= the characteristic function of {x : x is cute in V })
John → 0

• Characteristic function
Any function that assigns one of two distinct values (0 or 1) to the members
of a domain is called CHARACTERISTIC FUNCTION.
Each subset of the domain defines such a function uniquely, and any such
function corresponds to a unique subset of the domain.
This means that we can use sets and characteristic function of that set
interchangeably when defining the semantic value of intransitive verbs.

3
Intransitive Verb (cont.)

• Semantic types

e (entity): the type of individuals.

t (truth value): the type of truth values.

< e, t >: the type of functions from individuals into truth values.

• Intransitive verb combines with the subject, by function application, and


returns a truth value.

[[is cute]]V ([[John]]V ) = 1 or 0 (depending on the situation V )

• QUESTION: Provide the semantic value for is hungry and is boring in terms
of set notation, and functional notation.

4
Transitive Verb

• [[likes]]V = {< x, y >: x likes y in V }

For example, let Universe = {Fiona, Patsy, Jenny}


[[likes]]V = {< Fiona, Patsy >, < Patsy, Jenny >, < Jenny, Jenny >}

• The characteristic function of [[likes]]V


 
< Fiona, Fiona >→ 0
< Fiona, Patsy >→ 1
 
 
< Fiona, Jenny >→ 0
 
 
 

 < Patsy, Fiona >→ 0 

< Patsy, Patsy >→ 0
 
 
< Patsy, Jenny >→ 1
 
 
 

 < Jenny, Fiona >→ 0 


 < Jenny, Patsy >→ 0 

< Jenny, Jenny >→ 1

5
Transitive Verb (cont.)

• Schönfinkelization: Turning n-ary functions into multiple embedded unary


functions.

Left-to-right Right-to-left
       
Fiona → 0 Fiona → 0
 Fiona →  Patsy → 1  Fiona →  Patsy → 0
       
   
 Jenny → 0  Jenny → 0
   
   
     

 Fiona → 0 


 Fiona → 1 

 Patsy →  Patsy → 0  Patsy →  Patsy → 0
       
   
 Jenny → 1  Jenny → 0
   
   
     

 Fiona → 0 


 Fiona → 0 

 Jenny →  Patsy → 0  Jenny →  Patsy → 1
       
   
Jenny → 1 Jenny → 1

• Which Schönfinkelization is consistent with the principle of compositional


semantics? Left-to-right or Right-to-left?

6
Transitive Verb (cont.)

• [[likes]]V = the function f from individuals to characteristic functions such


that: f (y) = g y , the characteristic function of {x : x likes y in V }.

• Type of functions from individuals to characteristic functions

< e, < e, t >>

• Transitive verb combines with a direct object, by function application, and


returns a characteristic function of a set.

[[likes]]V ([[Vivian]]V ) = the function f from individuals to truth values such


that: f (x) = 1 if x ∈ {x : x likes Vivian in V }, and f (x) = 0 otherwise.

7
Logical Connectives: and
• Binary function
< 1, 1 >→ 1
 
 < 1, 0 >→ 0 
 < 0, 1 >→ 0 
< 0, 0 >→ 0

• Schönfinkelization
Assume the following two syntactic rules:
(1) a. S → S conjP
b. conjP → conj S

• Unary

function  

1→1
1 →
 0→0  
 

 1→0 
0→
0→0

• Type of functions from truth values to functions from truth values to truth
values
< t, < t, t >>

8
Calculating Truth Conditions using Functional Approach

• Semantic Rules

(2) a. Pass-up:
If ∆ is a nonbranching node that dominates a,
then [[∆]]V = [[a]]V
b. Function Application
If ∆ is a branching node with daughters a and b,
and [[a]]V is a function whose domain contains [[b]]V ,
then [[∆]]V = [[a]]V ([[b]]V ).

• EXERCISE: For the following examples, calculate their truth conditions


compositionally using the semantic rules above.

(3) a. Bob is hungry.


b. Kitty likes Vivian.

9
Specifying Semantic Types in terms of Functional Types

Syntactic Category Semantic Type


S t
N e
Vi, VP < e, t >
Vt < e, < e, t >>
Conj < t, < t, t >>
Neg < t, t >

10

You might also like