1 Natural Language Processing Gholamreza Ghassem-Sani Fall 1383.

Slides:



Advertisements
Similar presentations
Natural Language Processing (or NLP) Reading: Chapter 1 from Jurafsky and Martin, Speech and Language Processing: An Introduction to Natural Language Processing,
Advertisements

Introduction to Computational Linguistics
Introduction to Computational Linguistics
INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING NLP-AI IIIT-Hyderabad CIIL, Mysore ICON DECEMBER, 2003.
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.
Natural Language and Speech Processing Creation of computational models of the understanding and the generation of natural language. Different fields coming.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
Natural Language Processing AI - Weeks 19 & 20 Natural Language Processing Lee McCluskey, room 2/07
Chapter 12: Intelligent Systems in Business
Natural Language Processing Prof: Jason Eisner Webpage: syllabus, announcements, slides, homeworks.
Language: Form, Meanings and Functions
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing INTRODUCTION Muhammed Al-Mulhem March 1, 2009.
Statistical Natural Language Processing. What is NLP?  Natural Language Processing (NLP), or Computational Linguistics, is concerned with theoretical.
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
Introduction to NLP.
Natural Language Processing Neelnavo Kar Alex Huntress-Reeve Robert Huang Dennis Li.
Mobile and Pervasive Computing - 8 Natural Language Processing Presented by: Dr. Adeel Akram University of Engineering and Technology, Taxila,Pakistan.
9/8/20151 Natural Language Processing Lecture Notes 1.
1 Ling 569: Introduction to Computational Linguistics Jason Eisner Johns Hopkins University Tu/Th 1:30-3:20 (also this Fri 1-5)
CSCI 4410 Introduction to Artificial Intelligence.
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
1 Natural Language Processing Gholamreza Ghassem-Sani.
1 Computational Linguistics Ling 200 Spring 2006.
Natural Language Processing Rogelio Dávila Pérez Profesor – Investigador
Language Technology I © 2005 Hans Uszkoreit Language Technology I 2005/06 Hans Uszkoreit Universität des Saarlandes and German Research Center for Artificial.
Introduction to CL & NLP CMSC April 1, 2003.
Levels of Language 6 Levels of Language. Levels of Language Aspect of language are often referred to as 'language levels'. To look carefully at language.
Research Topics CSC Parallel Computing & Compilers CSC 3990.
1 CSI 5180: Topics in AI: Natural Language Processing, A Statistical Approach Instructor: Nathalie Japkowicz Objectives of.
NLP ? Natural Language is one of fundamental aspects of human behaviors. One of the final aim of human-computer communication. Provide easy interaction.
October 2005CSA3180 NLP1 CSA3180 Natural Language Processing Introduction and Course Overview.
The Difference Between Linguistics and “Lingvistika”
Introduction to Computational Linguistics
CSA2050 Introduction to Computational Linguistics Lecture 1 What is Computational Linguistics?
CSE573 Autumn /20/98 Planning/Language Administrative –PS3 due 2/23 –Midterms back today –Next topic: Natural Language Processing reading Chapter.
Artificial Intelligence: Natural Language
Lecture 1 Lec. Maha Alwasidi. Branches of Linguistics There are two main branches: Theoretical linguistics and applied linguistics Theoretical linguistics.
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.
1 Branches of Linguistics. 2 Branches of linguistics Linguists are engaged in a multiplicity of studies, some of which bear little direct relationship.
CSE573 Autumn /23/98 Natural Language Processing Administrative –PS3 due today –PS4 out Wednesday, due Friday 3/13 (last day of class) special.
CSE467/567 Computational Linguistics Carl Alphonce Computer Science & Engineering University at Buffalo.
Translingual Information Management Stephan Busemann Language Technology Lab German Research Center for Artificial Intelligence.
9/13/1999JHU CS / Intro to NLP/Jan Hajic1 Textbooks you need Manning, C. D., Sch ü tze, H.: Foundations of Statistical Natural Language Processing.
Natural Language Processing Chapter 1 : Introduction.
Data Mining: Text Mining
CS460/IT632 Natural Language Processing/Language Technology for the Web Lecture 1 (03/01/06) Prof. Pushpak Bhattacharyya IIT Bombay Introduction to Natural.
For Friday Finish chapter 23 Homework –Chapter 23, exercise 15.
SYNTAX.
Language Language - a system for combining symbols (such as words) so that an unlimited number of meaningful statements can be made for the purpose of.
1 An Introduction to Computational Linguistics Mohammad Bahrani.
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
NATURAL LANGUAGE PROCESSING
Intelligent Control Methods Lecture 2: Artificial Intelligence Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Basics of Natural Language Processing Introduction to Computational Linguistics.
Welcome to All S. Course Code: EL 120 Course Name English Phonetics and Linguistics Lecture 1 Introducing the Course (p.2-8) Unit 1: Introducing Phonetics.
INTRODUCTION TO APPLIED LINGUISTICS
King Faisal University جامعة الملك فيصل Deanship of E-Learning and Distance Education عمادة التعلم الإلكتروني والتعليم عن بعد [ ] 1 جامعة الملك فيصل عمادة.
Introduction to Machine Translation
/665 Natural Language Processing
Automatic cLasification d
Introduction to Machine Translation
Lecture #1 Introduction
Application Area: Natural Language Processing
Natural Language Processing
Natural Language Processing
Artificial Intelligence 2004 Speech & Natural Language Processing
Information Retrieval
Presentation transcript:

1 Natural Language Processing Gholamreza Ghassem-Sani Fall 1383

2 Main Reference: Natural Language Understanding By James Allen, 1995

3 Goals of the field Computers would be a lot more useful if they could handle our , do our library research, talk to us … But they are fazed by natural human language. How can we tell computers about language? (Or help them learn it as kids do?)

4 Goals of the field Develop computational models of aspects of human language processing...in order to write computer programs performing smart tasks with language...in order to gain a better understanding of the human language processor, and of communication

5 Interdisciplinary research... Psychology, Cognitive Science Linguistics Philosophy Computer Science, Artificial Intelligence

6 NLP: applications Speech recognition and synthesis Machine translation Document processing – information extraction – summarization Text generation Dialog systems (typed and spoken)

7 Speech recognition Task: From representation of audio stream to sequence of words Word hypotheses lattice Applications: dictation,...

8 Machine Translation SL-TextTL-Text AnalysisGeneration Transfer Interlingua

9 Translating Speech Translate negotiation dialogs between German, English, Japanese in near-real-time Process spontaneous speech

10 Document Summarization On Monday, GreenChip Solutions made an acquisition offer to BuyOut Inc., a St. Louis-based plastic tree manufacturer that had tremendous success in equipping American households with pink plastic oak trees. (... (... ) (... )) Analysis Generation GreenChip offered to acquire the plastic tree manufacturer BuyOut.

11 Information Extraction Dedicated search for key information in the text –acquirer: GreenChip –acquiree: BuyOut –date-offer: Monday –$$-offer: UNSPEC Key attributes are predefined Systems are domain-specific

12 Text generation Reports –Data mining results –Project status –Continuous data (e.g., air pollution) Technical Documentation –User manuals –multilingual, many variants, frequent updates Adaptive Hypertext –Tailor the web page to the user –user model, navigation history

13 Dialog systems Web-based, typed Spoken: telephone (web) –Travel timetable –Cinema programs E-Commerce: product search&info Combination of almost all NLP tasks, plus dialog strategy, planning, hearer model,...

14 NLP - Methods Levels of language analysis Symbolic versus statistical techniques Parsing - “understanding” Syntax Semantics, domain modeling

15 Levels of language analysis Phonetics/phonology/morphology: what words (or sub words) are we dealing with? Syntax: What phrases are we dealing with? Which words modify one another? Semantics: What’s the literal meaning? Pragmatics: What should you conclude from the fact that I said something? How should you react?

16 Levels of language analysis Phonetics: sounds -> words –/b/ + /o/ + /t/ = boat Morphology: morphemes -> words –friend + ly = friendly Syntax: word sequence -> sentence structure Semantics: sentence structure + word meaning -> sentence meaning Pragmatics: sentence meaning + context -> more precise meaning Discourse and world knowledge

17 Levels of language analysis (cont.) 1.Language is one of fundamental aspects of human behavior and is crucial component of our lives. 2.Green frogs have large noses. 3.Green ideas have large noses. 4.Large have green ideas nose. 5.I go store.

18 “Symbolics or statistics” Statistic used for: –speech recognition –part-of-speech tagging –parsing –machine translation, info retrieval, summarization Symbolic reasoning used for: –parsing –semantic analysis –generation –MT, dialog management Hybrid approaches

19 Parsing Utterance GrammarLexicon Syntactic analysis Semantic analysis Pragmatic analysis

20 Syntactic Analysis By analyzing sentence structure (parsing), determine how word are related to each other –(The big furry rabbit) (jumped over (the lazy tortoise)) Obtain the parse tree to represent groupings

21 Syntactic analysis (2) Syntax can make explicit when there are several possible interpretations –(Rice flies) like sand. –Rice (flies like sand). Knowledge of ‘correct’ grammar can help finding the right interpretation –Flying planes are dangerous. –Flying planes is dangerous.

22 Semantic Analysis Different sentences with same meaning should have the same representation: –John gave the book to Mary. –The book was given to Mary by John. –give-action: agent: john object: book receiver: mary Then we can do reasoning, answer questions

23 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there.

24 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. To get a donut (spare tire) for his car?

25 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. store where donuts shop? or is run by donuts? or looks like a big donut? or made of donut? or has an emptiness at its core?

26 What’s hard about this story? I stopped smoking freshman year, but John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there.

27 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. Describes where the store is? Or when he stopped?

28 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. Well, actually, he stopped there from hunger and exhaustion, not just from work.

29 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. At that moment, or habitually? (Similarly: Mozart composed music.)

30 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. That’s how often he thought it?

31 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. But actually, a coffee only stays good for about 10 minutes before it gets cold.

32 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. Similarly: In America a woman has a baby every 15 minutes. Our job is to find that woman and stop her.

33 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. the particular coffee that was good every few hours? the donut store? the situation?

34 What’s hard about this story? John stopped at the donut store on his way home from work. He thought a coffee was good every few hours. But it turned out to be too expensive there. too expensive for what? what are we supposed to conclude about what John did? how do we connect “it” to “expensive”?

35 The Flow of Information