Natural Language Processing AI - Weeks 19 & 20 Natural Language Processing Lee McCluskey, room 2/07

Slides:



Advertisements
Similar presentations
Prolog programming....Dr.Yasser Nada. Chapter 8 Parsing in Prolog Taif University Fall 2010 Dr. Yasser Ahmed nada prolog programming....Dr.Yasser Nada.
Advertisements

For Friday No reading Homework –Chapter 23, exercises 1, 13, 14, 19 –Not as bad as it sounds –Do them IN ORDER – do not read ahead here.
Bilingual Dictionaries
PHONEXIA Can I have it in writing?. Discuss and share your answers to the following questions: 1.When you have English lessons listening to spoken English,
Natural Language and Speech Processing Creation of computational models of the understanding and the generation of natural language. Different fields coming.
Programming Languages: Notes for Class Discussion: V Deena Engel’s class.
Natural Language Processing AI - Weeks 19 Natural Language Processing PART 2 Lee McCluskey, room 2/07
1 Chapter 20 Understanding Language. 2 Chapter 20 Contents (1) l Natural Language Processing l Morphologic Analysis l BNF l Rewrite Rules l Regular Languages.
Computational Language Andrew Hippisley. Computational Language Computational language and AI Language engineering: applied computational language Case.
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
Natural Language Processing AI - Weeks 19 Natural Language Processing PART 2 Lee McCluskey, room 2/07
1/23 Applications of NLP. 2/23 Applications Text-to-speech, speech-to-text Dialogues sytems / conversation machines NL interfaces to –QA systems –IR systems.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering Using Definite Knowledge: NLP and nl_interface.pl Notes for Ch.3 of Poole et.
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing INTRODUCTION Muhammed Al-Mulhem March 1, 2009.
Artificial Intelligence. Agenda StartEnd Introduction AI Future Recent Developments Turing Test Turing Test Evaluation.
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
Natural Language Processing Verbatim Text Coding and Data Mining Report Generation Josef S.W. Leung Ching-Long Yeh
Ann Shlapobersky 2013 Making Writing Their Own 1.
9/8/20151 Natural Language Processing Lecture Notes 1.
CCSB354 ARTIFICIAL INTELLIGENCE (AI)
What is a Sentence? By Jaye Lynn Trapp.
CSCI 4410 Introduction to Artificial Intelligence.
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.

OPERATING SYSTEMS AND LANGUAGE TRANSLATORS CIS 2380 TERM 2 – LANGUAGE TRANSLATORS Lee McCluskey – 23/09/20151.
Artificial intelligence project
Chapter 7. BEAT: the Behavior Expression Animation Toolkit
Natural Language Processing AI - Weeks 18 & 20 Natural Language Processing Lee McCluskey, room 2/07
Natural Language Processing 1.‘append’ program - two lists to one or split one list into two 2.How to write a parser in Prolog, how it works (ref. Paul’s.
Introduction to CL & NLP CMSC April 1, 2003.
Oracy O 6.1 Understand the main points and simple opinions in a spoken story, song or passage listen attentively, re-tell and discuss the main ideas agree.
“I Can” Learning Targets 4 th English/Writing 5th Six Weeks.
Artificial Intelligence: Natural Language
October 2005CSA3180 NLP1 CSA3180 Natural Language Processing Introduction and Course Overview.
CSA2050 Introduction to Computational Linguistics Lecture 1 Overview.
Introduction to Dialogue Systems. User Input System Output ?
The Parts of Speech The 8 Parts of Speech… Nouns Adjectives Pronouns Verbs Adverbs Conjunctions Prepositions Interjections.
Strategies for Learning a Foreign Language When learning a foreign language it is important to study every day. Aside from any written homework you may.
Artificial Intelligence: Natural Language
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.
ENGLISH PROFICIENCY 3 BIU 2032 UNIT 1 : LISTENING DRAWING INFERENCES.
C ELEBRATION OF L EARNING ! 6+1 Writing Traits. W HAT ARE THE 6+1 W RITING T RAITS ? Guidelines that create consistent expectations for what good writing.
For Monday Read chapter 24, sections 1-3 Homework: –Chapter 23, exercise 8.
For Friday Finish chapter 24 No written homework.
For Monday Read chapter 26 Last Homework –Chapter 23, exercise 7.
Natural Language Processing Chapter 1 : Introduction.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
For Friday Finish chapter 23 Homework –Chapter 23, exercise 15.
Natural Language Processing AI Revision Lee McCluskey, room 2/07
Natural Language and Speech (parts of Chapters 8 & 9)
Natural Language Processing (NLP)
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
Understanding Naturally Conveyed Explanations of Device Behavior Michael Oltmans and Randall Davis MIT Artificial Intelligence Lab.
NATURAL LANGUAGE PROCESSING
Basics of Natural Language Processing Introduction to Computational Linguistics.

“I Can” Learning Targets 4 th English/Writing 6th Six Weeks.
Natural Language Processing (NLP)
Artificial intelligence (AI)
Communicate.
Introduction to Machine Learning and NLP
Natural Language Processing
A User study on Conversational Software
Software Requirements
Artificial Intelligence 2004 Speech & Natural Language Processing
Information Retrieval
AI Application Session 12
Presentation transcript:

Natural Language Processing AI - Weeks 19 & 20 Natural Language Processing Lee McCluskey, room 2/07

Natural Language Processing History: The Turing Test Assume person A communicates by “text/ ” to 1) a person and 2) a machine. The Turing Test is for A to determine which is the computer and which is the person by the text responses. Assume A continues to ask 1) and 2) questions by written text and elicits responses. If, from the responses over time, the person cannot tell the difference between 1) and 2), then the Turing Test is passed. Up to now, no system has got close to passing the Turing Test. It is possible to apply the “Turing Test” metaphorically to other areas of computing eg the Turing Test for the game of chess could be said to be passed.

