NLP Pragmatics1 Pragmatics How do we use language to communicate? Dave Inman.

Slides:



Advertisements
Similar presentations
CVs & Telephone Skills Top Tips to remember …
Advertisements

Use-Cases.
Chapter 10.  Why is the teacher sad?  She is hungry ! 100%  She must be hungry ! 95%  She may be hungry > 50% or less  She might be hungry  She.
Section 22.1.
Conversational Implicature (Based on Paltridge, chapter 3)
Language and communication What is language? How do we communicate? Pragmatic principles Common ground.
Roleplaying. Grandma & Money You are 25. You want to borrow 360,000 kuai from your rich grandmother to start a business. You have not seen her in 3 years.
CAS LX 502 Semantics 10b. Presuppositions, take
1 MODULE 2 Meaning and discourse in English COOPERATION, POLITENESS AND FACE Lecture 14.
A fundamental problem for understanding language
Knowledge Representation.  What is Knowledge Representation What is Knowledge Representation  Type of knowledge in AI Type of knowledge in AI  Declarative.
Section 3 Systems of Professional Learning Module 1 Grades 6–12: Focus on Practice Standards.
North Carolina Alcohol Law Enforcement BARS Program BARSS BARS Be A Responsible Seller/Server (BARS) Training Program North Carolina Alcohol Law Enforcement.
Case-based Reasoning System (CBR)
PSY 369: Psycholinguistics Some basic linguistic theory part3.
Guidelines to Publishing in IO Journals: A US perspective Lois Tetrick, Editor Journal of Occupational Health Psychology.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Check It Out 1. 2 Introductions Instructor and student introductions Module overview.
1 English for the Hotel Business Unit 7: Customer Care LA2401.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
Maths Counts Insights into Lesson Study 1. Tim Page and Joanne McBreen Transition Year or Senior Cycle Introducing Tolerance and Error (Leaving cert.
WRITING EFFECTIVE S. Before writing the Make a plan! Think about the purpose of the Think about the person who will read the and.
How Do I Find a Job to Apply to?
Pre-registration, and Industrial Training Rules, Regulation, Guidelines FICT-PK (May 2010) (Special Briefing)
How and Why to Use the ERS. Emergency Response System  This is a free service that we provide for our clients.  When they die, the ERS will contact.
Math Log #2 Student A, B, and C(ordered from left to right) are walking down the hall and get stopped by administration. Which student(s) will receive.
CC Presentation Guidelines. Introduction Communicate thoughts and ideas effectively using various tools and media Presentation skills important.
HCC class lecture 27 comments John Canny 5/2/05. Administrivia.
CAS LX 502 8b. Formal semantics A fragment of English.
Unit 2 A Flat World.  Objectives Objectives  FocusFocus  Warming up Warming up  7.1 Asking people to do things 7.1 Asking people to do things  7.2.
Philosophy 4610 Philosophy of Mind Week 9: AI in the Real World.
Overview of Discourse Analysis 1. Pragmatics and Politeness Theory ( ) 2. Ethnography of Speaking ( ) 3. Interactional Sociolinguistics ( )
C ONTEXT AND CULTURE. D O YOU REMEMBER THIS ? Hymes suggests that in order to be able to communicate language, a person should acquire four types of knowledge:
The cooperative Principle
Artificial Intelligence: Natural Language
Pragmatics.
Pragmatics 1 Ling400. What is pragmatics? Pragmatics is the study of language use.Pragmatics is the study of language use. Intuitive understanding of.
Unit 1: Communications. Telephone Skills at Work To use your telephone effectively, you need to manage its use. Once you are using the telephone you need.
Brands and Business Goals. National Brand Logos What company do you think of when you see “golden arches”? What company do you think of when you see “golden.
ACE TESOL Diploma Program – London Language Institute OBJECTIVES You will understand: 1. The terminology and concepts of semantics, pragmatics and discourse.
Presentation about pragmatic concepts Implicatures Presuppositions
CONDITIONAL SENTENCES
TTI Performance Evaluation Training. Agenda F Brief Introduction of Performance Management Model F TTI Annual Performance Review Online Module.
Table etiquette is the courtesy shown by using good manners at meals Good table manners help put you at ease in social situations Many business transactions.
Unit 21 Speaking. Think … When and where do people use more body languages than spoken language ? Direct the traffic Judges of sports Ask for help in.
1 UNIT-3 KNOWLEDGE REPRESENTATION. 2 Agents that reason logically(Logical agents) A Knowledge based Agent The Wumpus world environment Representation,
Dialogue Modeling 2. Indirect Requests “Can I have a cup of coffee?”  One approach to dealing with these kinds of requests is by plan-based inference.
EXAMINERS’ COMMENTS RAPHAEL’S LONG TURN GRAMMAR Accurate use of simple grammatical structures and also of some complex sentences: ‘they could also be preparing.
MODAL VERBS MODAL VERBS.
General exam advice Do not write too much on ‘give’, ‘outline’, ‘identify’ or ‘state’ questions as you WILL run out of time. E.g. a three mark question.
BBI 2O Name:. With a partner discuss each of the following terms and what they mean to you. Then write IN YOUR OWN WORDS the definitions in the following.
International English Language Testing System (IELTS) Listening WritingSpeaking.
SPSS For a Beginner CHAR By Adebisi A. Abdullateef
MODULE 2 Meaning and discourse in English
From Micro-Worlds to Knowledge Representation : AI at an Impasse Hubert L. Dreyfus 15. Oct Presented by BoYun Eom.
name of trainer associate trainer | sparqs
CONDITIONAL SENTENCES
Unit 3 General exam advice
Discourse and Pragmatics
CONDITIONAL SENTENCES
Nofsinger. R., Everyday Conversation, Sage, 1991
Pragmatics.
Pragmatics Predmetni nastavnik: doc. dr Valentna Boskovic Markovic
name of trainer associate trainer | sparqs
CONDITIONAL SENTENCES
Landing a job after VISTA
Nofsinger. R., Everyday Conversation, Sage, 1991
Preparing students for assessments Janet Strain Ann Jakeman
This is a template for a presentation that you can use to introduce your team to Harvest. You can customize the content of the slides. You’ll want to pay.
Presentation transcript:

NLP Pragmatics1 Pragmatics How do we use language to communicate? Dave Inman

NLP Pragmatics2 Outline 1. Introduction 2. Goals and plans 3. Example of a "primitive plot" plan 4. Frames and scripts 5. A "dog" frame 6. A "restaurant script" 7. Presuppositions 8. Rules of discourse 9. Why don't these work?

NLP Pragmatics3 1.Introduction This talk looks at what knowledge we use in everyday discourse, and how we might use this to help a computer understand natural language. The kinds of knowledge we will consider here are: Goals and plans Frames and scripts Presuppositions Rules of discourse Grice's maxims

NLP Pragmatics4 1.Introduction - Goals and plans e.g. dialogue analysis If we know what the goal of communication is, or the plan of the communicator, we should be able to limit the range of possible interpretations. If an requests a meeting, the reply should accept, change or deny the request, for example.

NLP Pragmatics5 1.Introduction - Frames and scripts e.g. Shank's restaurant script If we can describe the use of language in terms of frames (like an object description) or scripts (like a film script) then we may be able to match the natural language against one of these objects, and gain a lot of default expectations

NLP Pragmatics6 1.Introduction - Presuppositions "Have you stopped beating your dog." Language often points to the unstated commonly understood information. We may be able to use inference to find out what this information is.

NLP Pragmatics7 1.Introduction - Rules of discourse Grice's maxims Here we can gain information by knowing that unless there are "funny circumstances" we tend to use language in predetermined ways. For example unless we want to deceive we tell the truth. Such rules should allow us to gain insights if the rules are followed, or to determine what the funny circumstance might be if the rules are not followed. Why do you think this is?

NLP Pragmatics8 2. Goals and plans If we discover the goal of a speaker for example, it should make interpretation of their uttererances easier.  "How much is a train ticket on the 3pm to Bristol?"  "Nothing" would be inappropriate response if no 3pm train  "The next train leaves at 3:30 and costs £30" if plan of speaker is known Once a plan is known we can fill in the gaps with defaults even if we have no information We need "plan templates" for "primitive plots"

NLP Pragmatics9 3. Goals and plans : primitive plots Problems : You get fired and need a job Your cheque bounces and you need to find money You dog dies and you need companionship Success : You ask for a raise and get it You fix a flat tyre You need a car so you steal one Failure Your marriage proposal is declined You can't find you wallet You can't get a bank loan Loss / Perseverance / Hidden blessing / Mixed blessing etc

NLP Pragmatics10 4. Goals and plans :Frames and scripts Frames and scripts act as templates of expectation.Work by Schank and others They have slots and values Slots can be Compulsory Optional Default Procedures Frames are used for concepts Scripts are used for sequences of actions / frames

NLP Pragmatics11 5. A "dog" frame Make a conversation Frame SlotValueNotes ISAanimalcompulsory HAS4 legsdefault TYPEPoodle / Labrador /…optional SIZElarge / small /…optional SITUATIONSpark/house/shop/…optional Nearest VetAddressprocedure with input dog’s address

NLP Pragmatics12 6. A "restaurant script" Write an exam script Namerestaurant Propstables, chairs, food, bill, money, tip waiter, waitress, customer, cook, cashier, owner Requisitescustomer hungry, customer has money Resultscustomer has less money owner has more money customer not hungry

NLP Pragmatics13 Goals and plans Scene 1: Entering Customer enters restaurant Customer looks for table Customer decides where to sit Customer sits down Scene 2: Ordering Scene 3: Eating Scene 4: Leaving Fill in the sections above. Compare your results to your neighbours. What problems do you have here?

NLP Pragmatics14 7. Presuppositions "Have you seen John's car?" - we should infer that John has a car "Was it John who stole the money?" - we want to infer that money was stolen, NOT John stole it - acceptable reply is "No it was Bill" - unacceptable reply is "No it was the car"

NLP Pragmatics15 Rules of discourse – Grice’s Maxims Be brief Be honest Be relevant Be clear

NLP Pragmatics16 Rules of discourse – Grice’s Maxims Be brief Give as much info as needed, but not more "Who is the President of the USA?" "Clinton" - OK "A guy who has a wife, 2 daughters, 3...called Clinton" - Too much

NLP Pragmatics17 Rules of discourse – Grice’s Maxims Be honest Unless we have a goal of humour, escape conviction etc If you were a criminal would you lie to: "Do you take sugar in your coffee?" - to a partner "What is your annual income?" to the police

NLP Pragmatics18 Rules of discourse – Grice’s Maxims Be relevant "Can you pass the salt?" is not a relevant question in most situations, so it must be a request

NLP Pragmatics19 Rules of discourse – Grice’s Maxims Be clear unless you have reasons / objectives not to be such as a politician, answering a student's question about exam questions

NLP Pragmatics20 9. Why don't these work? Goals and plans Frames and scripts Presuppositions Rules of discourse Write down 1 reason why each of these may not work. Compare with your neighbour.

NLP Pragmatics21 9. Why don't these work? Goals and plans How many plots do you need? How do adapt one plot to make a similar but slightly different one? How do you match an utterance against a plot?

NLP Pragmatics22 9. Why don't these work? Frames and scripts How do you acquire a new script for a novel situation (a) Create a new one - maybe we have too many (b) Update an existing one - which one? How do we add new knowledge to an existing script e.g. being short changed to a restaurant script - which other scripts do we need to update? shop /garage / cinema /theatre what else? How do you match an utterance against a frame / script?

NLP Pragmatics23 9. Why don't these work? Presuppositions How do you deal with: "How many students does Audrey teach?" If she is on sabbatical leave we cannot presuppose she teaches students. - acceptable reply is "She does not teach now" - unacceptable reply is "None" : this is accurate but breaks rules of being relevant

NLP Pragmatics24 9. Why don't these work? Rules of discourse How do we decide what is "normal" and what is a "funny circumstance" ? How many "funny circumstances" are there? If we have enough "funny circumstances" what value are these guidelines?

NLP Pragmatics25 Conclusions Language is like the tip of an iceberg. Context is like the picture on the box. How do we represent context? e.g. CYC Can we make do with restricted domains? Can we do NLP by example?