SlideShare a Scribd company logo
Introduction to
NLP
What is Natural Language
Processing?
Dan Jurafsky
Question Answering: IBM’s Watson
• Won Jeopardy on February 16, 2011!
2
WILLIAM WILKINSON’S
“AN ACCOUNT OF THE PRINCIPALITIES OF
WALLACHIA AND MOLDOVIA”
INSPIRED THIS AUTHOR’S
MOST FAMOUS NOVEL
Bram Stoker
Dan Jurafsky
Information Extraction
Subject: curriculum meeting
Date: January 15, 2012
To: Dan Jurafsky
Hi Dan, we’ve now scheduled the curriculum meeting.
It will be in Gates 159 tomorrow from 10:00-11:30.
-Chris
3
Create new Calendar entry
Event: Curriculum mtg
Date: Jan-16-2012
Start: 10:00am
End: 11:30am
Where: Gates 159
Dan Jurafsky
Information Extraction & Sentiment Analysis
• nice and compact to carry!
• since the camera is small and light, I won't need to carry
around those heavy, bulky professional cameras either!
• the camera feels flimsy, is plastic and very light in weight you
have to be very delicate in the handling of this camera
4
Size and weight
Attributes:
zoom
affordability
size and weight
flash
ease of use
✓
✗
✓
Dan Jurafsky
Machine Translation
• Fully automatic
5
• Helping human translators
Enter Source Text:
Translation from Stanford’s Phrasal:
这 不过 是 一 个 时间 的 问题 .
This is only a matter of time.
Dan Jurafsky
Language Technology
Coreference resolution
Question answering (QA)
Part-of-speech (POS) tagging
Word sense disambiguation
(WSD)
Paraphrase
Named entity recognition (NER)
Parsing
Summarization
Information extraction (IE)
Machine translation (MT)
Dialog
Sentiment analysis
mostly solved
making good progress
still really hard
Spam detection
Let’s go to Agra!
Buy V1AGRA …
✓
✗
Colorless green ideas sleep furiously.
ADJ ADJ NOUN VERB ADV
Einstein met with UN officials in Princeton
PERSON ORG LOC
You’re invited to our dinner
party, Friday May 27 at 8:30
Party
May 27
add
Best roast chicken in San Francisco!
The waiter ignored us for 20 minutes.
Carter told Mubarak he shouldn’t run again.
I need new batteries for my mouse.
The 13th Shanghai International Film Festival…
第13届上海国际电影节开幕…
The Dow Jones is up
Housing prices rose
Economy is
good
Q. How effective is ibuprofen in reducing
fever in patients with acute febrile illness?
I can see Alcatraz from the window!
XYZ acquired ABC yesterday
ABC has been taken over by XYZ
Where is Citizen Kane playing in SF?
Castro Theatre at 7:30. Do
you want a ticket?
The S&P500 jumped
Dan Jurafsky
Ambiguity makes NLP hard:
“Crash blossoms”
Violinist Linked to JAL Crash Blossoms
Teacher Strikes Idle Kids
Red Tape Holds Up New Bridges
Hospitals Are Sued by 7 Foot Doctors
Juvenile Court to Try Shooting Defendant
Local High School Dropouts Cut in Half
Dan Jurafsky
Ambiguity is pervasive
Fed raises interest rates
New York Times headline (17 May 2000)
Fed raises interest rates
Fed raises interest rates 0.5%
Dan Jurafsky
In-video quizzes!
• Most lectures will include a little quiz
• Just to check basic understanding
• Simple, multiple-choice.
• You can retake them if you get them wrong
9
Dan Jurafsky
non-standard English
Great job @justinbieber! Were
SOO PROUD of what youve
accomplished! U taught us 2
#neversaynever & you yourself
should never give up either♥
segmentation issues idioms
dark horse
get cold feet
lose face
throw in the towel
neologisms
unfriend
Retweet
bromance
tricky entity names
Where is A Bug’s Life playing …
Let It Be was recorded …
… a mutation on the for gene …
world knowledge
Mary and Sue are sisters.
Mary and Sue are mothers.
But that’s what makes it fun!
the New York-New Haven Railroad
the New York-New Haven Railroad
Why else is natural language
understanding difficult?
Dan Jurafsky
Making progress on this problem…
• The task is difficult! What tools do we need?
• Knowledge about language
• Knowledge about the world
• A way to combine knowledge sources
• How we generally do this:
• probabilistic models built from language data
• P(“maison”  “house”) high
• P(“L’avocat général”  “the general avocado”) low
• Luckily, rough text features can often do half the job.
Dan Jurafsky
This class
• Teaches key theory and methods for statistical NLP:
• Viterbi
• Naïve Bayes, Maxent classifiers
• N-gram language modeling
• Statistical Parsing
• Inverted index, tf-idf, vector models of meaning
• For practical, robust real-world applications
• Information extraction
• Spelling correction
• Information retrieval
• Sentiment analysis
Dan Jurafsky
Skills you’ll need
• Simple linear algebra (vectors, matrices)
• Basic probability theory
• Java or Python programming
• Weekly programming assignments
Introduction to
NLP
What is Natural Language
Processing?

