1 / 28

Pushpak Bhattacharyya CSE Dept., IIT Bombay

CS460/449 : Speech, Natural Language Processing and the Web/Topics in AI Programming (Lecture 1 – Introduction). Pushpak Bhattacharyya CSE Dept., IIT Bombay. Persons involved. Faculty instructor: Dr. Pushpak Bhattacharyya ( www.cse.iitb.ac.in/~pb )

Download Presentation

Pushpak Bhattacharyya CSE Dept., IIT Bombay

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS460/449 : Speech, Natural Language Processing and the Web/Topics in AI Programming (Lecture 1 – Introduction) Pushpak BhattacharyyaCSE Dept., IIT Bombay

  2. Persons involved • Faculty instructor: Dr. Pushpak Bhattacharyya (www.cse.iitb.ac.in/~pb) • Areas of Expertise: Natural Language Processing, Machine Learning • TAs: Prithviraj (prithviraj@cse) and Debraj (debraj@cse) • Course home page (to be created) • www.cse.iitb.ac.in/~cs626-449-2009

  3. Time and Venue • Slot-3 • Old CSE: S9 (top floor) • Mo- 10.30, Tu- 11.30, Th- 8.30

  4. Perpectivising NLP: Areas of AI and their inter-dependencies Knowledge Representation Search Logic Machine Learning Planning Expert Systems NLP Vision Robotics AI is the forcing function for Computer Science

  5. Web brings new perspectives: QSA Triangle Query Analystics Search

  6. What is NLP • Branch of AI • 2 Goals • Science Goal: Understand the way language operates • Engineering Goal: Build systems that analyse and generate language; reduce the man machine gap

  7. The famous Turing Test: Language Based Interaction Test conductor Machine Human Can the test conductor find out which is the machine and which the human

  8. Inspired Eliza • http://www.manifestation.com/neurotoys/eliza.php3

  9. Inspired Eliza (another sample interaction) • A Sample of Interaction:

  10. Ambiguity This is what makes NLP challenging: The Crux of the problem

  11. Stages of language processing • Phonetics and phonology • Morphology • Lexical Analysis • Syntactic Analysis • Semantic Analysis • Pragmatics • Discourse

  12. Phonetics • Processing of speech • Challenges • Homophones: bank (finance) vs. bank (river bank) • Near Homophones: maatraa vs. maatra (hin) • Word Boundary • aajaayenge (aa jaayenge (will come) or aaj aayenge (will come today) • I got [ua]plate • Phrase boundary • mtech1 students are especially exhorted to attend as such seminars are integral to one's post-graduate education • Disfluency: ah, um, ahem etc.

  13. Morphology • Word formation rules from root words • Nouns: Plural (boy-boys); Gender marking (czar-czarina) • Verbs: Tense (stretch-stretched); Aspect (e.g. perfective sit-had sat); Modality (e.g. request khaanaa khaaiie) • First crucial first step in NLP • Languages rich in morphology: e.g., Dravidian, Hungarian, Turkish • Languages poor in morphology: Chinese, English • Languages with rich morphology have the advantage of easier processing at higher stages of processing • A task of interest to computer science: Finite State Machines for Word Morphology

  14. Lexical Analysis • Essentially refers to dictionary access and obtaining the properties of the word e.g. dog noun (lexical property) take-’s’-in-plural (morph property) animate (semantic property) 4-legged (-do-) carnivore (-do) Challenge: Lexical or word sense disambiguation

  15. Lexical Disambiguation First step: part of Speech Disambiguation • Dog as a noun (animal) • Dog as a verb (to pursue) Sense Disambiguation • Dog (as animal) • Dog (as a very detestable person) Needs word relationships in a context • The chair emphasised the need for adult education Very common in day to day communications Satellite Channel Ad: Watch what you want, when you want (two senses of watch) e.g., Ground breaking ceremony/research

  16. Technological developments bring in new terms, additional meanings/nuances for existing terms • Justify as in justify the right margin (word processing context) • Xeroxed: a new verb • Digital Trace: a new expression • Communifaking: pretending to talk on mobile when you are actually not • Discomgooglation: anxiety/discomfort at not being able to access internet • Helicopter Parenting: over parenting

  17. Syntax Processing Stage Structure Detection S VP NP V NP I like mangoes

  18. Challenges in Syntactic Processing: Structural Ambiguity • Scope 1.The old men and women were taken to safe locations (old men and women) vs. ((old men) and women) 2. No smoking areas will allow Hookas inside • Preposition Phrase Attachment • I saw the boy with a telescope (who has the telescope?) • I saw the mountain with a telescope (world knowledge: mountain cannot be an instrument of seeing) • I saw the boy with the pony-tail (world knowledge: pony-tail cannot be an instrument of seeing) Very ubiquitous: newspaper headline “20 years later, BMC pays father 20 lakhs for causing son’s death”

  19. Structural Ambiguity… • Overheard • I did not know my PDA had a phone for 3 months • An actual sentence in the newspaper • The camera man shot the man with the gun when he was near Tendulkar • (P.G. Wodehouse, Ring in Jeeves) Jill had rubbed ointment on Mike the Irish Terrier, taken a look at the goldfish belonging to the cook, which had caused anxiety in the kitchen by refusing its ant’s eggs… • (Times of India, 26/2/08) Aid for kins of cops killed in terrorist attacks

  20. Higher level knowledge needed for disambiguation Semantics I saw the boy with a pony tail (pony tail cannot be an instrument of seeing) Pragmatics ((old men) and women) as opposed to (old men and women) in “Old men and women were taken to safe location”, since women- both and young and old- were very likely taken to safe locations Discourse: No smoking areas allow hookas inside, except the one in Hotel Grand. No smoking areas allow hookas inside, but not cigars.

  21. Headache for Parsing: Garden Path sentences • Garden Pathing • The horse raced past the garden fell. • The old man the boat. • Twin Bomb Strike in Baghdad kill 25 (Times of India 05/09/07)

  22. Semantic Analysis • Representation in terms of • Predicate calculus/Semantic Nets/Frames/Conceptual Dependencies and Scripts • John gave a book to Mary • Give action: Agent: John, Object: Book, Recipient: Mary • Challenge: ambiguity in semantic role labeling • (Eng) Visiting aunts can be a nuisance • (Hin) aapko mujhe mithaai khilaanii padegii (ambiguous in Marathi and Bengali too; not in Dravidian languages)

  23. Pragmatics • Very hard problem • Model user intention • Tourist (in a hurry, checking out of the hotel, motioning to the service boy): Boy, go upstairs and see if my sandals are under the divan. Do not be late. I just have 15 minutes to catch the train. • Boy (running upstairs and coming back panting): yes sir, they are there. • World knowledge • WHY INDIA NEEDS A SECOND OCTOBER (ToI, 2/10/07)

  24. Discourse Processing of sequence of sentences Mother to John: John go to school. It is open today. Should you bunk? Father will be very angry. Ambiguity of open bunk what? Why will the father be angry? Complex chain of reasoning and application of world knowledge Ambiguity of father father as parent or father as headmaster

  25. Complexity of Connected Text John was returning from school dejected – today was the math test He couldn’t control the class Teacher shouldn’t have made him responsible After all he is just a janitor

  26. Two Views of NLP Classical View Statistical/Machine Learning View

  27. Books etc. • Main Text(s): • Natural Language Understanding: James Allan • Speech and NLP: Jurafsky and Martin • Foundations of Statistical NLP: Manning and Schutze • Other References: • NLP a Paninian Perspective: Bharati, Chaitanya and Sangal • Statistical NLP: Charniak • Journals • Computational Linguistics, Natural Language Engineering, AI, AI Magazine, IEEE SMC • Conferences • ACL, EACL, COLING, MT Summit, EMNLP, IJCNLP, HLT, ICON, SIGIR, WWW, ICML, ECML

  28. Grading • Based on • Midsem • Endsem • Assignments • Seminar and/or project Except the first two everything else in groups of 4. Weightages will be revealed soon.

More Related