LING 581: Advanced Computational Linguistics Lecture Notes February 16th.

Slides:



Advertisements
Similar presentations
Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
Advertisements

Kaplan’s Theory of Indexicals
SEMANTICS.
Guidelines/Grading Rubric Provided by Ms. Wigfall Guidelines for Reader’s Circle Product.
Chapter 5 Semantics The First Week.
How to take your reading to the next level….
LING 364: Introduction to Formal Semantics Lecture 8 February 7th.
LING 581: Advanced Computational Linguistics Lecture Notes April 23rd.
By relieving the brain of all unnecessary work, a good notation sets it free to concentrate on more advanced problems, and, in effect, increases the mental.
CAS LX 502 Semantics 1b. The Truth Ch. 1.
LING 364: Introduction to Formal Semantics Lecture 4 January 24th.
LING 364: Introduction to Formal Semantics Lecture 2 January 17th.
LING 364: Introduction to Formal Semantics Lecture 1 January 12th.
LING1001: Semantics I S.Matthews ‘That’s just semantics’ – George Bush, Senior.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
LING 364: Introduction to Formal Semantics Lecture 3 January 19th.
LING 438/538 Computational Linguistics Sandiway Fong Lecture 17: 10/24.
LING 364: Introduction to Formal Semantics Lecture 5 January 26th.
Meaning and Language Part 1.
Test Taking Tips How to help yourself with multiple choice and short answer questions for reading selections A. Caldwell.
Advanced Research Methodology
Module Code CT1H01NI: Study Skills For Communication Technology Lecture for Week Autumn.
Unit 7 Critical Thinking and Reading Comprehension
Intro to Discrete Structures
STUDY SKILLS.
Tree Kernels for Parsing: (Collins & Duffy, 2001) Advanced Statistical Methods in NLP Ling 572 February 28, 2012.
LING 581: Advanced Computational Linguistics Lecture Notes April 16th.
Please read the instructions before you start the PPT DO’s Brevity in usage of text: Restrict text to bullet points or keyword- headings in slide areas.
LING 388: Language and Computers Sandiway Fong Lecture 3.
Kareem Khalifa Department of Philosophy Middlebury College.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
Battle Bars! Intro to Argumentation. Objectives Students will be able to develop a thesis statement and two paragraphs which support that thesis statement.
Important figurative language to review Personification: giving non human things human characteristics Allusion: reference to something famous Metaphor:
LING 581: Advanced Computational Linguistics Lecture Notes February 19th.
Entity Theories of Meaning. Meaning Talk Theory should make sense of meaning talk Theory should make sense of meaning talk What sorts of things do we.
DayAssigned Reading (Chapters or Pages) Homework Book Club Planner First, look at your book, and find the number of chapters.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
LECTURE 2: SEMANTICS IN LINGUISTICS
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Grammars Grammars can get quite complex, but are essential. Syntax: the form of the text that is valid Semantics: the meaning of the form – Sometimes semantics.
Rules, Movement, Ambiguity
Fall 2015 ECEn 490 Lecture #8 1 Effective Presentations How to communicate effectively with your audience.
Academic Reading ENG 115.
Lecture on Set! And Local CS 2135 Copyright Kathi Fisler, 2002 This material requires Advanced Language Level.
Lecture 1 Ling 442.
Taking Notes in Social Studies Objective: Explicitly assess information and draw conclusions.
Meaning and Language Part 1. Plan We will talk about two different types of meaning, corresponding to two different types of objects: –Lexical Semantics:
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Feb 3 rd.
Introduction to Cornell Notes. Tuesday September 16th DNW: What do you know about Rome? Write in detail what you know or what you would like to know.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Feb 17 th.
Reading Strategies Developing a Plan to Implement Reading Skills.
LING 581: Advanced Computational Linguistics Lecture Notes March 2nd.
LING 581: Advanced Computational Linguistics
Knowledge and reasoning – second part
Language, Logic, and Meaning
LING 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING 581: Advanced Computational Linguistics
LING 581: Advanced Computational Linguistics
Logics for Data and Knowledge Representation
LING/C SC 581: Advanced Computational Linguistics
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Displaying Numerical Data Using Box Plots
How to complete a Critical Reading successfully!
Knowledge and reasoning – second part
Getting Around Non-Fiction like
LING/C SC 581: Advanced Computational Linguistics
Software Testing.
Presentation transcript:

LING 581: Advanced Computational Linguistics Lecture Notes February 16th

Administrivia Homework presentations today A related experiment … New topic: computational semantics

Homework – WSJ corpus: sections 00 through 24 – Training: normally (20 sections) concatenate mrg files as input to Bikel Collins train training is fast – Evaluation: on section 23 use tsurgeon to get data ready for EVALB use Bikel Collins parse repeatedly on wsj-23.lsp sentences, parsing is slow – Question: How does the Bikel Collins vary in precision and recall? if you randomly pick 1, 2, 3 up to 20 sections to do the training with… – Use EVALB plot precision and recall graphs

Perl Code Generate training data

Training Data

An experiment

Parsing Data All 5! (=120) permutations of – colorless green ideas sleep furiously.

Parsing Data The winning sentence was: ①Furiously ideas sleep colorless green. after training on sections (approx. 40,000 sentences) sleep takes ADJP object with two heads adverb (RB) furiously modifies noun sleep takes ADJP object with two heads adverb (RB) furiously modifies noun

Parsing Data The next two highest scoring permutations were: ②Furiously green ideas sleep colorless. ③Green ideas sleep furiously colorless. sleep takes NP objectsleep takes ADJP object

Parsing Data (Pereira 2002) compared Chomsky’s original minimal pair: 23.colorless green ideas sleep furiously 36.furiously sleep ideas green colorless Ranked #23 and #36 respectively out of 120

Parsing Data But … graph (next slide) shows how arbitrary these rankings are: – furiously sleep ideas green colorless Vastly outranks – colorless green ideas sleep furiously (and the top 3 sentences) when trained on randomly chosen sections covering 14,188 to 31,616 WSJ PTB sentences

Rank of Best Parse for Sentence Permutation Sentence

Rank of Best Parse for Sentence Permutation Note also that: 23.colorless green ideas sleep furiously totally outranks the top 3 (and #36) just briefly on one data point (when trained on sentences)

New Topic Computational Semantics (Portner 2005), an intro book titled What is meaning?, asks on page 1 – Why formalize? can construct precise theories precise theories are better – “they don’t allow the theorists to fudge the data quite so easily as less precise theories do” – Why implement?

Formalization Challenge: – we all understand the argument made on the previous page? – How do we formalize it? – Why formalize? can construct precise theories precise theories are better – “they don’t allow the theorists to fudge the data quite so easily as less precise theories do”

Implementation We can implement in Prolog, see next time … (Make sure you have SWI Prolog up and running for next time) – free download from

Simple past vs. present perfect – (1) Mary received the most votes in the election – (2) Mary has received the most votes in the election – (so) Mary will be the next president Idea – (1) reports a past event – (2) reports a past event and a current “result” – present perfect expectation... (entailment)

Simple past vs. present perfect – (3) Will Mary be able to finish Dos Passos’ USA trilogy by the next club meeting? It’s so long! – Well, she has read Remembrance of Things Past, and its even longer – what’s a “result” here? expectation... (entailment) Mary has read a really long book before and therefore...

Meaning What is a Meaning? – difficult sometimes to pin down precisely – by reference to other words – foreign language: 犬 (inu) = “dog”

Meaning What is a Meaning? Example: – important – Merriam-Webster (sense 1): marked by or indicative of significant worth or consequence : valuable in content or relationship

Question What is a Meaning? Example: – important – Thesaurus – Text: 1 having great meaning or lasting effect – – Synonyms big, consequential, eventful, major, material, meaningful, momentous, significant, substantial, weighty – Related Words decisive, fatal, fateful, strategic; earnest, grave, serious, sincere; distinctive, exceptional, impressive, outstanding, prominent, remarkable; valuable, worthwhile, worthy; distinguished, eminent, great, illustrious, preeminent, prestigious; famous, notorious, renowned; all- important, critical, crucial

Question What is a Meaning? Meaning = Concept (or thought or idea) – “dog” maps to DOG – maps to Problems – need to provide a concept for every meaningful piece of language – how about expressions “whatever”, “three” – need to map different expressions into same concept – Externalization? Putnam’s twin earth experiment (H 2 O vs. XYZ) – DOG a shared concept?

Question What is a Meaning? Meaning = Concept (or thought or idea) – twin earth experiment – same except H2O = XYZ – “water” refers to H2O – “water” refers to XYZ – identical twins on the two earths don’t mean the same thing by the word “water”

Question What is a Meaning? Meaning = Concept (or thought or idea) Skip the “Meaning = Concept” definition reason the word “dog” means the same thing for you and me – not that we have the same mental constructs relating to the word – it’s because of our intention to apply the word “dog” to the same things out there in our environment

Truth Conditions – The circle is inside the square Can draw a picture of scenarios for which the statement is true and the statement is false truth-conditions different from truth-value

Truth Conditions – The circle is inside the square Proposition expressed by a sentence is its truth-conditions i.e. sets of possible worlds (aka situations)

Truth Conditions – The circle is inside the square and the circle is dark – and = set intersection – Mary is a student and a baseball fan

Truth Conditions – Mary and John bought a book – and = set intersection ? are Mary and John sets? how about “and = set union”?

Truth Conditions – The square is bigger than the circle – The circle is smaller than the square – Given these two sentences, evaluate Synonymous – (what does this mean wrt truth conditions?) Contrary Entailment Tautology

Practice 1. Does sleep entail snore? 2. Does snore presuppose sleep? 3. Given the statement “All crows are black”, give an example of a sentence expressing a tautology involving this statement?