Semantics and Time in Language MAS.S60 Rob Speer Catherine Havasi Some slides: James Pustejovsky.

Slides:



Advertisements
Similar presentations
Dave McComb Semantic Arts Semantic Technology Conference June 1x, 2009.
Advertisements

NRRC Summer ‘02 Workshop Proposal Temporal December 5, 2001 MITRE James Pustejovsky, Brandeis with input from: James Allan, UMASS Inderjeet Mani, MITRE.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Feature Structures and Unification.
Semantics (Representing Meaning)
Modals.
Action and Linking Verbs
Semantics in NLP (part 2) MAS.S60 Rob Speer Catherine Havasi * Lots of slides borrowed for lots of sources! See end.
LTAG Semantics on the Derivation Tree Presented by Maria I. Tchalakova.
1 Words and the Lexicon September 10th 2009 Lecture #3.
NLP and Speech 2004 Feature Structures Feature Structures and Unification.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Word Classes and English Grammar.
Temporal Reasoning in Natural Language Processing Andrew Gibbs November 16 th, 2004.
NLP and Speech 2004 English Grammar
Parsing SLP Chapter 13. 7/2/2015 Speech and Language Processing - Jurafsky and Martin 2 Outline  Parsing with CFGs  Bottom-up, top-down  CKY parsing.
TimeBank Status Status of TimeML annotation for the ULA project James Pustejovsky and Marc Verhagen Brandeis University.
Linking your Writing Together Writing & Structure 4 Fall 2007.
Stochastic POS tagging Stochastic taggers choose tags that result in the highest probability: P(word | tag) * P(tag | previous n tags) Stochastic taggers.
Semi-automatic Annotation of the Romanian TimeBank 1.2 CALP07 RANLP 1 Semi-automatic Annotation of the Romanian TimeBank 1.2 Corina Forăscu,
An LSCC Learning Center Self-Paced Tutorial
Problem Solving Created by Mr. Hemmert.
Verb Tense Review.
To the Community Language Program Intermediate Level 3! Instructor: Tina Song.
SI485i : NLP Set 9 Advanced PCFGs Some slides from Chris Manning.
ACTION VERBS By Katsi Powless ETCV 411 Language Arts Grade 3.
Temporal Reasoning Intro to TimeML cs112 October, 2004.
Please open Daily Quiz 34. A scientific calculator may be used on this quiz. You can keep your yellow formula sheets out when you take the quiz. Remember.
Transitivity / Intransitivity Lecture 7. (IN)TRANSITIVITY is a category of the VERB Verbs which require an OBJECT are called TRANSITIVE verbs. My son.
Action & Linking Verbs What is an ACTION VERB? A verb is one of the most important parts of the sentence. It tells the subjects actions, events, or state.
STS: Temporal and Spatial Constraints on Text Similarity James Pustejovsky Brandeis University March 13, 2012.
ASPECTS OF LINGUISTIC COMPETENCE 4 SEPT 09, 2013 – DAY 6 Brain & Language LING NSCI Harry Howard Tulane University.
Understanding and Falling in Love with Prepositional Phrases.
Coordinating Conjunctions A coordinating conjunction, also called a coordinator, links parts of a sentence with the same status. This could be two independent.
Conditional Grammar, Part 1: “Real Conditionals” Let’s study the rules for this week’s grammar.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 13, Feb 16, 2007.
©2003 Paula Matuszek CSC 9010: Information Extraction Dr. Paula Matuszek (610) Fall, 2003.
Test 2 Review The test will consist of 3 sections. Section 1 is vocabulary matching. Section 2 is a Rate Per 100 problem. Section 3 is a Unit Rate Problem.
Time, Tense and Aspect Rajat Kumar Mohanty Centre For Indian Language Technology Department of Computer Science and Engineering Indian.
Artificial Intelligence Chapter 18. Representing Commonsense Knowledge.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 4.
Ideas for 100K Word Data Set for Human and Machine Learning Lori Levin Alon Lavie Jaime Carbonell Language Technologies Institute Carnegie Mellon University.
Splitting Complex Temporal Questions for Question Answering systems ACL 2004.
TimeML compliant text analysis for Temporal Reasoning Branimir Boguraev and Rie Kubota Ando.
Business English Conversation and Listening Instructor: Hsin-Hsin Cindy Lee, PhD.
SIMPLE PAST TENSE PAST PROGRESSIVE FUTURE PROGRESSIVE PERFECT ASPECT.
Walking the Line Activity. How can we model 3 x 2 using a number line?
Writing Equations to solve Word Problems. One way to solve word problems is to look for key words to help you write an equation. You must decide what.
SYNTAX 1 NOV 9, 2015 – DAY 31 Brain & Language LING NSCI Fall 2015.
1 Some English Constructions Transformational Framework October 2, 2012 Lecture 7.
Present Perfect.
VERB TENSES KRISTINE GLORY DR. MENDILLO, RN. PRESENT PERFECT PROGRESSIVE TENSE The present perfect progressive (continuous) is actually easier to understand.
FUTURE PERFECT TENSE.
Thursday, September 16, Announcements Movie night, Friday September 25, at 6:00 pm. Bring your family and friends. There will be vocabulary review.
Clauses. Every clause is either independent or subordinate (dependent) An independent (or main) clause has a subject and a verb and expresses a complete.
Using Tag Questions Using Tag Questions. She's very beautiful, isn't she?
Day 7 Action Verbs and Informational Text Elements.
A Database of Narrative Schemas A 2010 paper by Nathaniel Chambers and Dan Jurafsky Presentation by Julia Kelly.
Week 2 - Friday.  What did we talk about last time?  Predicate logic  Negation  Multiple quantifiers.
Lets eat the same porridge with a new taste. I have threads with me but, do not know how to knit the fabric !!!
Week 3. Clauses and Trees English Syntax. Trees and constituency A sentence has a hierarchical structure Constituents can have constituents of their own.
King Faisal University جامعة الملك فيصل Deanship of E-Learning and Distance Education عمادة التعلم الإلكتروني والتعليم عن بعد [ ] 1 King Faisal University.
Descriptive Grammar – 2S, 2016 Mrs. Belén Berríos Droguett
Or What You Need to Know to Survive Latin I
Semantics (Representing Meaning)
Language, Logic, and Meaning
Part I: Basics and Constituency
Probabilistic and Lexicalized Parsing
By.Emilia.
SemEval && TempQuestion
Test 2 Review The test will consist of 3 sections.
Structure of a Lexicon Debasri Chakrabarti 13-May-19.
Presentation transcript:

Semantics and Time in Language MAS.S60 Rob Speer Catherine Havasi Some slides: James Pustejovsky

Lexical semantics We’ve been trying to make word meanings into a functional programming language Applying functions to each other, up the parse tree, gives us a logic expression in the end But how do we figure out crazy functions like: \X \y. X(\x. chase(y, x))

Being an un-parser Work backwards from the result you want Un-parse your way down the parse tree

“A dog barks.” A dog barks. exists x. (dog(x) & bark(x))

“A dog barks.” A dog barks. exists x. (dog(x) & bark(x)) (A dog) (barks) A dog: barks:

“A dog barks.” A dog barks. exists x. (dog(x) & bark(x)) (A dog) (barks) A dog: \P. exists x. (dog(x) & P(x)) barks: \z. bark(z)

“A dog barks.” A dog barks. exists x. (dog(x) & bark(x)) (A dog) (barks) A dog: \P. exists x. (dog(x) & P(x)) barks: \z. bark(z) (A(dog)) (barks) A: dog:

“A dog barks.” A dog barks. exists x. (dog(x) & bark(x)) (A dog) (barks) A dog: \P. exists x. (dog(x) & P(x)) barks: \z. bark(z) (A(dog)) (barks) A: \Q. \P. exists x. (Q(x) & P(x)) dog: \z. dog(z)

