74.406 Natural Language Processing Semantics 0 Flakey.

Slides:



Advertisements
Similar presentations
SWG Strategy (C) Copyright IBM Corp. 2006, All Rights Reserved. P4 Task 2 Fact Extraction using a CNL Current Status David Mott, Dave Braines, ETS,
Advertisements

Predicate Nouns and Predicate Adjectives
14 th meeting. On behalf of Company I would like to welcome you here today. My name is Max Mustermann and I am the CFO of Global Travel. Hi, I'm Max and.
Module 4 Lesson 1.
Overview of Parts of Speech
( grammar file 004 ) Hello, Wero. Why are you sad? Hello, Snakey. Because of my homework. What is your homework about? It’s about prepositions.
Eric Cohen Books Eilat1 Student's Can Right If You Give Them a Chance Write.
1 CS 385 Fall 2006 Chapter 14 Understanding Natural Language Problems.
Artificial Intelligence Flakey A Communicating Agent.
 Christel Kemke 2007/08 COMP 4060 Natural Language Processing Flakey A Communicating Agent.
Flakey - Example  Flakey as Communicating Agent  Case Frame Representation  Concrete and Generic Actions  Effects of Actions  Inference / Reasoning.
Project-Options 1.Fridge 2.Workbench with Toolbox 3.Playschool.
Natural Language Processing AI - Weeks 19 & 20 Natural Language Processing Lee McCluskey, room 2/07
Artificial Intelligence Flakey A Communicating Agent.
Artificial Intelligence 2005/06 Features, Gaps, Movement Questions and Passives.
Natural Language Query Interface Mostafa Karkache & Bryce Wenninger.
Writing Simple Sentences
Nouns, Pronouns, Verbs: Review
Understanding Basics Computer Concepts Unit A.
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing INTRODUCTION Muhammed Al-Mulhem March 1, 2009.
Nouns, Pronouns, Verbs: Review Working with the parts of speech.
Grammar Rules. Pronouns 1.Use as a S, DO, PN, or IO 2.Personal pronouns may be adjectives 3.Relative pronouns may introduce adjective clauses.
Verbals and Verbal Phrases
Functions of a Noun A noun is a person, place, thing or idea. A noun can be found in any part of a sentence. The function of a noun will vary depending.
Natural Language Sections What the Speaker Speaks §Intention l S wants H to believe P §Generation l S chooses the words, W to convey the.
The building blocks of grammar.  Proper – names a particular noun and is capitalized Westford Academy, Ms. Keirstead  Common – names any one of a group.
Grammar Unit II: Pronouns Lesson 1 Personal Pronouns (Pronouns that are friendly!)
Transition Network Grammars for Natural Language Analysis - W. A. Woods In-Su Yoon Pusan National University School of Electrical and Computer Engineering.
Artificial Intelligence: Natural Language
Culture , Language and Communication
Devina DesaiF r a m e P r o b l e m What is a Frame Problem Environment for an agent is not static Identifying which things remain static in changing word.
Grammar Notes Honors English 9.  Sentence: a group of words that contains a subject and its predicate, and makes a complete thought. ◦ To say anything.
The man bites the dog man bites the dog bites the dog the dog dog Parse Tree NP A N the man bites the dog V N NP S VP A 1. Sentence  noun-phrase verb-phrase.
The FRAME Routine Key Topic is about… So What? (What’s important to understand about this?) Main idea.
Learning to Share Meaning in a Multi-Agent System (Part I) Ganesh Padmanabhan.
Can’t We All Just Get Along??? Subject Verb Agreement.
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
1 © 2005, Daniel Schwabe. Vinicius Almendra – SWPW – ISWC05 Real-world trust policies Vinicius Almendra Daniel Schwabe Dept. of Informatics, PUC-Rio ISWC’05.
Eng II. any head noun and the articles and adjectives that modify that noun. Head nouns are the main nouns of phrases. (Sometimes it is easiest to find.
How was your holiday? Tell your partner!!!!! What did you do? Where did you go? Did you... ?
The Transformation.  Gardening is my favorite hobby. (Gardening is normally a verb, but here it is the name of an activity.) Gardening in the summertime.
 An indirect object precedes the direct object and tells to whom or for whom the action of the verb is done and who is receiving the direct object. There.
Gerunds and Infinitives I By Thyarlls and Awais. - Ing : Progressive verbs: “I am talking to you right now” Adjective: “My friend Georgia is an interesting.
Parts of Speech By: Miaya Nischelle Sample. NOUN A noun is a person place or thing.
GRAMMAR REVIEW OF FIRST SEMESTER
Grammar for Parents 20th October 2016 Welcome! Questions are welcome…
SUBJECT-VERB AGREEMENT
Daily Grammar Practice Week One Grade 8
Proper use of Affect and Effect
Bringing English Together
Propositional Logic Session 3
Noun Clauses MAT 601 May 18, 2007.
GRAMMAR REVIEW.
DGP – Sentence 1 Sentence Parts.
Dangling modifiers.
Prepositional Phrases
Prepositional Phrases
The boy plays in the garden Nouns in the sentence In a sentence, the nouns are used as the subject of the sentence The boy plays in the.
Infinitive Phrases.
QUESTION NOUN CLAUSES.
By Kareem Rida Group 1 / 10-B
SUBJECT-VERB AGREEMENT
Daily Grammar Practice Week One Grade 8
PREPOSITIONAL PHRASES
GRAMMAR REVIEW.
Some thing about Nouns in WordNet
Social Practice of the language: Describe and share information
English for Business Presentation (Let’s Get started)
Direct Object, Indirect Object, Object Complement
Using Correct Language
Presentation transcript:

Natural Language Processing Semantics 0 Flakey

Semantics How it should not be.

My Chat with A.L.I.C.E. Human: hello. ALICE: Hi there! Human: how are you? ALICE: I am functioning within normal parameters. Human: good. ALICE: What do you really want to talk about? Human: about you. ALICE: Me? Human: yes. ALICE: Aw.

Human: how are you? ALICE: Everything is going extremely well. Human: good. ALICE: Thanks for the compliment. Human: do you have a grammar? ALICE: Doesn't everyone have a grammar. I have a lot of friends on the Internet. Human: what friends? ALICE: Are you using Netscape or Explorer? Human: feature structures. ALICE: Do you have any conditions I should know about?

Web References repository/ai/areas/classics/eliza/0.htmlhttp:// /afs/cs/project/ai- repository/ai/areas/classics/eliza/0.html

Semantics How it could be.

Flakey - Example  Flakey as Communicating Agent  Case Frame Representation  Concrete and Generic Actions  Effects of Actions  Inference / Reasoning  Two Types of Questions

"Flakey, bring this file to Karen." listener verb determiner noun preposition noun V NP PP NounPhrase Prepos. Phrase head direct object indirect object agent action patiens recipient Flakey as Communicating Agent

Case Frames for Representing NL "Flakey, bring this file to Karen.” verb NounPhrase PPhrase head direct object indirect object case frame action: bringheadverb patiens: this filedirect object recipient: to Karen indirect object manner: now modifier- added-

Mapping Case Frames to Actions case frame agent:Flakey action: bringhead patiens: this filedirect object recip.: to Karen indirect object robot action precondition: have (Flakey, file1) action: bring (Flakey, file1, Karen) effect: not (have (Flakey, file1)) and have (Karen, file1)

Concrete and Generic Actions I robot concrete action (instance of action) precondition: have (Flakey, file1) action: bring (Flakey, file1, Karen) effect: not (have (Flakey, file1)) and have (Karen, file1) robot generic action (concept in KB) precondition: have (agent, object) action: bring (agent, object, recipient) effect: not (have (agent, object)) and (have (recipient, object))

Concrete and Generic Actions II generic action: bring (agent, object, recipient) precondition: have (agent, object) effect: not (have (agent, object)) and (have (recipient, object)) instance of action: bring (Flakey, file1, Karen) precondition: have (Flakey, file1) effect: not (have (Flakey, file1)) and have (Karen, file1) You may add objects as features to action-frame.

Effects of Actions instance of action: bring (Flakey, file1, Karen) precondition: have (Flakey, file1) effect: not (have (Flakey, file1)) and have (Karen, file1) effect of this action delete from KB have (Flakey, file1) add to KB have (Karen, file1) preconditions and effects are formulae describing world states, related to the‘dynamic KB’.

Flakey - Reasoning, Inference Integrate General Rules (Proper Axioms; Theory) Axiom  x  y  loc: (have(x,y)  (at(x,loc)  at(y,loc))) Reasoning / Inference have (Flakey, object)  at (Flakey, here)  at (object, here)

Flakey - Question Answering I “Flakey, where did you bring the file.” case frame action: bring patiens: file1 destination: ? Compare to stored case frames: case frame action: bring patiens: file1 destination: Karen Conclusion and answer: “I brought the file to Karen.”

Flakey - Question Answering II Q: “Flakey, where is the file.” case frame action/status: is subject: the fileidentify with file1 location: ? refers to loc of file1 Access dynamic KB (world state) Stored from effect of bring-action or pre-stored:... at (file1, Karen),... have (Karen, file1),... A: “The file is at Karen.” or "Karen has the file."