SlideShare a Scribd company logo
Natural Language Processing

                  Daniel Dahlmeier

NUS Graduate School for Integrative Sciences and Engineering
              danielhe@comp.nus.edu.sg


            CSTalks 2 November 2011
Acknowledgments




  Examples and figures from Michael Collins’ lecture notes:
  http://www.cs.columbia.edu/∼mcollins.


  Some other figures are from Wikipedia: http://www.wikipedia.org.


  The rest I randomly found on the web.
Examples
                    What is NLP?
                     Background
                       NLP tasks
                   Why is it hard?
                    Related Stuff
                      Conclusion



Google translate




                                     3/25
Examples
                     What is NLP?
                      Background
                        NLP tasks
                    Why is it hard?
                     Related Stuff
                       Conclusion



IBM’s Watson computer wins at Jeopardy!




                                          4/25
Examples
        What is NLP?
         Background
           NLP tasks
       Why is it hard?
        Related Stuff
          Conclusion



Siri




                         5/25
Examples
                             What is NLP?
                              Background
                                NLP tasks
                            Why is it hard?
                             Related Stuff
                               Conclusion



What is Natural Language Processing?


   Natural Language Processing (NLP) or Computational Linguistics
   Language processing that goes beyond a “bag of words” representation.

   Example
       Translate from one language into the other.
       Answer natural language questions.
       Parse the syntactic/semantic structure of a sentence.

   The other NLP
   NLP = neuro-linguistic programming.


                                                                           6/25
Examples
                                What is NLP?
                                 Background
                                   NLP tasks
                               Why is it hard?
                                Related Stuff
                                  Conclusion



Background(s): Artificial Intelligence




   Talk to your computer
       Dave: Hello, HAL. Do you read me, HAL?
       HAL: Affirmative, Dave. I read you.
       Dave: Open the pod bay doors, HAL.
       HAL: I’m sorry, Dave. I’m afraid I can’t do that.

   The computer needs to ...
       Understand the user : Natural Language Understanding.
       Generate a well-formed reply : Natural Language Generation.
                                                                     7/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Background(s): Artificial Intelligence (cont.)




   Turing Test
       Experimenter talks to two parties A and B via a terminal.
       If C cannot distinguish which party is a computer and which is a
       human, we should consider the computer to be intelligent.
       Natural language is deeply intertwined with intelligence.
                                                                          8/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Background(s): Linguistics




   Generative Linguistics
       Humans can produce and understand an infinite number of
       sentences by means of a finite set of rules.
       Language is produced through a generative, recursive process in the
       human brain.
       The principles that underlie this process are universal to all
       languages (universal grammar).                                        9/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Background(s): the Web



       “We are drowning in information but starved for knowledge.”
       by Edward Osborne Wilson

   Too much text to read...
       Wikipedia: over 3.7 million articles (English).
       PubMed: over 20 million citations.
       WWW: billions of pages, trillions of words.




                                                                     10/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Part-of-speech Tagging



   Part-of-speech tagging
       Input: a sentence.
       Output: a part-of-speech tag sequence, e.g., noun, verb, adjective,...

   Example
   Profits/N soared/V at/P Boeing/N Co./N ,/, easily/ADV topping/V
   forecasts/N on/P Wall/N Street/N ./.




                                                                                11/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Named-entity recognition


   Named-entity recognition
       Input: a sentence.
       Output: a BIO-named entity tag sequence, e.g., PERSON,
       ORGANIZATION, OTHER.

   Example
   Profits/O soared/O at/O Boeing/B-ORG Co./I-ORG ,/O easily/O
   topping/O forecasts/O on/O Wall/O Street/O ./O




                                                                12/25
Examples
                             What is NLP?
                              Background
                                NLP tasks
                            Why is it hard?
                             Related Stuff
                               Conclusion



Word Sense Disambiguation



   Word sense disambiguation
       Input: a sentence.
       Output: the sense of each word in the sentence.

   Example
   I/sense1 can/sense1 can/sense2 a/sense1 can sense3 .




                                                          13/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Parsing
   Parsing
       Input: a sentence.
       Output: the syntactic tree structure of the sentence.

   Example
   Boeing is located in Seattle.




                                                               14/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Machine translation


   Machine Translation
      Input: a sentence in language F .
       Output: the translated sentence in language E .

   Example
   Input: Syriens Pr¨sident Baschar al-Assad hat den Westen davor
                     a
   gewarnt, sich in die Angelegenheiten seines Landes einzumischen.

   Output: Syrian President Bashar al-Assad has warned the West against
   interfering in the affairs of his country.



                                                                          15/25
Examples
                           What is NLP?
                            Background
                              NLP tasks
                          Why is it hard?
                           Related Stuff
                             Conclusion



Why is it hard? ( example from L.Lee)




       “At last, a computer that understands you like your mother”




                                                                     16/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Ambiguity of Natural Language



          “At last, a computer that understands you like your mother”

   This could mean...
     1   It understands you as well as your mother understands you.
     2   It understands (that) you like your mother.
     3   It understands you as well as it understands your mother.
   1 and 3: Does this mean well, or poorly?




                                                                        17/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Ambiguity at the Acoustic Level




          “At last, a computer that understands you like your mother”

   This sounds like...
     1   “... a computer that understands you like your mother.”
     2   “... a computer that understands you lie cured mother.”




                                                                        18/25
Examples
                           What is NLP?
                            Background
                              NLP tasks
                          Why is it hard?
                           Related Stuff
                             Conclusion



Ambiguity at the Syntactic (structure) Level



       “At last, a computer that understands you like your mother”




                                                                     19/25
Examples
                        What is NLP?
                         Background
                           NLP tasks
                       Why is it hard?
                        Related Stuff
                          Conclusion



Ambiguity at the Syntactic (structure) Level
                   “List all flights on Tuesday.”




                                                   20/25
Examples
                                What is NLP?
                                 Background
                                   NLP tasks
                               Why is it hard?
                                Related Stuff
                                  Conclusion



Ambiguity at the Semantic (meaning) Level


   Definition of “mother”
     1   a woman who has given birth to a child
     2   a stringy slimy substance consisting of yeast cells and bacteria; is
         added to cider or wine to produce vinegar.

   More ambiguity
         They put money in the bank (= buried in mud?).
         I saw her duck with a telescope (= a duck carrying a telescope?).




                                                                                21/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Ambiguity at the Discourse (multi-clause) Level



   Anaphora resolution
   Alice says they’ve built a computer that understands you like your
   mother.
   But she ...
       ... doesn’t know any details (Alice)
       ... doesn’t understand me at all (my mother)




                                                                        22/25
Examples
                               What is NLP?
                                Background
                                  NLP tasks
                              Why is it hard?
                               Related Stuff
                                 Conclusion



Related Stuff

   Machine Learning
        This really made large-scale, open domain NLP applications possible.

   Information Retrieval
        Both need to “understand” language.

   Linguistics
        Interested in the nature of language.

   Psychology / Cognitive Science
        Both interested in human cognitive capabilities.


                                                                               23/25
Examples
                              What is NLP?
                               Background
                                 NLP tasks
                             Why is it hard?
                              Related Stuff
                                Conclusion



Conclusion


   What I have told you...
       What NLP is about.
       Some NLP tasks that people work on.
       Why it’s not that easy.

   What I haven’t told you
       How do you solve all these problems?
       How well does it work?
       What is left to be done?



                                               24/25
Examples
                            What is NLP?
                             Background
                               NLP tasks
                           Why is it hard?
                            Related Stuff
                              Conclusion



Would you like to know more?

   NLP courses at NUS
      CS4248: natural language processing
       CS6207: advanced natural language processing

   Books




   Jurafsky and Martin, Speech and Language Processing (2nd Edition)


                                                                       25/25

More Related Content

PPTX
Introduction to Transformer Model
PDF
NLP using transformers
PDF
Pal gov.tutorial4.session12 1.lexicalsemanitcs
PDF
Thomas Wolf "An Introduction to Transfer Learning and Hugging Face"
PDF
Cs599 Fall2005 Lecture 01
PDF
Pal gov.tutorial4.session13.arabicontology
PDF
Pal gov.tutorial4.session12 2.wordnets
PDF
Multi modal retrieval and generation with deep distributed models
Introduction to Transformer Model
NLP using transformers
Pal gov.tutorial4.session12 1.lexicalsemanitcs
Thomas Wolf "An Introduction to Transfer Learning and Hugging Face"
Cs599 Fall2005 Lecture 01
Pal gov.tutorial4.session13.arabicontology
Pal gov.tutorial4.session12 2.wordnets
Multi modal retrieval and generation with deep distributed models

What's hot (20)

PDF
Pal gov.tutorial4.session1 2.whatisontology
PDF
Pal gov.tutorial4.session8 2.stepwisemethodologies
PDF
Pal gov.tutorial4.session5.lab ontologytools
PDF
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
PDF
Pal gov.tutorial4.session3.lab bankcustomerontology
PDF
Pal gov.tutorial4.session2.lab populationontology
PDF
Pal gov.tutorial4.outline
PDF
Respeaking as a part of translation and interpreting curriculum
PDF
Pal gov.tutorial4.session6 1.ontologyengineeringchallenges
PDF
Deep learning for natural language embeddings
PDF
Practical Deep Learning for NLP
PPTX
Eurecom and Aalto University at Mediaeval 2021
PDF
Pal gov.tutorial4.session14 rootinglegalpersonontology
PDF
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
PDF
Pal gov.tutorial4.session1 1.needforsharedsemantics
PDF
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
PPTX
KiwiPyCon 2014 talk - Understanding human language with Python
PDF
DPC2007 Objects Of Desire (Kevlin Henney)
 
PDF
Deep Learning for Information Retrieval
Pal gov.tutorial4.session1 2.whatisontology
Pal gov.tutorial4.session8 2.stepwisemethodologies
Pal gov.tutorial4.session5.lab ontologytools
Pal gov.tutorial4.session8 1.ontologymodelingchallenges
Pal gov.tutorial4.session3.lab bankcustomerontology
Pal gov.tutorial4.session2.lab populationontology
Pal gov.tutorial4.outline
Respeaking as a part of translation and interpreting curriculum
Pal gov.tutorial4.session6 1.ontologyengineeringchallenges
Deep learning for natural language embeddings
Practical Deep Learning for NLP
Eurecom and Aalto University at Mediaeval 2021
Pal gov.tutorial4.session14 rootinglegalpersonontology
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
Pal gov.tutorial4.session1 1.needforsharedsemantics
Ontology Integration and Interoperability (OntoIOp) – Part 1: The Distributed...
KiwiPyCon 2014 talk - Understanding human language with Python
DPC2007 Objects Of Desire (Kevlin Henney)
 
Deep Learning for Information Retrieval
Ad

Viewers also liked (7)

PDF
CSTalks - Named Data Networks - 9 Feb
PDF
CSTalks-Natural Language Processing-17Aug
PDF
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
PDF
CSTalks - Model Checking - 26 Jan
PDF
CSTalks - Peer-to-peer - 16 Feb
PDF
PDF
CSTalks - GPGPU - 19 Jan
CSTalks - Named Data Networks - 9 Feb
CSTalks-Natural Language Processing-17Aug
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
CSTalks - Model Checking - 26 Jan
CSTalks - Peer-to-peer - 16 Feb
CSTalks - GPGPU - 19 Jan
Ad

Similar to CSTalks-Natural Language Processing-2 Nov (20)

PPTX
1 Natural Language Processing-Intro.pptx
PDF
Natural Language Processing from Object Automation
PPT
NLP Introduction.ppt machine learning presentation
PPTX
Natural Language Processing 20 March.pptx
PDF
NOVA Data Science Meetup 1/19/2017 - Presentation 2
PDF
NLP in artificial intelligence .pdf
DOCX
Natural language processing
PDF
NLP slides introduction, a basic introduction and application
PDF
Natural language processing and its application in ai
PDF
Natural Language Processing for development
PPT
1 Introduction.ppt
PDF
UAJK NLP Lecture-1incluiding all details here.pdf
PPTX
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
PPTX
naturallanguageprocessingnlp-231215172843-839c05ab.pptx
PPTX
NLP Introduction for engineering stuedents.pptx
PPTX
Natural-Language-Processing -Stages and application area.pptx
PPTX
Natural Language Processing (NLP)
PPT
Viraj -Natural-Language-Processing Ai.ppt
PPTX
Natural Language Processing (NLP) - Introduction
PPTX
6CS4_AI_Unit-5 @zammers.pptx(for artificial intelligence)
1 Natural Language Processing-Intro.pptx
Natural Language Processing from Object Automation
NLP Introduction.ppt machine learning presentation
Natural Language Processing 20 March.pptx
NOVA Data Science Meetup 1/19/2017 - Presentation 2
NLP in artificial intelligence .pdf
Natural language processing
NLP slides introduction, a basic introduction and application
Natural language processing and its application in ai
Natural Language Processing for development
1 Introduction.ppt
UAJK NLP Lecture-1incluiding all details here.pdf
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
naturallanguageprocessingnlp-231215172843-839c05ab.pptx
NLP Introduction for engineering stuedents.pptx
Natural-Language-Processing -Stages and application area.pptx
Natural Language Processing (NLP)
Viraj -Natural-Language-Processing Ai.ppt
Natural Language Processing (NLP) - Introduction
6CS4_AI_Unit-5 @zammers.pptx(for artificial intelligence)

More from cstalks (10)

PDF
CSTalks-Sensor-Rich Mobile Video Indexing and Search-17Aug
PDF
CSTalks-Visualizing Software Behavior-14Sep
PDF
CSTalks-Polymorphic heterogeneous multicore systems-17Aug
PDF
CSTalks-Quaternary Semantics Recomandation System-24 Aug
PPTX
CSTalks - Object detection and tracking - 25th May
PDF
CSTalks - The Multicore Midlife Crisis - 30 Mar
PPT
CSTalks - On machine learning - 2 Mar
PPTX
CSTalks - Real movie recommendation - 9 Mar
PDF
CSTalks-LifeBeyondPhD-16Mar
PDF
CSTalks - Music Information Retrieval - 23 Feb
CSTalks-Sensor-Rich Mobile Video Indexing and Search-17Aug
CSTalks-Visualizing Software Behavior-14Sep
CSTalks-Polymorphic heterogeneous multicore systems-17Aug
CSTalks-Quaternary Semantics Recomandation System-24 Aug
CSTalks - Object detection and tracking - 25th May
CSTalks - The Multicore Midlife Crisis - 30 Mar
CSTalks - On machine learning - 2 Mar
CSTalks - Real movie recommendation - 9 Mar
CSTalks-LifeBeyondPhD-16Mar
CSTalks - Music Information Retrieval - 23 Feb

Recently uploaded (20)

PPTX
master seminar digital applications in india
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Classroom Observation Tools for Teachers
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Pre independence Education in Inndia.pdf
master seminar digital applications in india
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Final Presentation General Medicine 03-08-2024.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
RMMM.pdf make it easy to upload and study
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Cell Types and Its function , kingdom of life
Module 4: Burden of Disease Tutorial Slides S2 2025
STATICS OF THE RIGID BODIES Hibbelers.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Microbial disease of the cardiovascular and lymphatic systems
Abdominal Access Techniques with Prof. Dr. R K Mishra
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Classroom Observation Tools for Teachers
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pre independence Education in Inndia.pdf

CSTalks-Natural Language Processing-2 Nov

  • 1. Natural Language Processing Daniel Dahlmeier NUS Graduate School for Integrative Sciences and Engineering danielhe@comp.nus.edu.sg CSTalks 2 November 2011
  • 2. Acknowledgments Examples and figures from Michael Collins’ lecture notes: http://www.cs.columbia.edu/∼mcollins. Some other figures are from Wikipedia: http://www.wikipedia.org. The rest I randomly found on the web.
  • 3. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Google translate 3/25
  • 4. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion IBM’s Watson computer wins at Jeopardy! 4/25
  • 5. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Siri 5/25
  • 6. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion What is Natural Language Processing? Natural Language Processing (NLP) or Computational Linguistics Language processing that goes beyond a “bag of words” representation. Example Translate from one language into the other. Answer natural language questions. Parse the syntactic/semantic structure of a sentence. The other NLP NLP = neuro-linguistic programming. 6/25
  • 7. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Background(s): Artificial Intelligence Talk to your computer Dave: Hello, HAL. Do you read me, HAL? HAL: Affirmative, Dave. I read you. Dave: Open the pod bay doors, HAL. HAL: I’m sorry, Dave. I’m afraid I can’t do that. The computer needs to ... Understand the user : Natural Language Understanding. Generate a well-formed reply : Natural Language Generation. 7/25
  • 8. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Background(s): Artificial Intelligence (cont.) Turing Test Experimenter talks to two parties A and B via a terminal. If C cannot distinguish which party is a computer and which is a human, we should consider the computer to be intelligent. Natural language is deeply intertwined with intelligence. 8/25
  • 9. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Background(s): Linguistics Generative Linguistics Humans can produce and understand an infinite number of sentences by means of a finite set of rules. Language is produced through a generative, recursive process in the human brain. The principles that underlie this process are universal to all languages (universal grammar). 9/25
  • 10. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Background(s): the Web “We are drowning in information but starved for knowledge.” by Edward Osborne Wilson Too much text to read... Wikipedia: over 3.7 million articles (English). PubMed: over 20 million citations. WWW: billions of pages, trillions of words. 10/25
  • 11. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Part-of-speech Tagging Part-of-speech tagging Input: a sentence. Output: a part-of-speech tag sequence, e.g., noun, verb, adjective,... Example Profits/N soared/V at/P Boeing/N Co./N ,/, easily/ADV topping/V forecasts/N on/P Wall/N Street/N ./. 11/25
  • 12. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Named-entity recognition Named-entity recognition Input: a sentence. Output: a BIO-named entity tag sequence, e.g., PERSON, ORGANIZATION, OTHER. Example Profits/O soared/O at/O Boeing/B-ORG Co./I-ORG ,/O easily/O topping/O forecasts/O on/O Wall/O Street/O ./O 12/25
  • 13. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Word Sense Disambiguation Word sense disambiguation Input: a sentence. Output: the sense of each word in the sentence. Example I/sense1 can/sense1 can/sense2 a/sense1 can sense3 . 13/25
  • 14. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Parsing Parsing Input: a sentence. Output: the syntactic tree structure of the sentence. Example Boeing is located in Seattle. 14/25
  • 15. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Machine translation Machine Translation Input: a sentence in language F . Output: the translated sentence in language E . Example Input: Syriens Pr¨sident Baschar al-Assad hat den Westen davor a gewarnt, sich in die Angelegenheiten seines Landes einzumischen. Output: Syrian President Bashar al-Assad has warned the West against interfering in the affairs of his country. 15/25
  • 16. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Why is it hard? ( example from L.Lee) “At last, a computer that understands you like your mother” 16/25
  • 17. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity of Natural Language “At last, a computer that understands you like your mother” This could mean... 1 It understands you as well as your mother understands you. 2 It understands (that) you like your mother. 3 It understands you as well as it understands your mother. 1 and 3: Does this mean well, or poorly? 17/25
  • 18. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity at the Acoustic Level “At last, a computer that understands you like your mother” This sounds like... 1 “... a computer that understands you like your mother.” 2 “... a computer that understands you lie cured mother.” 18/25
  • 19. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity at the Syntactic (structure) Level “At last, a computer that understands you like your mother” 19/25
  • 20. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity at the Syntactic (structure) Level “List all flights on Tuesday.” 20/25
  • 21. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity at the Semantic (meaning) Level Definition of “mother” 1 a woman who has given birth to a child 2 a stringy slimy substance consisting of yeast cells and bacteria; is added to cider or wine to produce vinegar. More ambiguity They put money in the bank (= buried in mud?). I saw her duck with a telescope (= a duck carrying a telescope?). 21/25
  • 22. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Ambiguity at the Discourse (multi-clause) Level Anaphora resolution Alice says they’ve built a computer that understands you like your mother. But she ... ... doesn’t know any details (Alice) ... doesn’t understand me at all (my mother) 22/25
  • 23. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Related Stuff Machine Learning This really made large-scale, open domain NLP applications possible. Information Retrieval Both need to “understand” language. Linguistics Interested in the nature of language. Psychology / Cognitive Science Both interested in human cognitive capabilities. 23/25
  • 24. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Conclusion What I have told you... What NLP is about. Some NLP tasks that people work on. Why it’s not that easy. What I haven’t told you How do you solve all these problems? How well does it work? What is left to be done? 24/25
  • 25. Examples What is NLP? Background NLP tasks Why is it hard? Related Stuff Conclusion Would you like to know more? NLP courses at NUS CS4248: natural language processing CS6207: advanced natural language processing Books Jurafsky and Martin, Speech and Language Processing (2nd Edition) 25/25