More Related Content

Similar to 01 introduction to _stanford _ NLP.pptx

Essay The Importance Of Computer In Education
Essay The Importance Of Computer In EducationEssay The Importance Of Computer In Education
Essay The Importance Of Computer In Education
Lisa Swager
 
Example Of Movie Review Assignment - EricasrMcint
Example Of Movie Review Assignment - EricasrMcintExample Of Movie Review Assignment - EricasrMcint
Example Of Movie Review Assignment - EricasrMcint
Brittany Pope
 
13 Parchment Scroll Template Images - Blank Parchment
13 Parchment Scroll Template Images - Blank Parchment13 Parchment Scroll Template Images - Blank Parchment
13 Parchment Scroll Template Images - Blank Parchment
Elizabeth Williams
 
Teachers College Personal Essay - Researchon.Web.Fc
Teachers College Personal Essay - Researchon.Web.FcTeachers College Personal Essay - Researchon.Web.Fc
Teachers College Personal Essay - Researchon.Web.Fc
Amanda Hengel
 
Consumers To Creators
Consumers To CreatorsConsumers To Creators
Consumers To CreatorsJeremy Smith
 
One to One Laptops
One to One LaptopsOne to One Laptops
One to One Laptops
Karen Thompson
 
January 2016: Outreach Newsletter
January 2016: Outreach NewsletterJanuary 2016: Outreach Newsletter
January 2016: Outreach Newsletter
Westerville Library
 
Goi Peace Foundation Essay Contest 2013
Goi Peace Foundation Essay Contest 2013Goi Peace Foundation Essay Contest 2013
Goi Peace Foundation Essay Contest 2013
Janet Katarezzy
 
Special Education Essay. Importance On Education And The Value Of herxheim.de
Special Education Essay. Importance On Education And The Value Of  herxheim.deSpecial Education Essay. Importance On Education And The Value Of  herxheim.de
Special Education Essay. Importance On Education And The Value Of herxheim.de
Jessica Siewert
 
Mexico 01
Mexico 01Mexico 01
Mexico 01
eastgate
 
Full Guide On How To Title An Essay Successfully Essay, Argumentative
Full Guide On How To Title An Essay Successfully Essay, ArgumentativeFull Guide On How To Title An Essay Successfully Essay, Argumentative
Full Guide On How To Title An Essay Successfully Essay, Argumentative
Hannah Baker
 
Relative clauses
Relative clausesRelative clauses
Relative clauses
hacersivil
 
Friends Essay In Telugu. Online assignment writing service.
Friends Essay In Telugu. Online assignment writing service.Friends Essay In Telugu. Online assignment writing service.
Friends Essay In Telugu. Online assignment writing service.
Alexandra Romero
 
How to Avoid the 5 Fatal Mistakes Fund Appeals Make
How to Avoid the 5 Fatal Mistakes Fund Appeals MakeHow to Avoid the 5 Fatal Mistakes Fund Appeals Make
How to Avoid the 5 Fatal Mistakes Fund Appeals Make
Bloomerang
 