Lexical items we learned A: \Q. \P. exists x. (Q(x) & P(x)) dog: \z. dog(z) barks: \z. bark(z)

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x))

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x)) Angus(chases a dog) chases a dog: \y. exists x. (dog(x) & chase(y, x) a dog: \P. exists x. (dog(x) & P(x)) from earlier slides

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x)) Angus(chases a dog) chases a dog: \y. exists x. (dog(x) & chase(y, x) a dog: \P. exists x. (dog(x) & P(x)) from earlier slides (chases) (a dog) Let’s try to make something like this: (\P. exists x. (dog(x) & P(x)) (\z. chase(y, z))

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x)) Angus(chases a dog) chases a dog: \y. exists x. (dog(x) & chase(y, x) a dog: \P. exists x. (dog(x) & P(x)) from earlier slides (chases) (a dog) Let’s try to make something like this: (\P. exists x. (dog(x) & P(x)) (\z. chase(y, z))

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x)) Angus(chases a dog) chases a dog: \y. exists x. (dog(x) & chase(y, x) a dog: \P. exists x. (dog(x) & P(x)) from earlier slides (chases) (a dog) Let’s try to make something like this: (\P. exists x. (dog(x) & P(x)) (\z. chase(y, z)) chases: \y. doSomethingWith(\z. chase(y, z))

“Angus chases a dog.” Angus chases a dog: exists x. (dog(x) & chase(Angus, x)) Angus(chases a dog) chases a dog: \y. exists x. (dog(x) & chase(y, x) a dog: \P. exists x. (dog(x) & P(x)) from earlier slides (chases) (a dog) Let’s try to make something like this: (\P. exists x. (dog(x) & P(x)) (\z. chase(y, z)) chases: \X. \y. X(\z. chase(y, z))

Your turn We add a feature grammar rule that allows for ditransitive (two-object) verbs: VP[SEM= ] -> DTV[SEM=?v] NP[SEM=?obj] PP[+TO,SEM=?pp] What are the semantics of a DTV?

High-level overview of C&C Parses using a Combinatorial Categorial Grammar (CCG) – fancier than a CFG – includes multiple kinds of “slash rules” for gaps and fillers – lots of grad student time spent transforming Treebank

High-level overview of C&C MaxEnt “supertagger” tags each word with a semantic value Possible semantic values for verbs determined by VerbNet

High-level overview of C&C Combine the resulting semantic “tags” Find the highest-probability result with coherent semantics Doesn’t this create billions of parses that need to be checked?

High-level overview of C&C Find the highest-probability result with coherent semantics Doesn’t this create millions of parses that need to be checked? Yes. A typical sentence uses 25 GB of RAM to find the best parse. That’s where the Beowulf cluster comes in.

Questions about time? The Pierre Vinken example Events in FrameNet Question answering

Time in Q&A When are finals this semester? Who is currently president of the United States? How many different airports has Pittsburgh had? How many classes have we had since January? When did the Berlin wall fall?

Difficulties More than 66% of times in documents are relative Only 15% of documents refer to the “date of creation” (DOC) 42% percent of the uses of the word “today” are non-specific

James Allen Created a temporal logic 13 basic relations – 6 types, their inverses and equal

Allen’s Relations

Types of Information Properties – Hold over an interval and all subintervals – “Rob was asleep all morning.” Events – Hold over a interval and no sub events – “Lance wrote a program last night.” Processes – Hold over some sub intervals – “Brett demoed during sponsor week.”

What is TimeML? (ISO) Standard language for the mark-up of: – temporal expressions – events – temporal anchoring of events (relations between events and temporal expressions) – temporal ordering of events (relations between events and other events)

Labeling What? Events are taken to be situations that occur or happen, punctual or lasting for a period of time. Times may be either points, intervals, or durations. Relations can hold between events and events and times.

An example “ Two Russians and a Frenchman left the Mir and endured a rough landing on the snow- covered plains of Central Asia on Thursday. The two Russians arrived on the Mir last August. Solovyou celebrated his 50th birthday during his six-month space voyage. ”

An example “ Two Russians and a Frenchman left the Mir and endured a rough landing on the snow- covered plains of Central Asia on Thursday. The two Russians arrived on the Mir last August. Solovyou celebrated his 50th birthday during his six-month space voyage. ”

Events and Relations Event expressions; – tensed verbs; has left, was captured, will resign; – stative adjectives; sunken, stalled, on board; – Nominals: merger, Military Operation, Gulf War; Dependencies between events and times: – Anchoring; John left on Monday. – Orderings; The party happened after midnight. – Embedding; John said Mary left.

LINKs Temporal: TLINK It represents the temporal relationship holding between events or between an event and a timex: Mary arrived in Boston last Thursday. Aspectual: ALINK It represent the relationship between an aspectual event and its argument event. She finished assembling the table. Subordination: SLINK It is used for contexts introducing relations between an I- ACTION/I-STATE event and its event argument, or an event and a negation or modal : She tried to buy some wine.

TARSQI Add and tag time expressions in text TempEx (MITRE) – Determines extents and nomalizations GUTime (Brandeis) – Ground things like “last week” Evita (Brandeis) – Recognize events in time

TARSQI GUTenLink (Georgetown) – Temporal Tagger Slinket (Brandeis) – Event logging SputLink – Based on James Allen’s time logic

Open a Document

Processed Document

Results

Making a timeline