Skip to main content

FNLP - top navigation

  • Learn
  • Piazza
  • DRPS

Breadcrumb

  1. Home
  2. FNLP: Foundations of Natural Language Processing
  3. FNLP: Course Materials
  4. FNLP: Week 6: More Parsing and Compositional Semantics

FNLP: 18: Compositional Semantics

This folder introduces you to  compositional semantics.   Compositional semantics is a method for deriving the logical form of a sentence from its syntax tree.  That logical form is designed to support automated inference: it focusses on the meaning of words that contribute to the validity of logical arguments (rather than commonsense inference): words like "not", "every" "some".  It exploits the principle of compositionality to derive these formal meaning representations from linguistic syntax, by augmenting each rule in the grammar with a syntactic component that tells you how to combine the meanings of the daugther nodes into the meaning of the mother node.  This folder consists of:

  • three videos of short lectures. They cover:
    1. Introduction to Semantics
    2. Formal Semantic Representations: Some first steps
    3. Compositional semantics: Technical details
  • some required reading from Jurafsky and Martin
  • a quiz that tests your understanding of the material presented here.
Please do the required reading, and attempt the quiz.  If there is anything you don't understand, then please ask questions in the lecture or on piazza.

Lecture 18 Slides: Whole!

  • 18_slides.pdf
18a: Introduction to Semantics
  • Slides: 18a_slides.pdf


18b: Formal Semantic Representations: Some first steps
  • Slides: 18b_slides.pdf


18c: Compositional Semantics: Technical details
  • Slides:  18c_slides.pdf


Recommended Reading

J&M chapter 19 (2nd edition chapter 17) and J&M 2nd edition 18.1--18.3.

NOTE: The abbreviation J&M refers to the textbook:  
Dan Jurafsky and James H. Martin, Speech and Language Processing.

When we specify 2nd edition, we are referring to the version of the book that was published by Pearson International in 2008.

When we specify 3rd edition, then we will supply links to the drafts of the relevant parts of that book (since the third editiion isn't published yet, but the current draft is available here).

Quiz: Compositional Semantics

These questions are designed to test your understanding of the above course content; doing this quiz does not contribute to your overall grade.  Some questions require a text answer.  You can ask for formative feedback on these from your tutor or on piazza.  Other questions are multiple choice or they require a numeric answer: you will get immediate feedback for these. Please don't attempt this quiz until you have acquainted yourself with this lecture and the required reading.

You must be logged onto Learn to do this quiz.

License
All rights reserved The University of Edinburgh

Book traversal links for FNLP: 18: Compositional Semantics

  • FNLP: 17: Dependency Parsing
  • Up
  • FNLP: Week 7: Discourse Semantics and Lexical Semantics

Navigation links

  • FNLP: Resource List
  • FNLP: Assessment
  • FNLP: Course Materials
    • FNLP: Week 1: Overview, Ambiguity and Corpora
    • FNLP: Week 2: Annotation, Evaluation and Language Models
    • FNLP: Week 3: Important ML techniques for NLP
    • FNLP: Week 4: More ML methods, Morphology and POS tagging
    • FNLP: Week 5: POS Tagging, Context Free Grammars and Parsing
    • FNLP: Week 6: More Parsing and Compositional Semantics
      • FNLP: 16: Beyond Vanilla Treebank Probabilistic Context Free Grammars
      • FNLP: 17: Dependency Parsing
      • FNLP: 18: Compositional Semantics
    • FNLP: Week 7: Discourse Semantics and Lexical Semantics
    • FNLP: Week 8: Deep Learning for NLP
    • FNLP: Week 9: Neural Text Generation
    • FNLP Week 10: Transfer learning, Revision and Q&A
  • FNLP: Lab Exercises
  • FNLP: Tutorial Exercises
RSS feed

Opencourse privacy & accessibility statements; contact Informatics, ILTS.