+ Natural Language Processing CS151 David Kauchak.

Slides:



Advertisements
Similar presentations
Introduction to Computational Linguistics
Advertisements

Introduction to Computational Linguistics
Introduction to Statistical Machine Translation Philipp Koehn USC/Information Sciences Institute USC/Computer Science Department School of Informatics.
Translation Models Philipp Koehn USC/Information Sciences Institute USC/Computer Science Department School of Informatics University of Edinburgh Some.
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:
The Unreasonable Effectiveness of Data Alon Halevy, Peter Norvig, and Fernando Pereira Kristine Monteith May 1, 2009 CS 652.
Search Engines and Information Retrieval
1 Natural Language Processing for the Web Prof. Kathleen McKeown 722 CEPSR, Office Hours: Wed, 1-2; Mon 3-4 TA: Fadi Biadsy 702 CEPSR,
Properties of Text CS336 Lecture 3:. 2 Information Retrieval Searching unstructured documents Typically text –Newspaper articles –Web pages Other documents.
Machine Learning in Natural Language Processing Noriko Tomuro November 16, 2006.
Natural Language Processing Prof: Jason Eisner Webpage: syllabus, announcements, slides, homeworks.
Programming. Software is made by programmers Computers need all kinds of software, from operating systems to applications People learn how to tell the.
Natural Language Processing Ellen Back, LIS489, Spring 2015.
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.
SI485i : NLP Day 1 Intro to NLP. Assumptions about You You know… how to program Java basic UNIX usage basic probability and statistics (we’ll also review)
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
Computer Programming My Home Page My Paper Job Description Computer programmers write, test, and maintain the detailed instructions, called programs,
PARSING David Kauchak CS457 – Fall 2011 some slides adapted from Ray Mooney.
Overview of the Course. Critical Facts Welcome to CISC 672 — Advanced Compiler Construction Instructor: Dr. John Cavazos Office.
CS598CXZ Course Summary ChengXiang Zhai Department of Computer Science University of Illinois, Urbana-Champaign.
9/8/20151 Natural Language Processing Lecture Notes 1.
Introduction to Natural Language Processing Heshaam Faili University of Tehran.
1 Ling 569: Introduction to Computational Linguistics Jason Eisner Johns Hopkins University Tu/Th 1:30-3:20 (also this Fri 1-5)
Search Engines and Information Retrieval Chapter 1.
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
+. + Natural Language Processing CS159 – Fall 2014 David Kauchak.
For Friday Finish chapter 23 Homework: –Chapter 22, exercise 9.
Introduction GAM 376 Robin Burke Winter Outline Introductions Syllabus.
CFGS – TAKE 2 David Kauchak CS30 – Spring Admin Today’s mentor hours moved to 6-8pm Assignment 4 graded Assignment 5 - how’s it going? - part A.
1 Computational Linguistics Ling 200 Spring 2006.
CS 4705 Natural Language Processing Fall 2010 What is Natural Language Processing? Designing software to recognize, analyze and generate text and speech.
Natural Language Processing Guangyan Song. What is NLP  Natural Language processing (NLP) is a field of computer science and linguistics concerned with.
GRAMMARS David Kauchak CS159 – Fall 2014 some slides adapted from Ray Mooney.
CHAPTER 13 NATURAL LANGUAGE PROCESSING. Machine Translation.
PARSING David Kauchak CS159 – Spring 2011 some slides adapted from Ray Mooney.
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.
WIRED Week 3 Syllabus Update (next week) Readings Overview - Quick Review of Last Week’s IR Models (if time) - Evaluating IR Systems - Understanding Queries.
October 2005CSA3180 NLP1 CSA3180 Natural Language Processing Introduction and Course Overview.
NACLO 2008 North American Computation Linguistics Olympiad Brandeis CL Olympiad Team James Pustejovsky Tai Sassen-Liang Sharone Horowit-Hendler Noam Sienna.
CSA2050 Introduction to Computational Linguistics Lecture 1 Overview.
Natural Language Processing Menu Based Natural Language Interfaces -Kyle Neumeier.
PARSING 2 David Kauchak CS159 – Spring 2011 some slides adapted from Ray Mooney.
For Monday Read chapter 24, sections 1-3 Homework: –Chapter 23, exercise 8.
For Monday Read chapter 26 Last Homework –Chapter 23, exercise 7.
CSE467/567 Computational Linguistics Carl Alphonce Computer Science & Engineering University at Buffalo.
CS 188: Artificial Intelligence Spring 2009 Natural Language Processing Dan Klein – UC Berkeley 1.
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.
Higher Vision, language and movement. Strong AI Is the belief that AI will eventually lead to the development of an autonomous intelligent machine. Some.
Drawing Trees & Ambiguity in Trees
1 An Introduction to Computational Linguistics Mohammad Bahrani.
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
Overview of Statistical NLP IR Group Meeting March 7, 2006.
Basics of Natural Language Processing Introduction to Computational Linguistics.
PARSING David Kauchak CS159 – Fall Admin Assignment 3 Quiz #1  High: 36  Average: 33 (92%)  Median: 33.5 (93%)
/665 Natural Language Processing
Machine Learning in Natural Language Processing
Internet and Community Resources
Natural Language Processing
CS246: Information Retrieval
Natural Language Processing
David Kauchak CS159 – Spring 2019
Tokenizing Search/regex Statistics
Presentation transcript:

+ Natural Language Processing CS151 David Kauchak

+ Who are you and why are you here? Name/nickname Dept., college and year Why are you taking this course? What topics would you like to see covered?

+ Administrivia Office hours, schedule, assigned readings, assignments Everything will be posted there Read the “administrivia” handout! ~5 assignments (in a variety of languages) 4 quizzes (dates are tentative) in-class presentation final project for the last month teams of 2-3 people research-like with write-up and presentation class participation readings Academic honesty and collaboration

+ Administrivia First assignment posted already Shouldn’t take too long Due Monday at the beginning of class CS colloquium tomorrow Text simplification 4:15pm Rose Hill Theatre CS accounts

+ What to expect… This course will be challenging for many of you assignments will be non-trivial content can be challenging But it is a fun field! We’ll cover basic linguistics probability the common problems many techniques and algorithms common learning techniques applications

+ Requirements and goals Requirements Competent programmer Mostly in Java, but I may allow/encourage other languages Comfortable with mathematical thinking We’ll use a fair amount of probability, which I will review Other basic concepts, like logs, summation, etc. Data structures trees, hashtables, etc. Goals Learn the problems and techniques of NLP Build real NLP tools Understand what the current research problems are in the field

+ What is NLP? Natural language processing (NLP) is a field of computer science and linguistics concerned with the interactions between computers and human (natural) languages. - Wikipedia

+ What is NLP? The goal of this new field is to get computers to perform useful tasks involving human language… - The book

+ Key: Natural text Natural text is written by people, generally for people “A growing number of businesses are making Facebook an indispensible part of hanging out their shingles. Small businesses are using …” Why do we even care about natural text in computer science?

+ Why do we need computers for dealing with natural text?

+ Web is just the start… corporate databases 27 million tweets a day Blogs: 126 million different blogs 247 billion s a day

+ Why is NLP hard? Iraqi Head Seeks Arms Juvenile Court to Try Shooting Defendant Stolen Painting Found by Tree Kids Make Nutritious Snacks Local HS Dropouts Cut in Half Obesity Study Looks for Larger Test Group British Left Waffles on Falkland Islands Red Tape Holds Up New Bridges Hospitals Are Sued by 7 Foot Doctors

+ Why is NLP hard? User: Where is The Green Hornet playing in the Claremont Area? System: The Green Hornet is playing at the Ontario Mills theatre. User: When is it playing there? System: It’s playing at 2pm, 5pm and 8pm User: I’d like 1 adult and 2 children for the first show. How much would that cost?

+ Why is NLP hard? Natural language: is highly ambiguous at many different levels is complex and contains subtle use of context to convey meaning is probabilistic? involves reasoning about the world is highly social is a key part in how people interact However, some NLP problems can be surprisingly easy

+ Different levels of NLP words: morphology, classes of words syntax: phrases, how do words interact semantics: what does it mean? pragmatics/discourse: how does the context affect the interpretation?

+ NLP problems and applications What are some places where you have seen NLP used? What are NLP problems?

+ NLP problems and applications Lots of problems of varying difficulty Easier Word segmentation: where are the words? Speech segmentation Sentence splitting (aka sentence breaking, sentence boundary disambiguation) Language identification I would’ve like Dr. Kauchak to finish early. But he didn’t. Soy un profesor con queso.

+ NLP problems and applications Easier continued truecasing spell checking OCR i would’ve like dr. kauchak to finish early. but he didn’t. Identifying mispellings is challenging especially in the dessert.

+ NLP problems and applications Moderately difficult morphological analysis/stemming speech recognition text classification smarter smartly smartest smart SPAM  sentiment analysis

+ NLP problems and applications moderately difficult continued text segmentation: break up the text by topics part of speech tagging (and inducing word classes) parsing I eat sushi with tuna PRP NP VNINN PP NP VP S

+ NLP problems and applications moderately difficult continued word sense disambiguation grammar correction speech synthesis As he walked along the side of the stream, he spotted some money by the bank. The money had gotten muddy from being so close to the water.

+ NLP problems and applications Hard (many of these contain many smaller problems) Machine translation 美国关岛国际机场及其办公室均接获一 名自称沙地阿拉伯富商拉登等发出的电 子邮件,威胁将会向机场等公众地方发 动生化袭击後,关岛经保持高度戒备。 The U.S. island of Guam is maintaining a high state of alert after the Guam airport and its offices both received an from someone calling himself the Saudi Arabian Osama bin Laden and threatening a biological/chemical attack against public places such as the airport.

+ NLP problems and applications Information extraction IBM hired Fred Smith as president.

+ NLP problems and applications Summarization

+ NLP problems and applications Natural language understanding Text => semantic representation (e.g. logic, probabilistic relationships) Information retrieval and question answering "How many programmers in the child care department make over $50,000?” “Who was the fourteenth president?” “How did he die?”

+ NLP problems and applications Text simplification Alfonso Perez Munoz, usually referred to as Alfonso, is a former Spanish footballer, in the striker position. Alfonso Perez is a former Spanish football player.

+ Where are we now? Many of the “easy” and “medium” problems have reasonable solutions spell checkers sentence splitters word segementers/tokenizers

+ Where are we now? Parsing Stanford Parser (

+ Where are we now? Machine translation Getting better every year enough to get the jist of most content, but still no where near a human translation better for some types of text translate.google.com Many commercial versions… systran language weaver

+ Where are we now? Information retrieval/query answering search engines: pretty good for some things does mostly pattern matching and ranking no deep understanding still requires user to “find” the answer

+ Where are we now? Question answering wolfram alpha

+ Where are we now? Question answering wolfram alpha

+ Where are we now? Question answering Many others… TREC question answering competition language computer corp answerbus

+ Where are we now? Information extraction Structured documents (very good!) AKT technologies Lots of these FlipDog WhizBang! Labs … work fairly well

+ Where are we now? Summarization NewsBlaster (Columbia)

+ Where are we now? Voice recognition pretty good, particularly with speaker training Apple OS has one built in: “What time is it?” “Switch to finder” “Hide this application” IBM ViaVoice Dragon Naturally Speaking Speech generation The systems can generate the words, but getting the subtle nuances right is still tricky Apple OS – select text: CMD+SHIFT+T translate.google.com