SoSe23: Semantics 1: Difference between revisions

From Lexical Resource Semantics
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 6: Line 6:
After the class, the participants will be able to identify - and partly analyze - interesting semantic phenomena in naturally occurring texts. They will have acquired a basic working knowledge in formal logic, which they will be able to apply in the description of meaning
After the class, the participants will be able to identify - and partly analyze - interesting semantic phenomena in naturally occurring texts. They will have acquired a basic working knowledge in formal logic, which they will be able to apply in the description of meaning


== Meeting 2 ==
<!-- = Meeting 10 =


=== Models ===
== Exercises ==
 
=== Structures with transitive verbs ===
 
<quiz display=simple>
{Indicate the missing values of the VAL and the HEAD features using tags ([1], ...) or "-" for empty lists.
|type="{}"}
 
 
Phrases:{{TenSpaces}}{{TenSpaces}}{{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
NP: ''a mouse''{{TenSpaces}} VP: ''chased a mouse'' {{TenSpaces}} S: ''Fido chased a mouse.''
HEAD  { [11] _4 } {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HEAD { [9] _4 } {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HEAD { [9] _4 } {{TenSpaces}}
SUBJ < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SUBJ < { [1] _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp; SUBJ < { - _3 } >
SPR &nbsp; < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;  SPR < { - _3 } >
COMPS < { - _3 } >{{TenSpaces}}COMPS < { - _3 } > {{TenSpaces}}COMPS < { - _3 } >
 
 
</quiz>
 
 
<quiz display=simple>
{Indicate the missing values of the VAL and the HEAD features using tags ([1], ...) or "-" for empty lists. Don't use spaces.
|type="{}"}
 
 
''Pat gave Alex a ride.''
 
syntactic structure: [[File:Tree-PatGaveAlexARide.jpeg|500px]]
 
 
Words:
''Pat''{{TenSpaces}}{{TenSpaces}} ''gave'' {{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ''Alex'' {{TenSpaces}}{{TenSpaces}} ''a'' {{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ''ride''
HEAD [9]''noun''{{TenSpaces}} &nbsp;&nbsp; HEAD [10]''verb''{{TenSpaces}} &nbsp;&nbsp;&nbsp; HEAD [11] ''noun'' {{TenSpaces}} HEAD [12] ''det'' {{TenSpaces}} HEAD [13] ''noun''
SUBJ < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SUBJ < { [1] _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp; SUBJ < { - _3 } >  {{TenSpaces}} &nbsp;&nbsp; SUBJ < { - _3 } >{{TenSpaces}} &nbsp; SUBJ < { - _3 } >
SPR &nbsp; < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;  SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;  SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp; SPR < { [4] _3 } >
COMPS < { - _3 } >{{TenSpaces}}COMPS < { [3],[6] _8 } > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; COMPS < { - _3 } > {{TenSpaces}} COMPS < { - _3 } > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMPS < { - _3 } >
 
 
 
Phrases:{{TenSpaces}}{{TenSpaces}}{{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
NP: ''a ride''{{TenSpaces}} VP: ''gave Alex a ride'' {{TenSpaces}} S: ''Pat gave Alex a ride.''
HEAD  { [13] _4 } {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HEAD { [10] _4 } {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HEAD { [10] _4 } {{TenSpaces}}
SUBJ < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SUBJ < { [1] _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp; SUBJ < { - _3 } >
SPR &nbsp; < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;  SPR < { - _3 } >
COMPS < { - _3 } >{{TenSpaces}}COMPS < { - _3 } > {{TenSpaces}}COMPS < { - _3 } >
 
 
</quiz>
 
{{FeedbackExercises}}
-->
 
= Meeting 9 =
 
== Videos ==
 
This video shows which information is inside a lexcial entry.
<embedvideo service="youtube" dimensions="400">
https://youtu.be/impaNluIyNM
</embedvideo>
 
The second video shows the HPSG analysis of two simple sentences (37'):
::''Duncan died.'' (the first 18+ minutes)
::''Macbeth killed Duncan.'' (the rest of the video)
 
<embedvideo service="youtube" dimensions="400">
https://youtu.be/7lLWmA_cmy4
</embedvideo>
 
== Lexical entries as Attribute-Value Matrix ==
 
Provide the required information on the lexical properties of the underlined words in the following sentences.<br>
'''Note:'''
* Put a minus ("-") if a slot should not receive any filling.
* Write NP, PP, Det, VP into the valence lists, if such elements are selected.
* Use ''det'', ''noun'', ''prep'' or ''verb'' for the HEAD values.
 
<quiz display=simple>
{Alex <u>read</u> a book yesterday.
|type="{}"}
 
PHON { read _8 }<br>
HEAD { verb _8 }<br>
SUBJ < { NP _8 } ><br>
SPR < { - _8} > <br>
COMPS < { NP _8 } ><br>
 
{Alex talked <u>to</u> a friend.
|type="{}"}
 
PHON { to _8 }<br>
HEAD { prep _8 }<br>
SUBJ < { - _8 } ><br>
SPR < { - _8 } > <br>
COMPS < { NP _8 } ><br>
 
 
{Pat liked this new <u>documentary</u> on African wild life.
|type="{}"}
 
PHON { documentary _15 }<br>
HEAD { noun _8 }<br>
SUBJ < { - _8 } ><br>
SSPR < { Det _8 } > <br>
COMPS < { PP _8 } ><br>
 
{<u>Alex</u> talked to a friend.
|type="{}"}
 
PHON { Alex _8 }<br>
HEAD { noun _8 }<br>
SUBJ < { - _8 } ><br>
SPR < { - _8 } > <br>
COMPS < { - _8 } ><br>
 
 
</quiz>
 
{{FeedbackExercises}}
 
== Analysis of simple sentences ==
 
<quiz display=simple>
{Indicate the missing values of the VAL and the HEAD features using tags ([1], ...) or "-" for empty lists.
|type="{}"}
 
''Alex snored.''
 
syntactic structure: [[File:Tree-AlexSnored.jpeg|300px]]
 
 
Words:{{TenSpaces}}{{TenSpaces}}{{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Phrase:
''Alex''{{TenSpaces}}{{TenSpaces}} ''snored'' {{TenSpaces}}&nbsp;&nbsp;&nbsp;&nbsp; S: ''Alex snored.''
HEAD [4]''noun''{{TenSpaces}} &nbsp;&nbsp; HEAD [5]''verb''{{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp; HEAD { [5] _3 }
SUBJ < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SUBJ < { [1] _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp; SUBJ < { - _3 } >
SPR &nbsp; < { - _3 } >{{TenSpaces}} &nbsp;&nbsp; SPR < { - _3 } > {{TenSpaces}} &nbsp;&nbsp;&nbsp;&nbsp;  SPR < { - _3 } >
COMPS < { - _3 } >{{TenSpaces}}COMPS < { - _3 } > {{TenSpaces}}COMPS < { - _3 } >
 
</quiz>
 
 
 
== Videos ==
 
= Meeting 8 =
 
== For the meeting ==
 
Watch: <embedvideo service="youtube" dimensions="400">https://youtu.be/5PRL23XcaFY</embedvideo>
 
== Homework for meeting 9 ==
 
Watch the following video (33') on the basic step in a syntactic analysis as we need it in our course.
 
<embedvideo service="youtube" dimensions="400">
https://youtu.be/IN3VsH3Jn1o
</embedvideo>
 
The next video (14') introduces the way we talk about syntactic trees. Please watch it.
 
<embedvideo service="youtube" dimensions="400">
https://youtu.be/57TfLZJQgCM
</embedvideo>
 
 
 
The final video is a more general video (12', produced in 2008) on basic steps in a syntactic analysis. Note, only steps 1-5 apply to our course (i.e. the first 9'30'' of the video). Step 6 is based on a different syntactic theory.
 
<embedvideo service="youtube" dimensions="400">
https://youtu.be/EDbaCAVgHUI
</embedvideo>
 
= Meeting 7 =
 
Course content:
 
<embedvideo service="youtube" dimensions="400">https://youtu.be/b0iLejXP9C8</embedvideo>
 
= Meeting 6 =
 
== Variable assignment funcion ==
 
'''Task''' Variable assignment function<br>
Start with the following variable assigment function ''g'':
''g(u) = Romeo, g(v) = Juliet, g(w) = Romeo, g(x) = Laurence, g(y) = Mercutio, g(z) = Juliet''
 
Provide the changed variable assignment function ''g''[''v/Paris''].
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
Check your solutions here:
<div class="mw-collapsible-content">
''g''[''v/Paris'']''(u)'' = ''g(u)'' = ''Romeo''<br>''g''[''v/Paris'']''(v)'' = ''Paris''<br>''g''[''v/Paris'']''(w)'' = ''g(w)'' = ''Romeo''<br>''g''[''v/Paris'']''(x)'' = ''g(x)'' = ''Laurence''<br>''g''[''v/Paris'']''(y)'' = ''g(y)'' = ''Mercutio''<br>''g''[''v/Paris'']''(z)'' = ''g(z)'' = ''Juliet''
</div>
</div>
 
= Meeting 5 =
== Formulae with one connective ==
 
<!-- ''('''Note:''' the videos contain connectives that we have not talked about in class yet!)'' -->
 
The following video presents the step-by-step computation of the truth value of two formulae with connectives.
The example uses a model based on Shakespeare's play ''Macbeth''.
The two formulae are:
* '''&not; king(lady-macbeth)'''
* '''king(duncan) &or; king(lady-macbeth)'''
 
<embedvideo service="youtube" dimensions="400">http://youtu.be/ABXPMzHFYxU</embedvideo>
<!-- https://www.youtube.com/watch?v=K14D7VllA8M -->
 
== Formulae with two connectives ==
 
The next video shows how the truth value of a more complex formula can be computed. The example contains two connectives:
 
'''kill(malcom,lady-macbeth) &or; &not;thane(macbeth)'''
 
The video shows two different methods: top down and bottom up.
 
<embedvideo service="youtube" dimensions="400">http://youtu.be/C1rjU104R54</embedvideo>
 
== Truth tables ==
 
Truth tables are also useful to compute the truth value of complex formulae.
This is shown in the following podcast, created by [[User:Lisa|Lisa Günthner]].
 
<embedvideo service="youtube" dimensions="400">http://www.youtube.com/watch?v=ZWdltj5Mqdc</embedvideo>
 
= Meeting 4 =
 
== Computing the truth value of complex formulae ==
 
<!-- ''('''Note:''' the videos contain connectives that we have not talked about in class yet!)'' -->
 
The following video presents the step-by-step computation of the truth value of two formulae with connectives.
The example uses a model based on Shakespeare's play ''Macbeth''.
The two formulae are:
* '''&not; king(lady-macbeth)'''
* '''king(duncan) &or; king(lady-macbeth)'''
 
<embedvideo service="youtube" dimensions="400">http://youtu.be/ABXPMzHFYxU</embedvideo>
<!-- https://www.youtube.com/watch?v=K14D7VllA8M -->
 
= Meeting 3 =
 
== Computing the truth value of atomic formulae ==
 
The following video presents the step-by-step computation of the truth value of two atomic formulae.
The example uses a model based on Shakespeare's play ''Macbeth''.
The two formulae are:
* '''kill2(macbeth,duncan)'''
* '''kill2(lady-macbeth,macbeth)'''
 
<embedvideo service="youtube" dimensions="400">http://youtu.be/8HGCB9urmbg</embedvideo>
 
= Meeting 2 =
 
== Models ==


{{CreatedByStudents1213}} Involved participants: [[User:Lisa| Lisa]], [[User:Marthe| Marthe]], [[User:Elisabeth.krall| Elisabeth]], [[User:IsaB|Isabelle]].
{{CreatedByStudents1213}} Involved participants: [[User:Lisa| Lisa]], [[User:Marthe| Marthe]], [[User:Elisabeth.krall| Elisabeth]], [[User:IsaB|Isabelle]].
Line 41: Line 296:
:: I('''afternoon-snack-of2''') = ''AfternoonSnackOf'' = { <''x'',''y''> | ''x'' is ''y'' 's afternoon snack } = { <''LittleRedRidingHood'',''Wolf'' > }
:: I('''afternoon-snack-of2''') = ''AfternoonSnackOf'' = { <''x'',''y''> | ''x'' is ''y'' 's afternoon snack } = { <''LittleRedRidingHood'',''Wolf'' > }


== Meeting 1 ==
= Meeting 1 =


=== Video ===
== Video ==


Challenging phenomena at the syntax-semantics interface
Challenging phenomena at the syntax-semantics interface
Line 49: Line 304:
<embedvideo service="youtube" dimensions="400">https://youtu.be/zaBC9dKXe5A</embedvideo>
<embedvideo service="youtube" dimensions="400">https://youtu.be/zaBC9dKXe5A</embedvideo>


=== Literary scenario ===
== Literary scenario ==


Howl's moving castle:
Howl's moving castle:
* Wikipedia entry of the novel by Diana Wynne Jones (1986): https://en.wikipedia.org/wiki/Howl%27s_Moving_Castle
* Wikipedia entry of the novel by Diana Wynne Jones (1986): https://en.wikipedia.org/wiki/Howl%27s_Moving_Castle
* Wikipedia entry of the 2004 movie: https://en.wikipedia.org/wiki/Howl%27s_Moving_Castle_(film)
* Wikipedia entry of the 2004 movie: https://en.wikipedia.org/wiki/Howl%27s_Moving_Castle_(film)

Latest revision as of 22:35, 7 June 2023

Course description

Semantics is the study of the (literal) meaning of words and sentences. The meaning of a sentence is usually predictable from the words in the sentence and its syntactic structure. Yet, this relationship between form and meaning is not a simple one-to-one mapping. Instead, it is rich in ambiguities, pleonastic marking and elements without any identifiable meaning contribution. We will work on an account that is founded on classical tools of semantic research but still directly addresses these empirical challenges. After the class, the participants will be able to identify - and partly analyze - interesting semantic phenomena in naturally occurring texts. They will have acquired a basic working knowledge in formal logic, which they will be able to apply in the description of meaning


Meeting 9

Videos

This video shows which information is inside a lexcial entry.

The second video shows the HPSG analysis of two simple sentences (37'):

Duncan died. (the first 18+ minutes)
Macbeth killed Duncan. (the rest of the video)

Lexical entries as Attribute-Value Matrix

Provide the required information on the lexical properties of the underlined words in the following sentences.
Note:

  • Put a minus ("-") if a slot should not receive any filling.
  • Write NP, PP, Det, VP into the valence lists, if such elements are selected.
  • Use det, noun, prep or verb for the HEAD values.

1 Alex read a book yesterday.

PHON


HEAD


SUBJ <

>
SPR <

>
COMPS <

>

2 Alex talked to a friend.

PHON


HEAD


SUBJ <

>
SPR <

>
COMPS <

>

3 Pat liked this new documentary on African wild life.

PHON


HEAD


SUBJ <

>
SSPR <

>
COMPS <

>

4 Alex talked to a friend.

PHON


HEAD


SUBJ <

>
SPR <

>
COMPS <

>


Feel free to send feedback on this exercise to Manfred Sailer.

Analysis of simple sentences

Indicate the missing values of the VAL and the HEAD features using tags ([1], ...) or "-" for empty lists.

Alex snored.
syntactic structure: Tree-AlexSnored.jpeg
Words:                                                                                                   Phrase:
Alex                                                             snored                                    S: Alex snored.
HEAD [4]noun                                  HEAD [5]verb                                    HEAD

SUBJ <

>                                  SUBJ <

>                                    SUBJ <

>
SPR   <

>                                  SPR <

>                                     SPR <

>
COMPS <

>                              COMPS <

>                               COMPS <

>



Videos

Meeting 8

For the meeting

Watch:

Homework for meeting 9

Watch the following video (33') on the basic step in a syntactic analysis as we need it in our course.

The next video (14') introduces the way we talk about syntactic trees. Please watch it.


The final video is a more general video (12', produced in 2008) on basic steps in a syntactic analysis. Note, only steps 1-5 apply to our course (i.e. the first 9'30 of the video). Step 6 is based on a different syntactic theory.

Meeting 7

Course content:

Meeting 6

Variable assignment funcion

Task Variable assignment function
Start with the following variable assigment function g: g(u) = Romeo, g(v) = Juliet, g(w) = Romeo, g(x) = Laurence, g(y) = Mercutio, g(z) = Juliet

Provide the changed variable assignment function g[v/Paris].

Check your solutions here:

g[v/Paris](u) = g(u) = Romeo
g[v/Paris](v) = Paris
g[v/Paris](w) = g(w) = Romeo
g[v/Paris](x) = g(x) = Laurence
g[v/Paris](y) = g(y) = Mercutio
g[v/Paris](z) = g(z) = Juliet

Meeting 5

Formulae with one connective

The following video presents the step-by-step computation of the truth value of two formulae with connectives. The example uses a model based on Shakespeare's play Macbeth. The two formulae are:

  • ¬ king(lady-macbeth)
  • king(duncan) ∨ king(lady-macbeth)

Formulae with two connectives

The next video shows how the truth value of a more complex formula can be computed. The example contains two connectives:

kill(malcom,lady-macbeth) ∨ ¬thane(macbeth)

The video shows two different methods: top down and bottom up.

Truth tables

Truth tables are also useful to compute the truth value of complex formulae. This is shown in the following podcast, created by Lisa Günthner.

Meeting 4

Computing the truth value of complex formulae

The following video presents the step-by-step computation of the truth value of two formulae with connectives. The example uses a model based on Shakespeare's play Macbeth. The two formulae are:

  • ¬ king(lady-macbeth)
  • king(duncan) ∨ king(lady-macbeth)

Meeting 3

Computing the truth value of atomic formulae

The following video presents the step-by-step computation of the truth value of two atomic formulae. The example uses a model based on Shakespeare's play Macbeth. The two formulae are:

  • kill2(macbeth,duncan)
  • kill2(lady-macbeth,macbeth)

Meeting 2

Models

The following material is an adapted form of material created by student participants of the project e-Learning Resources for Semantics (e-LRS). Involved participants: Lisa, Marthe, Elisabeth, Isabelle.

Watch a short podcast what first-order models look like.

Based on this podcast, we can define a scenario as follows:

  • Universe: U = {LittleRedRidingHood, Grandmother, Wolf}
  • Properties:
RedHood = { < x> | x wears a read hood } = { <LittleRedRidingHood> }
Female = { <x> | x is female } = { <LittleRedRidingHood>, <Grandmother> }
BigMouth = { <x> | x has a big mouth } = { <Wolf> }
LiveInForest = { < x> | x lives in the forest } = { <Grandmother>, <Wolf>}
  • Relations:
GrandChildOf = { <x,y> | x is y 's grandchild } = { <LittleRedRidingHood,Grandmother > }
AfternoonSnackOf = { <x,y> | x is y 's afternoon snack } = { <LittleRedRidingHood,Wolf > }

From this scenario, we can build a model M = < U, I >

  • Universe: U = {LittleRedRidingHood, Grandmother, Wolf}
  • Name symbols: NAME = {little-red-riding-hood}
    Note: In our model, only one individual has a name.
  • Predicate symbols: PREDICATE = {red-hood1, female1, big-mouth, live-in-forest1, grand-child-of2, afternoon-snack-of2}
  • Interpretation function I:
  • for name symbols: I(little-red-riding-hood) = LittleRedRidingHood
  • for predicate symbols:
I(red-hood1) = RedHood = { < x> | x wears a read hood } = { <LittleRedRidingHood> }
I(female) = Female = { <x> | x is female } = { <LittleRedRidingHood>, <Grandmother> }
I(big-mouth1) = BigMouth = { <x> | x has a big mouth } = { <Wolf> }
I(live-in-forest1) = LiveInForest = { < x> | x lives in the forest } = { <Grandmother>, <Wolf>}
I(grand-child-of2) = GrandChildOf = { <x,y> | x is y 's grandchild } = { <LittleRedRidingHood,Grandmother > }
I(afternoon-snack-of2) = AfternoonSnackOf = { <x,y> | x is y 's afternoon snack } = { <LittleRedRidingHood,Wolf > }

Meeting 1

Video

Challenging phenomena at the syntax-semantics interface

Literary scenario

Howl's moving castle: