1 Natural Language Processing INTRODUCTION Husni Al-Muhtaseb Tuesday, February 20, 2007.

Slides:



Advertisements
Similar presentations
Statistical NLP: Lecture 3
Advertisements

Oct 2009HLT1 Human Language Technology Overview. Oct 2009HLT2 Acknowledgement Material for some of these slides taken from J Nivre, University of Gotheborg,
LING NLP 1 Introduction to Computational Linguistics Martha Palmer April 19, 2006.
For Monday Read Chapter 23, sections 3-4 Homework –Chapter 23, exercises 1, 6, 14, 19 –Do them in order. Do NOT read ahead.
1 Words and the Lexicon September 10th 2009 Lecture #3.
Natural Language and Speech Processing Creation of computational models of the understanding and the generation of natural language. Different fields coming.
NLP and Speech Course Review. Morphological Analyzer Lexicon Part-of-Speech (POS) Tagging Grammar Rules Parser thethe – determiner Det NP → Det.
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
Introduction to CL Session 1: 7/08/2011. What is computational linguistics? Processing natural language text by computers  for practical applications.
Natural Language Query Interface Mostafa Karkache & Bryce Wenninger.
تمرين شماره 1 درس NLP سيلابس درس NLP در دانشگاه هاي ديگر ___________________________ راحله مکي استاد درس: دکتر عبدالله زاده پاييز 85.
Artificial Intelligence 2004 Natural Language Processing - Syntax and Parsing - Language Syntax Parsing.
Syntax Nuha AlWadaani.
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing INTRODUCTION Muhammed Al-Mulhem March 1, 2009.
8/19/20151 بسم الله الرحمن الرحيم ICS 482 Natural Language Processing Lecture 24: Project Ideas + Students Presentations Husni Al-Muhtaseb.
Lecture 1, 7/21/2005Natural Language Processing1 CS60057 Speech &Natural Language Processing Autumn 2005 Lecture 1 21 July 2005.
9/8/20151 Natural Language Processing Lecture Notes 1.
Introduction to Natural Language Processing Heshaam Faili University of Tehran.
CCSB354 ARTIFICIAL INTELLIGENCE (AI)
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
1 Natural Language Processing Gholamreza Ghassem-Sani.
Computational Linguistics INTroduction
For Monday Read chapter 23, sections 1-2 FOIL exercise due.
For Friday Finish chapter 23 Homework: –Chapter 22, exercise 9.
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 Introduction. 2 Natural Language Processing We’re going to study what goes into getting computers to perform useful and interesting.
Natural Language Processing Rogelio Dávila Pérez Profesor – Investigador
Chapter 15 Natural Language Processing (cont)
Natural Language Processing Artificial Intelligence CMSC February 28, 2002.
Introduction to CL & NLP CMSC April 1, 2003.
1 CSI 5180: Topics in AI: Natural Language Processing, A Statistical Approach Instructor: Nathalie Japkowicz Objectives of.
1 Prof.Roseline WEEK-4 LECTURE -4 SYNTAX. 2 Prof.Roseline Syntax Concentrate on the structure and ordering of components within a sentence Greater focus.
For Wednesday Read chapter 23 Homework: –Chapter 22, exercises 1,4, 7, and 14.
October 2005CSA3180 NLP1 CSA3180 Natural Language Processing Introduction and Course Overview.
Linguistic Essentials
CSA2050 Introduction to Computational Linguistics Lecture 1 Overview.
Introduction to Dialogue Systems. User Input System Output ?
CSA2050 Introduction to Computational Linguistics Lecture 1 What is Computational Linguistics?
ICS 482: Natural language Processing Pre-introduction
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
PARSING 2 David Kauchak CS159 – Spring 2011 some slides adapted from Ray Mooney.
For Monday Read chapter 26 Last Homework –Chapter 23, exercise 7.
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.
Natural Language Processing Chapter 1 : Introduction.
CS460/IT632 Natural Language Processing/Language Technology for the Web Lecture 1 (03/01/06) Prof. Pushpak Bhattacharyya IIT Bombay Introduction to Natural.
CPSC 422, Lecture 27Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 27 Nov, 16, 2015.
SYNTAX.
1 An Introduction to Computational Linguistics Mohammad Bahrani.
Natural Language Processing (NLP)
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
NATURAL LANGUAGE PROCESSING
SYNTAX.
10/31/00 1 Introduction to Cognitive Science Linguistics Component Topic: Formal Grammars: Generating and Parsing Lecturer: Dr Bodomo.
Natural Language Processing [05 hours/week, 09 Credits] [Theory]
SYNTAX.
Natural Language Processing
Chapter Eight Syntax.
CS416 Compiler Design lec00-outline September 19, 2018
Chapter Eight Syntax.
Natural Language - General
Natural Language Processing
CS416 Compiler Design lec00-outline February 23, 2019
Artificial Intelligence 2004 Speech & Natural Language Processing
Natural Language Processing (NLP) Chapter One Introduction to Natural Language Processing(NLP)
Presentation transcript:

1 Natural Language Processing INTRODUCTION Husni Al-Muhtaseb Tuesday, February 20, 2007

2 بسم الله الرحمن الرحيم ICS 482: Natural Language Processing INTRODUCTION Husni Al-Muhtaseb Tuesday, February 20, 2007

2/20/2007Husni Al-Muhtaseb3 Course Description To introduce students to different issues concerning the creation of computer programs that can interpret, generate, and learn natural language. Among the issues that will be discussed are: syntactic processing, semantic interpretation, discourse processing, knowledge representation and the acquisition of grammatical and lexical knowledge. The primary emphasis of this course is on text-based language processing (not speech).

2/20/2007Husni Al-Muhtaseb4 Prerequisite Senior Standing in ICS major Mastering at least one programming language

2/20/2007Husni Al-Muhtaseb5 Instructor Name: Husni Al-Muhtaseb Office: Bldg. 22 Room 311 Phone #: web :

2/20/2007Husni Al-Muhtaseb6 Office Hours Sunday, Monday & Tuesday 11:20 -11:50 Sunday, Monday & Tuesday 12:20 – 01:00

2/20/2007Husni Al-Muhtaseb7 Electronic mail External one Clear name. Sign always or Shouting: SALAM virsus salam Symbols :-) :-(  Read before sending

2/20/2007Husni Al-Muhtaseb8 Online course site Material & Notes Assignments and Submission (Assign. 1 is there) Discussions & participation Mail Grades

2/20/2007Husni Al-Muhtaseb9 Grading Policy CategoryWeight Assignments0% Quizzes (4)28% Project25% Presenting a Topic10% Participation12% Final Exam25% Total100 %

2/20/2007Husni Al-Muhtaseb10 Quizzes 30 minutes Announced at least 2 days before In class time

2/20/2007Husni Al-Muhtaseb11 Textbook Speech And Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition, By Daniel Jurafsky and James H. Martin, Prentice-Hall, Several Chapters have been re-written & re- numbered Visit Book website

2/20/2007Husni Al-Muhtaseb12 Tentative Weekly Schedule ActivityTextbook Chapters TopicW# 1Introduction1 2Regular Expressions & Automata2 3Morphology & Finite State Transducers3 Quiz 16N-Grams4 8 + external Material Parts of Speech5 9 & 10Syntax & Context-free grammars - Parsing 6 Quiz 211Lexicalized and Probabilistic Parsing7

2/20/2007Husni Al-Muhtaseb13 Tentative Weekly Schedule ActivityChaptersTopicW# 14Semantic Representation & Representing Meaning 8 15 & 16Semantic analysis & lexical Semantics9 Quiz 3Wrap up10 21Machine Translation11 Ext. Mat.Information Extraction12 Quiz 4 - Take- home Students' presentations13-15

2/20/2007Husni Al-Muhtaseb14 Questions NLP: Natural Language Processing NLU: Natural Language Understanding NLC: Natural Language Computing HLP: Human Language Processing HLU: Human Language Understanding HLC: Human Language Computing CL: Computational Linguistics

2/20/2007Husni Al-Muhtaseb15 The sub-domain of artificial intelligence concerned with the task of developing programs possessing some capability of ‘understanding’ a natural language in order to achieve some specific goal NLP A transformation from one representation ( the input text ) to another ( internal representation )

2/20/2007Husni Al-Muhtaseb16 Applications Machine Translation Database Interface Report Abstraction Story Understanding

2/20/2007Husni Al-Muhtaseb17 Morphological Analysis Individual words are analyzed into their components Morphological Analysis Individual words are analyzed into their components Syntactic Analysis Linear sequences of words are transformed into structures that show how the words relate to each other Syntactic Analysis Linear sequences of words are transformed into structures that show how the words relate to each other Discourse Analysis Resolving references Between sentences Discourse Analysis Resolving references Between sentences Pragmatic Analysis To reinterpret what was said to what was actually meant Pragmatic Analysis To reinterpret what was said to what was actually meant Semantic Analysis A transformation is made from the input text to an internal representation that reflects the meaning Semantic Analysis A transformation is made from the input text to an internal representation that reflects the meaning

2/20/2007Husni Al-Muhtaseb18 The Steps in NLP **we can go up, down and up and down and combine steps too!! **every step is equally complex

2/20/2007Husni Al-Muhtaseb19 The steps in NLP (Cont.) Morphology: Concerns the way words are built up from smaller meaning bearing units. Syntax: concerns how words are put together to form correct sentences and what structural role each word has Semantics: concerns what words mean and how these meanings combine in sentences to form sentence meanings

2/20/2007Husni Al-Muhtaseb20 The steps in NLP (Cont.) Pragmatics: concerns how sentences are used in different situations and how use affects the interpretation of the sentence Discourse: concerns how the immediately preceding sentences affect the interpretation of the next sentence

2/20/2007Husni Al-Muhtaseb21 Parsing (Syntactic Analysis) Assigning a syntactic and logical form to an input sentence uses knowledge about word and word meanings (lexicon) uses a set of rules defining legal structures (grammar) Ahmad ate the apple. (S (NP (NAME Ahmad)) (VP (V ate) (NP (ART the) (N apple))))

2/20/2007Husni Al-Muhtaseb22 Word Sense Resolution Many words have many meanings or senses We need to resolve which of the senses of an ambiguous word is invoked in a particular use of the word I made her duck. (made her a bird for lunch or made her move her head quickly downwards?)

2/20/2007Husni Al-Muhtaseb23 Reference Resolution Domain Knowledge (Registration transaction) Discourse Knowledge World Knowledge U: I would like to register in an IAS Course. S: Which number? U: Make it 333. S: Which section? U: Which section starts at 7:00 am? S: section 5. U: Then make it that section.

2/20/2007Husni Al-Muhtaseb24 I want to print Ali ’ s.init file I (pronoun) want (verb) to (prep) to(infinitive) print (verb) Ali (noun) ‘ s (possessive).init (adj) file (noun) file (verb) Surface form stems

2/20/2007Husni Al-Muhtaseb25 I (pronoun) want (verb) to (prep) to(infinitive) print (verb) Ali (noun) ‘ s (possessive).init (adj) file (noun) file (verb) S NP VP NP VP S V PRO V ADJ N I want Iprint Ali’s.initfile stems Parse tree

2/20/2007Husni Al-Muhtaseb26 S NP VP NP VP S V PRO V ADJ N I want Iprint Ali’s.initfile Parse tree I wantprint Ali.init file who what who Who’s what type Semantic Net

2/20/2007Husni Al-Muhtaseb27 I wantprint Ali.init file who what who Who’s what type Semantic Net To whom the pronoun ‘I’ refers To whom the proper noun ‘Ali’ refers What are the files to be printed Execute the command lpr /ali/stuff.init

2/20/2007Husni Al-Muhtaseb28 Morphologic al Analysis Syntactic Analysis Semantic Analysis Discourse Analysis Pragmatic Analysis Internal representatio n lexicon user Surface form Perform action stems parse tree Resolve references

2/20/2007Husni Al-Muhtaseb29 Fruit flies like to feast on a banana; in contrast, the species of flies known as “time flies” like an arrow. Time passes along in the same manner as an arrow gliding through space. I order you to take timing measurements on flies, in the same manner as you would time an arrow. (other different meanings) more than one meaning for the same sentence Time flies like an arrow

2/20/2007Husni Al-Muhtaseb30 The boy saw the man on the mountain with a telescope Prepositional phrase attachment

2/20/2007Husni Al-Muhtaseb31 I made her duck Bengali history teacher Short men and women Visiting relatives can be boring The chicken is ready to eat Ali knows a richer man than Ahmad Record the signal strength at the wire under normal load We eat what we can, and what we can not we can

2/20/2007Husni Al-Muhtaseb32

2/20/2007Husni Al-Muhtaseb33 A program

2/20/2007Husni Al-Muhtaseb34 Lexicon is a vocabulary data bank, that contains the language words and their linguistic information. There are many on-line lexicon WordNet is a lexical database that contains English vocabulary words COULD WE HAVE ONE FOR ARABIC?

2/20/2007Husni Al-Muhtaseb35 Simple Applications Word counters (wc in UNIX) Spell Checkers, grammar checkers Predictive Text on mobile handsets

2/20/2007Husni Al-Muhtaseb36 Bigger Applications Intelligent computer systems NLU interfaces to databases Computer aided instruction Information retrieval Intelligent Web searching Data mining Machine translation Speech recognition Natural language generation Question answering

2/20/2007Husni Al-Muhtaseb37 Spoken Dialogue System Speech Synthesis Speech Recognition Semantic Interpretation Response Generation Dialogue Management Discourse Interpretation UserUser

2/20/2007Husni Al-Muhtaseb38 Parts of the Spoken Dialogue System Signal Processing: Convert the audio wave into a sequence of feature vectors. Speech Recognition: Decode the sequence of feature vectors into a sequence of words. Semantic Interpretation: Determine the meaning of the words. Discourse Interpretation: Understand what the user intends by interpreting utterances in context. Dialogue Management: Determine system goals in response to user utterances based on user intention. Speech Synthesis: Generate synthetic speech as a response.

2/20/2007Husni Al-Muhtaseb39 Levels of Sophistication in a Dialogue System Touch-tone replacement: System Prompt: "For checking information, press or say one." Caller Response: "One." Directed dialogue: System Prompt: "Would you like checking account information or rate information?" Caller Response: "Checking", or "checking account," or "rates." Natural language: System Prompt: "What transaction would you like to perform?" Caller Response: "Transfer Rs. 500 from checking to savings. “

2/20/2007Husni Al-Muhtaseb40 Thank you