Essay On Save Trees Save Environment In English
Essay On Save Trees Save Environment In EnglishEssay On Save Trees Save Environment In English
Essay On Save Trees Save Environment In English
Cheraghearzu Donaldson
 

Similar to 01 introduction to _stanford _ NLP.pptx (17)

Essay The Importance Of Computer In Education
Essay The Importance Of Computer In EducationEssay The Importance Of Computer In Education
Essay The Importance Of Computer In Education
 
Example Of Movie Review Assignment - EricasrMcint
Example Of Movie Review Assignment - EricasrMcintExample Of Movie Review Assignment - EricasrMcint
Example Of Movie Review Assignment - EricasrMcint
 
13 Parchment Scroll Template Images - Blank Parchment
13 Parchment Scroll Template Images - Blank Parchment13 Parchment Scroll Template Images - Blank Parchment
13 Parchment Scroll Template Images - Blank Parchment
 
Teachers College Personal Essay - Researchon.Web.Fc
Teachers College Personal Essay - Researchon.Web.FcTeachers College Personal Essay - Researchon.Web.Fc
Teachers College Personal Essay - Researchon.Web.Fc
 
Consumers To Creators
Consumers To CreatorsConsumers To Creators
Consumers To Creators
 
One to One Laptops
One to One LaptopsOne to One Laptops
One to One Laptops
 
January 2016: Outreach Newsletter
January 2016: Outreach NewsletterJanuary 2016: Outreach Newsletter
January 2016: Outreach Newsletter
 
Goi Peace Foundation Essay Contest 2013
Goi Peace Foundation Essay Contest 2013Goi Peace Foundation Essay Contest 2013
Goi Peace Foundation Essay Contest 2013
 
Special Education Essay. Importance On Education And The Value Of herxheim.de
Special Education Essay. Importance On Education And The Value Of  herxheim.deSpecial Education Essay. Importance On Education And The Value Of  herxheim.de
Special Education Essay. Importance On Education And The Value Of herxheim.de
 
Mexico 01
Mexico 01Mexico 01
Mexico 01
 
Tequonna
TequonnaTequonna
Tequonna
 
Full Guide On How To Title An Essay Successfully Essay, Argumentative
Full Guide On How To Title An Essay Successfully Essay, ArgumentativeFull Guide On How To Title An Essay Successfully Essay, Argumentative
Full Guide On How To Title An Essay Successfully Essay, Argumentative
 
September 2012 newsletter
September 2012 newsletterSeptember 2012 newsletter
September 2012 newsletter
 
Relative clauses
Relative clausesRelative clauses
Relative clauses
 
Friends Essay In Telugu. Online assignment writing service.
Friends Essay In Telugu. Online assignment writing service.Friends Essay In Telugu. Online assignment writing service.
Friends Essay In Telugu. Online assignment writing service.
 
How to Avoid the 5 Fatal Mistakes Fund Appeals Make
How to Avoid the 5 Fatal Mistakes Fund Appeals MakeHow to Avoid the 5 Fatal Mistakes Fund Appeals Make
How to Avoid the 5 Fatal Mistakes Fund Appeals Make
 
Essay On Save Trees Save Environment In English
Essay On Save Trees Save Environment In EnglishEssay On Save Trees Save Environment In English
Essay On Save Trees Save Environment In English
 

Recently uploaded

Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 

01 introduction to _stanford _ NLP.pptx

  • 1. Introduction to NLP What is Natural Language Processing?
  • 2. Dan Jurafsky Question Answering: IBM’s Watson • Won Jeopardy on February 16, 2011! 2 WILLIAM WILKINSON’S “AN ACCOUNT OF THE PRINCIPALITIES OF WALLACHIA AND MOLDOVIA” INSPIRED THIS AUTHOR’S MOST FAMOUS NOVEL Bram Stoker
  • 3. Dan Jurafsky Information Extraction Subject: curriculum meeting Date: January 15, 2012 To: Dan Jurafsky Hi Dan, we’ve now scheduled the curriculum meeting. It will be in Gates 159 tomorrow from 10:00-11:30. -Chris 3 Create new Calendar entry Event: Curriculum mtg Date: Jan-16-2012 Start: 10:00am End: 11:30am Where: Gates 159
  • 4. Dan Jurafsky Information Extraction & Sentiment Analysis • nice and compact to carry! • since the camera is small and light, I won't need to carry around those heavy, bulky professional cameras either! • the camera feels flimsy, is plastic and very light in weight you have to be very delicate in the handling of this camera 4 Size and weight Attributes: zoom affordability size and weight flash ease of use ✓ ✗ ✓
  • 5. Dan Jurafsky Machine Translation • Fully automatic 5 • Helping human translators Enter Source Text: Translation from Stanford’s Phrasal: 这 不过 是 一 个 时间 的 问题 . This is only a matter of time.
  • 6. Dan Jurafsky Language Technology Coreference resolution Question answering (QA) Part-of-speech (POS) tagging Word sense disambiguation (WSD) Paraphrase Named entity recognition (NER) Parsing Summarization Information extraction (IE) Machine translation (MT) Dialog Sentiment analysis mostly solved making good progress still really hard Spam detection Let’s go to Agra! Buy V1AGRA … ✓ ✗ Colorless green ideas sleep furiously. ADJ ADJ NOUN VERB ADV Einstein met with UN officials in Princeton PERSON ORG LOC You’re invited to our dinner party, Friday May 27 at 8:30 Party May 27 add Best roast chicken in San Francisco! The waiter ignored us for 20 minutes. Carter told Mubarak he shouldn’t run again. I need new batteries for my mouse. The 13th Shanghai International Film Festival… 第13届上海国际电影节开幕… The Dow Jones is up Housing prices rose Economy is good Q. How effective is ibuprofen in reducing fever in patients with acute febrile illness? I can see Alcatraz from the window! XYZ acquired ABC yesterday ABC has been taken over by XYZ Where is Citizen Kane playing in SF? Castro Theatre at 7:30. Do you want a ticket? The S&P500 jumped
  • 7. Dan Jurafsky Ambiguity makes NLP hard: “Crash blossoms” Violinist Linked to JAL Crash Blossoms Teacher Strikes Idle Kids Red Tape Holds Up New Bridges Hospitals Are Sued by 7 Foot Doctors Juvenile Court to Try Shooting Defendant Local High School Dropouts Cut in Half
  • 8. Dan Jurafsky Ambiguity is pervasive Fed raises interest rates New York Times headline (17 May 2000) Fed raises interest rates Fed raises interest rates 0.5%
  • 9. Dan Jurafsky In-video quizzes! • Most lectures will include a little quiz • Just to check basic understanding • Simple, multiple-choice. • You can retake them if you get them wrong 9
  • 10. Dan Jurafsky non-standard English Great job @justinbieber! Were SOO PROUD of what youve accomplished! U taught us 2 #neversaynever & you yourself should never give up either♥ segmentation issues idioms dark horse get cold feet lose face throw in the towel neologisms unfriend Retweet bromance tricky entity names Where is A Bug’s Life playing … Let It Be was recorded … … a mutation on the for gene … world knowledge Mary and Sue are sisters. Mary and Sue are mothers. But that’s what makes it fun! the New York-New Haven Railroad the New York-New Haven Railroad Why else is natural language understanding difficult?
  • 11. Dan Jurafsky Making progress on this problem… • The task is difficult! What tools do we need? • Knowledge about language • Knowledge about the world • A way to combine knowledge sources • How we generally do this: • probabilistic models built from language data • P(“maison”  “house”) high • P(“L’avocat général”  “the general avocado”) low • Luckily, rough text features can often do half the job.
  • 12. Dan Jurafsky This class • Teaches key theory and methods for statistical NLP: • Viterbi • Naïve Bayes, Maxent classifiers • N-gram language modeling • Statistical Parsing • Inverted index, tf-idf, vector models of meaning • For practical, robust real-world applications • Information extraction • Spelling correction • Information retrieval • Sentiment analysis
  • 13. Dan Jurafsky Skills you’ll need • Simple linear algebra (vectors, matrices) • Basic probability theory • Java or Python programming • Weekly programming assignments
  • 14. Introduction to NLP What is Natural Language Processing?