Natural Language Processing NLP – the problem Natural Language Generation Translation Summary/ Classification Knowledge Base: representation of meaning UNDERSTANDING PROCESS (“Natural Language Understanding”) Text (sentence, , news story..)

Natural Language Processing NLP is NOT SPEECH RECOGNITION Speech Understanding is FAR HARDER than NLP but is potentially much more valuable because: Translating Speech → Text we loose MANY visual and aural clues Eg Tone, speed, emotion within voice, accent Facial expressions, arm movements, “body language” All contribute to the meaning of the utterance as well as the plain text In text there are no sound cues, or visual cues, available to give extra meaning to the text. So we might raise our voice to show our anger, or make gestures to add to the description of a shape. Without these extra cues, it is much harder to do NLP.

Natural Language Processing Some Potential/Current Applications of NLP -- Q & A services eg automated quiz answering services. These need to understand the question enough so that they can choose the correct answer from eg an online search --chatbots – online programs that get into conversation with you for entertainment eg Eliza --natural language translators – (online) services that take text in one language and translate it to another language eg English -> German -- natural language generation – eg games that need to communicate to the user in text or generate news stories / running commentaries as part of the game -- text summarisation or categorization (news stories, spam filters, document classifiers …)

Natural Language Processing NLP: the process Natural Language Generation Translation Summary/ Classification Knowledge Base: representation of meaning UNDERSTANDING PROCESS (“Natural Language Understanding”) Text (sentence, , news story..) -- Parsing -- Referencing -- Meaning Extraction and Integration

Natural Language Processing NLP: the process Parsing - breaking down the sentence into components (words), checking that these conform to a grammar (are syntactically correct) and possibly outputting a parses tree Referencing – finding the “actual” references to words in a sentence, and resolving ambiguities Eg “Old friend” does “old” describe friend, or does it describe the referent of friend? Meaning Extraction and Integration – translating the parse, and noun references, into an internal representation language (eg First order logic) and integrating it with other “knowledge” eg “All men are mortal” – recognising that “men” refers to a species held in a taxonomic knowledge base about living things in the KB.

Natural Language Processing Parsing – a small grammar for English sentence --> noun_phrase, verb_phrase. noun_phrase--> determiner, adjective, noun. noun_phrase--> adjective, noun. noun_phrase--> determiner, noun. noun_phrase --> noun. verb_phrase--> verb, noun_phrase. verb_phrase--> verb, preposition, noun_phrase. determiner --> a | an. adjective --> fruit. noun --> flies | fruit | time | arrow. noun --> banana. verb --> like | flies. preposition --> like

Natural Language Processing Summary - Challenges -Biggest challenge is adequacy of interpretation: translating the prose into some “representation of its meaning” adequate for the purposes of the application eg QA, translation -The above is exacerbated by ambiguity problems – mapping every sentence into just one representation - mapping individual words into one meaning -There is no standard grammar for NLs -NL changes over time, words go in and out of currency- NL contains lots of proper names – causing more problems with identity and determining referents for nouns.

Natural Language Processing Practical / Tutorial | -- Work on the Exercises on Logic Reasoning from last week -- Get help on the coursework if required Next Week we will look at how PROLOG can be used to implement NLP