Statistical Parsing and CKY Algorithm

Size: px
Start display at page:

Download "Statistical Parsing and CKY Algorithm"

Transcription

1 tatistical Parsing and CKY Algorithm Instructor: Wei Xu Ohio tate University Many slides from Ray Mooney and Michael Collins

2 TA Office Hours for HW#2 Dreese 390: - 03/28 Tue 10:00AM-12:00 noon - 03/30 Thu 10:00AM-12:00 noon - 04/04 Tue 10:00AM-12:00 noon Wuwei Lan Readings: - textbook - slide #28,29.30: _slides_spring17/15_more_memm.pdf

3 yntax yntactic Parsing

4 Parsing Given a string of terminals and a CFG, determine if the string can be generated by the CFG: - also return a parse tree for the string - also return all possible parse trees for the string Must search space of derivations for one that derives the given string. - Top-Down Parsing - Bottom-Up Parsing

5 imple CFG for ATI English Grammar Aux Pronoun Proper- Det Nominal Nominal Nominal Nominal Nominal Nominal PP Verb Verb PP PP Prep Lexicon Det the a that this book flight meal money Verb book include prefer Pronoun I he she me Proper- Houston NWA Aux does Prep from to on near through

6 Parsing Example book that flight Verb book Det Nominal that flight

7 Top Down Parsing tart searching space of derivations for the start symbol. Pronoun

8 Top Down Parsing Pronoun X book

9 Top Down Parsing Proper

10 Top Down Parsing Proper X book

11 Top Down Parsing Det Nominal

12 Top Down Parsing Det X book Nominal

13 Top Down Parsing Aux

14 Top Down Parsing Aux X book

15 Top Down Parsing

16 Top Down Parsing Verb

17 Top Down Parsing Verb book

18 Top Down Parsing Verb book X that

19 Top Down Parsing Verb

20 Top Down Parsing Verb book

21 Top Down Parsing Verb book Pronoun

22 Top Down Parsing Verb book Pronoun X that

23 Top Down Parsing Verb book Proper

24 Top Down Parsing Verb book Proper X that

25 Top Down Parsing Verb book Det Nominal

26 Top Down Parsing Verb book Det Nominal that

27 Top Down Parsing Verb book Det Nominal that

28 Top Down Parsing Verb book Det Nominal that flight

29 Bottom Up Parsing tart searching space of reverse derivations from the terminal symbols in the string. book that flight

30 Bottom Up Parsing book that flight

31 Bottom Up Parsing Nominal book that flight

32 Bottom Up Parsing Nominal Nominal book that flight

33 Bottom Up Parsing Nominal Nominal X book that flight

34 Bottom Up Parsing Nominal Nominal PP book that flight

35 Bottom Up Parsing Nominal Nominal PP Det book that flight

36 Bottom Up Parsing Nominal Nominal PP Det Nominal book that flight

37 Bottom Up Parsing Nominal Nominal PP book Det that Nominal flight

38 Bottom Up Parsing Nominal Nominal PP book Det that Nominal flight

39 Bottom Up Parsing Nominal Nominal PP book Det that Nominal flight

40 Bottom Up Parsing Nominal Nominal PP Det Nominal X book that flight

41 Bottom Up Parsing Nominal Nominal PP X book Det that Nominal flight

42 Bottom Up Parsing Verb book Det that Nominal flight

43 Bottom Up Parsing Verb book Det that Nominal flight

44 Bottom Up Parsing Verb book Det that Nominal flight

45 Bottom Up Parsing X Verb book Det that Nominal flight

46 Bottom Up Parsing PP Verb book Det that Nominal flight

47 Bottom Up Parsing PP X Verb book Det that Nominal flight

48 Bottom Up Parsing Verb Det Nominal book that flight

49 Bottom Up Parsing Verb book Det that Nominal flight

50 Bottom Up Parsing Verb book Det that Nominal flight

51 Top Down vs. Bottom Up Top down never explores options that will not lead to a full parse, but can explore many options that never connect to the actual sentence. Bottom up never explores options that do not connect to the actual sentence but can explore options that can never lead to a full parse. Relative amounts of wasted search depend on how much the grammar branches in each direction.

52 yntax CYK Algorithm

53 Dynamic Programming Parsing CKY (Cocke-Kasami-Younger) algorithm based on bottom-up parsing and requires first normalizing the grammar. First grammar must be converted to Chomsky normal form (CNF) in which productions must have either exactly 2 nonterminal symbols on the RH or 1 terminal symbol (lexicon rules). Parse bottom-up storing phrases formed from all substrings in a triangular table (chart).

54 Dynamic Programming a general algorithm design technique for solving problems defined by recurrences with overlapping subproblems first invented by Richard Bellman in 1950s programming here means planning or finding an optimal program, as also seen in the term linear programming Main idea: setup a recurrence of smaller subproblems solve subproblems once and record solutions in a table (avoid any recalculation)

55

56 ATI English Grammar Conversion Original Grammar Aux Pronoun Proper- Det Nominal Nominal Nominal Nominal Nominal Nominal PP Verb Verb PP PP Prep Chomsky Normal Form X1 X1 Aux book include prefer Verb PP I he she me Houston NWA Det Nominal Nominal book flight meal money Nominal Nominal Nominal Nominal PP book include prefer Verb PP PP Prep Note that, although not shown here, original grammar contain all the lexical entires.

57 Exercise

58 CKY Parser i= Book the flight through Houston j= Cell[i,j] contains all constituents (non-terminals) covering words i +1 through j 3 4

59 CKY Parser i= Book the flight through Houston j= Cell[i,j] contains all constituents (non-terminals) covering words i +1 through j 3 4

60 CKY Parser Book the flight through Houston,, Verb, Nominal, None Det Nominal,

61 CKY Parser Book the flight through Houston,, Verb, Nominal, None Det Nominal,

62 CKY Parser Book the flight through Houston,, Verb, Nominal, None Det Nominal,

63 CKY Parser Book the flight through Houston,, Verb, Nominal, None Det Nominal,

64 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Prep

65 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Prep PP Proper

66 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

67 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

68 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

69 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

70 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

71 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Det None Nominal, None Nominal Prep PP Proper

72 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Parse Tree #1 Det None Nominal, None Nominal Prep PP Proper

73 CKY Parser Book the flight through Houston,, Verb, Nominal, None None Parse Tree #2 Det None Nominal, None Nominal Prep PP Proper

74 he announced a program safety in PP trucks and vans he announced a program safety in PP trucks and vans he announced a progra m sa fety in PP trucks and va ns h e announced a program safety in PP trucks and vans he announced a program safe ty in PP trucks and va ns he announced a program safe ty in PP trucks and va ns The Problem with Parsing: Ambiguity IUT: he announced a program to promote safety in trucks and vans POIBLE OUTPUT: + to promote to promote to promote to promote to promote to promote And there are more...

75 yntax Probabilistic Context Free Grammars (PCFG)

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93 split point

94

95 O(n 2 ) for l, i choices O(n 3 N 3 )

96

97 Parsing with Lexicalized CFGs (saw) (man) (saw) DT(the) NN(man) the man (saw) PP(with) Vt(saw) (dog) IN(with) (telescope) saw DT(the) NN(dog) with DT(the) NN(telesc the dog the telescop p(t) = q((saw)! 2 (man) (saw)) q((man)! 2 DT(the) NN(man)) q((saw)! 1 (saw) PP(with)) q((saw)! 1 Vt(saw) (dog)) q(pp(with)! 1 IN(with) (telescope))...

98 yntax Dependency Parsing

99

100

101

102

103

104

105

106

107

Outline. In One Slide. LR Parsing. LR Parsing. No Stopping The Parsing! Bottom-Up Parsing. LR(1) Parsing Tables #2

Outline. In One Slide. LR Parsing. LR Parsing. No Stopping The Parsing! Bottom-Up Parsing. LR(1) Parsing Tables #2 LR Parsing Bottom-Up Parsing #1 Outline No Stopping The Parsing! Bottom-Up Parsing LR Parsing Shift and Reduce LR(1) Parsing Algorithm LR(1) Parsing Tables #2 In One Slide An LR(1) parser reads tokens

More information

Outline. Grammar Formalisms Combinatorial Categorial Grammar (CCG) What is CCG? In a nutshell

Outline. Grammar Formalisms Combinatorial Categorial Grammar (CCG) What is CCG? In a nutshell Outline Grammar Formalisms Combinatorial Categorial Grammar (CCG) Laura Kallmeyer, Timm Lichte, Wolfgang Maier Universität Tübingen 20.06.2007 1 2 3 CCG 1 CCG 2 What is CCG? In a nutshell Combinatory Categorial

More information

Below are four problems which are comparable in organization, complexity and length to the four problems on the upcoming Ling 100 final.

Below are four problems which are comparable in organization, complexity and length to the four problems on the upcoming Ling 100 final. Ling 100 Sample Final Below are four problems which are comparable in organization, complexity and length to the four problems on the upcoming Ling 100 final. Problem 1 Problem 3.4 (Maltese) from the Language

More information

NATURAL LANGUAGE UNDERSTANDING

NATURAL LANGUAGE UNDERSTANDING NATURAL LANGUAGE UNDERSTANDING 1. Introduction to Language Processing Language is one of the most distinctive behaviours that sets humans apart from other animals. Other animals communicate with signals,

More information

CSE101: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD

CSE101: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD Longest increasing subsequence Problem Longest increasing subsequence: You are given a sequence of integers A[1], A[2],..., A[n] and you are asked to find a longest increasing subsequence of integers.

More information

Some notes on Constituency Tests

Some notes on Constituency Tests Some notes on Constituency ests Alan Munn February 25, 2006 Here are some notes on tests for constituency. Remember t best test t something a constituent substitution. Here are some common substitutions

More information

A Comparison of Chinese Parsers for Stanford Dependencies

A Comparison of Chinese Parsers for Stanford Dependencies A Comparison of Chinese Parsers for Stanford Dependencies Wanxiang Che, Valentin I. Spitkovsky and Ting Liu Harbin Institute of Technology Stanford University ACL 2012 July 11, 2012 Che, Spitkovsky, and

More information

Collectives Pattern CS 472 Concurrent & Parallel Programming University of Evansville

Collectives Pattern CS 472 Concurrent & Parallel Programming University of Evansville Collectives Pattern CS 472 Concurrent & Parallel Programming University of Evansville Selection of slides from CIS 410/510 Introduction to Parallel Computing Department of Computer and Information Science,

More information

Two Bracketing Schemes for the Penn Treebank

Two Bracketing Schemes for the Penn Treebank Anssi Yli-Jyrä Two Bracketing Schemes for the Penn Treebank Abstract The trees in the Penn Treebank have a standard representation that involves complete balanced bracketing. In this article, an alternative

More information

NLP, Games, and Robotic Cars

NLP, Games, and Robotic Cars NLP, Games, and Robotic Cars [These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials are available at http://ai.berkeley.edu.] So Far: Foundational

More information

Application Areas of AI Artificial intelligence is divided into different branches which are mentioned below:

Application Areas of AI   Artificial intelligence is divided into different branches which are mentioned below: Week 2 - o Expert Systems o Natural Language Processing (NLP) o Computer Vision o Speech Recognition And Generation o Robotics o Neural Network o Virtual Reality APPLICATION AREAS OF ARTIFICIAL INTELLIGENCE

More information

Unit 12: Artificial Intelligence CS 101, Fall 2018

Unit 12: Artificial Intelligence CS 101, Fall 2018 Unit 12: Artificial Intelligence CS 101, Fall 2018 Learning Objectives After completing this unit, you should be able to: Explain the difference between procedural and declarative knowledge. Describe the

More information

Arithmetic Sequences Read 8.2 Examples 1-4

Arithmetic Sequences Read 8.2 Examples 1-4 CC Algebra II HW #8 Name Period Row Date Arithmetic Sequences Read 8.2 Examples -4 Section 8.2 In Exercises 3 0, tell whether the sequence is arithmetic. Explain your reasoning. (See Example.) 4. 2, 6,

More information

HORIZON HIGH SCHOOL- English Composition, Grammar and Poetry

HORIZON HIGH SCHOOL- English Composition, Grammar and Poetry HORIZON HIGH SCHOOL- English Composition, Grammar and Poetry Materials Creating Poetry, John Drury A Poetry Handbook, Mary Oliver English Warriner, John E. Various Poems drawn from many sources Weeks 1

More information

George Fox University H.S. Programming Contest Division - I 2018

George Fox University H.S. Programming Contest Division - I 2018 General Notes George Fox University H.S. Programming Contest Division - I 2018 1. Do the problems in any order you like. They do not have to be done in order (hint: the easiest problem may not be the first

More information

Cryptanalysis on short messages encrypted with M-138 cipher machine

Cryptanalysis on short messages encrypted with M-138 cipher machine Cryptanalysis on short messages encrypted with M-138 cipher machine Tsonka Baicheva Miroslav Dimitrov Institute of Mathematics and Informatics Bulgarian Academy of Sciences 10-14 July, 2017 Sofia Introduction

More information

Narrative and Conversation. Prof. Jim Whitehead CMPS 80K, Winter 2006 February 17, 2006

Narrative and Conversation. Prof. Jim Whitehead CMPS 80K, Winter 2006 February 17, 2006 Narrative and Conversation Prof. Jim Whitehead CMPS 80K, Winter 2006 February 17, 2006 Upcoming No class Monday President s Day What would it be like to have a video game about Washington, or Lincoln?

More information

SECTION V: SHIFTING TOOLS

SECTION V: SHIFTING TOOLS INDEX of SECTION V: SHIFTING TOOLS PRODUCT DESCRIPTION SHIFTING TOOLS Product Code Page V-0-9 ROTBO w/selective Keys 42 1-3 ROTBO w/positive Keys 42 4-5 ROTBP Selective (Shift Down Only) 142 4-5 ROTD-2

More information

A Historical Example One of the most famous problems in graph theory is the bridges of Konigsberg. The Real Koningsberg

A Historical Example One of the most famous problems in graph theory is the bridges of Konigsberg. The Real Koningsberg A Historical Example One of the most famous problems in graph theory is the bridges of Konigsberg The Real Koningsberg Can you cross every bridge exactly once and come back to the start? Here is an abstraction

More information

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46 Name: CS 331 Midterm Spring 2017 You have 50 minutes to complete this midterm. You are only allowed to use your textbook, your notes, your assignments and solutions to those assignments during this midterm.

More information

CS 540: Introduction to Artificial Intelligence

CS 540: Introduction to Artificial Intelligence CS 540: Introduction to Artificial Intelligence Mid Exam: 7:15-9:15 pm, October 25, 2000 Room 1240 CS & Stats CLOSED BOOK (one sheet of notes and a calculator allowed) Write your answers on these pages

More information

THE WRITING PROCESS. There are four principal steps to the writing process: Prewriting, Drafting, Revising and Editing.

THE WRITING PROCESS. There are four principal steps to the writing process: Prewriting, Drafting, Revising and Editing. THE WRITING PROCESS There are four principal steps to the writing process: Prewriting, Drafting, Revising and Editing. PREWRITING: We should get one thing straight right away: If you sit around waiting

More information

Announcements 9 Dec 2014

Announcements 9 Dec 2014 Announcements 9 Dec 2014 1. Prayer 2. Tutorial lab: Open during reading days and finals, but the TAs have their own exams to worry about, so staffing may vary significantly from normal. 3. Rate the tutors:

More information

Treebanks. LING 5200 Computational Corpus Linguistics Nianwen Xue

Treebanks. LING 5200 Computational Corpus Linguistics Nianwen Xue Treebanks LING 5200 Computational Corpus Linguistics Nianwen Xue 1 Outline Intuitions and tests for constituent structure Representing constituent structures Continuous constituents Discontinuous constituents

More information

Exercise 2: Current in a Series Resistive Circuit

Exercise 2: Current in a Series Resistive Circuit DC Fundamentals Series Resistive Circuits Exercise 2: Current in a Series Resistive Circuit EXERCISE OBJECTIVE circuit by using a formula. You will verify your results with a multimeter. DISCUSSION Electric

More information

"Shape Grammars and the Generative Specification of Painting and Sculpture" by George Stiny and James Gips.

Shape Grammars and the Generative Specification of Painting and Sculpture by George Stiny and James Gips. "Shape Grammars and the Generative Specification of Painting and Sculpture" by George Stiny and James Gips. Presented at IFIP Congress 71 in Ljubljana, Yugoslavia. Selected as the Best Submitted Paper.

More information

Quick Fixes for Your Top English Challenges

Quick Fixes for Your Top English Challenges 15 Quick Fixes for Your Top English Challenges Please Share this ebook! Do you like this ebook? Please share it with your friends! #15 Listen vs. Hear Listen and hear seem to mean the same thing. They

More information

6.006 Introduction to Algorithms. Lecture 20: Dynamic Programming III Prof. Erik Demaine

6.006 Introduction to Algorithms. Lecture 20: Dynamic Programming III Prof. Erik Demaine 6.006 Introduction to Algorithms Lecture 20: Dynamic Programming III Prof. Erik Demaine Today Dynamic programming review Guessing Within a subproblem Using additional subproblems Parenthesization Knapsack

More information

01:615:201 Introduction to Linguistic Theory

01:615:201 Introduction to Linguistic Theory 01:615:201 Introduction to Linguistic Theory Adam Szczegielniak Syntax prac+ce Drawing Draw trees bo4om up Use pencil Eraser Mark clearly what mean Explain why you make a choice if in doubt X- bar One

More information

The indirect object (IO) tells us where the direct object (DO) is going.

The indirect object (IO) tells us where the direct object (DO) is going. Indirect Object Pronouns The indirect object (IO) tells us where the direct object (DO) is going. He gives the book to María. DO=Book Where is the book going? To María. IO=María He gives María the book.

More information

EXAMINATIONS 2002 END-YEAR COMP 307 ARTIFICIAL INTELLIGENCE. (corrected)

EXAMINATIONS 2002 END-YEAR COMP 307 ARTIFICIAL INTELLIGENCE. (corrected) EXAMINATIONS 2002 END-YEAR (corrected) COMP 307 ARTIFICIAL INTELLIGENCE (corrected) Time Allowed: 3 Hours Instructions: There are a total of 180 marks on this exam. Attempt all questions. Calculators may

More information

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I ECE285 Electric Circuit Analysis I Spring 2014 Nathalia Peixoto Rev.2.0: 140124. Rev 2.1. 140813 1 Lab reports Background: these 9 experiments are designed as simple building blocks (like Legos) and students

More information

Section 1.5 Dividing Whole Numbers

Section 1.5 Dividing Whole Numbers Section 1.5 Dividing Whole Numbers Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Define the term division. Rounding whole numbers (1.1) Perform

More information

CS 343: Artificial Intelligence

CS 343: Artificial Intelligence CS 343: Artificial Intelligence NLP, Games, and Autonomous Vehicles Prof. Scott Niekum The University of Texas at Austin [These slides based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI

More information

Curso de sensibilización a la PAEP (Prueba de Admisión a Estudios de Posgrado)

Curso de sensibilización a la PAEP (Prueba de Admisión a Estudios de Posgrado) Past Tense By Gabriela Ulloa Use The past tense is used to express actions that were finished at a specific moment in the past. Example: John checked out a book from the library last week. Leslie worked

More information

MAS160: Signals, Systems & Information for Media Technology. Problem Set 4. DUE: October 20, 2003

MAS160: Signals, Systems & Information for Media Technology. Problem Set 4. DUE: October 20, 2003 MAS160: Signals, Systems & Information for Media Technology Problem Set 4 DUE: October 20, 2003 Instructors: V. Michael Bove, Jr. and Rosalind Picard T.A. Jim McBride Problem 1: Simple Psychoacoustic Masking

More information

Midterm for Name: Good luck! Midterm page 1 of 9

Midterm for Name: Good luck! Midterm page 1 of 9 Midterm for 6.864 Name: 40 30 30 30 Good luck! 6.864 Midterm page 1 of 9 Part #1 10% We define a PCFG where the non-terminals are {S, NP, V P, V t, NN, P P, IN}, the terminal symbols are {Mary,ran,home,with,John},

More information

ENG005 Grammar Punctuation. Text: English 2600 (Sixth Edition) by Joseph Blumenthal COURSE OUTLINE

ENG005 Grammar Punctuation. Text: English 2600 (Sixth Edition) by Joseph Blumenthal COURSE OUTLINE WEEK 1: Tests 1 & 2 UNIT 1 The Verb and its Subject pp. 1-63 (Frames 1-32) pp. 65-127 (Frames 33-64) pp. 129-189 (Frames 65-95) pp. 191-255 (Frames 96-128) pp. 257-325 (Frames 129-163) pp. 327-383 (Frames

More information

EPISODE 21: WATCHING BIRDS. Hello, I m Margot Politis. Welcome to Study English, IELTS preparation.

EPISODE 21: WATCHING BIRDS. Hello, I m Margot Politis. Welcome to Study English, IELTS preparation. TRANSCRIPT EPISODE 21: WATCHING BIRDS Hello, I m Margot Politis. Welcome to Study English, IELTS preparation. Today we re going to look at the continuous tense, and then we re going to practice some sentence

More information

Light enables organisms

Light enables organisms Chapter 15. Light 1. What does light do? Sunlight causes the day. Moonlight is a reflection of Sunlight. It shines to dispel the darkness of the night. Light enables organisms to see during day and night.

More information

The Pigman Argumentative Essay Writing Prompt

The Pigman Argumentative Essay Writing Prompt Name: Date: Argumentative Essay: The Pigman 40 Points The Pigman Argumentative Essay Writing Prompt Task: You will write an argumentative essay focusing on the causes of Mr. Piganti s death in The Pigman.

More information

Arithmetic Circuits. (Part II) Randy H. Katz University of California, Berkeley. Fall Overview BCD Circuits. Combinational Multiplier Circuit

Arithmetic Circuits. (Part II) Randy H. Katz University of California, Berkeley. Fall Overview BCD Circuits. Combinational Multiplier Circuit (art II) Randy H. Katz University of alifornia, Berkeley Fall 25 Overview BD ircuits ombinational Multiplier ircuit Design ase tudy: Bit Multiplier equential Multiplier ircuit R.H. Katz Lecture #2: -1

More information

Forward and backward DAWG matching. Slobodan Petrović

Forward and backward DAWG matching. Slobodan Petrović Forward and backward DAWG matching Slobodan Petrović 08.10.2013 Contents Introduction Forward DAWG matching (FDM) Backward DAWG matching (BDM) 2/29 Introduction A DAWG (Directed Acyclic Word Graph) representation

More information

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 5.B. Multifunction Wireless Control. ECEN 2270 Electronics Design Laboratory 1 .B Multifunction Wireless Control Electronics Design Laboratory 1 Procedures 5.B.0 5.B.1 5.B.2 5.B.3 5.B.4 Turn in your pre-lab before doing anything else. Check that Part A is in working order Wirelessly

More information

MAS.160 / MAS.510 / MAS.511 Signals, Systems and Information for Media Technology Fall 2007

MAS.160 / MAS.510 / MAS.511 Signals, Systems and Information for Media Technology Fall 2007 MIT OpenCourseWare http://ocw.mit.edu MAS.160 / MAS.510 / MAS.511 Signals, Systems and Information for Media Technology Fall 2007 For information about citing these materials or our Terms of Use, visit:

More information

Challenges in Statistical Machine Translation

Challenges in Statistical Machine Translation p.1 Challenges in Statistical Machine Translation Philipp Koehn koehn@csail.mit.edu Computer Science and Artificial Intelligence Lab Massachusetts Institute of Technology Outline p Statistical Machine

More information

Zoom in on some parts of a fractal and you ll see a miniature version of the whole thing.

Zoom in on some parts of a fractal and you ll see a miniature version of the whole thing. Zoom in on some parts of a fractal and you ll see a miniature version of the whole thing. 15 Advanced Recursion By now you ve had a good deal of experience with straightforward recursive problems, and

More information

Announcements. Homework 1 solutions posted. Test in 2 weeks (27 th ) -Covers up to and including HW2 (informed search)

Announcements. Homework 1 solutions posted. Test in 2 weeks (27 th ) -Covers up to and including HW2 (informed search) Minimax (Ch. 5-5.3) Announcements Homework 1 solutions posted Test in 2 weeks (27 th ) -Covers up to and including HW2 (informed search) Single-agent So far we have look at how a single agent can search

More information

Contents. No. Topic Name Page No. Unit One. 1 What a Bird Thought 1. 2 Daydreams 4. 3 Be a Good Listener Strawberries The Twelve Months 16

Contents. No. Topic Name Page No. Unit One. 1 What a Bird Thought 1. 2 Daydreams 4. 3 Be a Good Listener Strawberries The Twelve Months 16 Contents No. Topic Name Page No. Unit One 1 What a Bird Thought 1 2 Daydreams 4 3 Be a Good Listener 10 4 Strawberries 14 5 The Twelve Months 16 6 Announcements 23 7 Major Dhyan Chand 28 8 Peer Profile

More information

Physics 2020 Lab 8 Lenses

Physics 2020 Lab 8 Lenses Physics 2020 Lab 8 Lenses Name Section Introduction. In this lab, you will study converging lenses. There are a number of different types of converging lenses, but all of them are thicker in the middle

More information

Section 2.1 Factors and Multiples

Section 2.1 Factors and Multiples Section 2.1 Factors and Multiples When you want to prepare a salad, you select certain ingredients (lettuce, tomatoes, broccoli, celery, olives, etc.) to give the salad a specific taste. You can think

More information

Introduction. Sentence. Support #1 Support #2 Support #3 Conclusion. Sentence

Introduction. Sentence. Support #1 Support #2 Support #3 Conclusion. Sentence c. 2012 Stephanie Van Horn @ 3 rd Grade Thoughts Includes: - Anchor Charts - Planning Pages - Rubrics for Student & Teacher - And more! Hamburger Paragraphs are a great way to explain to your students

More information

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND ENGINEERING DEPARTMENT OF CSE COURSE PLAN Course Code : CS0204 Course Title : Theory of Computation Semester : IV Course

More information

Script Visualization (ScriptViz): a smart system that makes writing fun

Script Visualization (ScriptViz): a smart system that makes writing fun Script Visualization (ScriptViz): a smart system that makes writing fun Zhi-Qiang Liu Centre for Media Technology (RCMT) and School of Creative Media City University of Hong Kong, P. R. CHINA smzliu@cityu.edu.hk

More information

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors? What can we count? In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors? In how many different ways 10 books can be arranged

More information

Present Perfect Story 4

Present Perfect Story 4 Present Perfect Story 4, Page 1 Present Perfect Story 4 By Really Learn English Visit the Present Perfect Section for More Resources Who is she? What has she done? What has happened? Mable Jones lives

More information

Lecture 4: Spatial Domain Processing and Image Enhancement

Lecture 4: Spatial Domain Processing and Image Enhancement I2200: Digital Image processing Lecture 4: Spatial Domain Processing and Image Enhancement Prof. YingLi Tian Sept. 27, 2017 Department of Electrical Engineering The City College of New York The City University

More information

Solving Parallel and Mixed Circuits, and Kirchhoff s Current Law

Solving Parallel and Mixed Circuits, and Kirchhoff s Current Law Exercise 7 Solving Parallel and Mixed Circuits, and Kirchhoff s Current Law EXERCISE OBJECTIVE When you have completed this exercise, you will be able to calculate the equivalent resistance of multiple

More information

Scheduling. Radek Mařík. April 28, 2015 FEE CTU, K Radek Mařík Scheduling April 28, / 48

Scheduling. Radek Mařík. April 28, 2015 FEE CTU, K Radek Mařík Scheduling April 28, / 48 Scheduling Radek Mařík FEE CTU, K13132 April 28, 2015 Radek Mařík (marikr@fel.cvut.cz) Scheduling April 28, 2015 1 / 48 Outline 1 Introduction to Scheduling Methodology Overview 2 Classification of Scheduling

More information

- I-Ready: 45 min completed by Sunday of this week!

- I-Ready: 45 min completed by Sunday of this week! Name: 5 th GRADE READING/ELA & SOCIAL STUDIES - HOMEWORK for Sections: 5B, 5C & 5E Section: 5 th Grade READING HW 4/8-4/12/2019 WEEK 32 Everyday Read 30 minutes! NOTES: *Students MUST underline to MON,

More information

BBC LEARNING ENGLISH The Grammar Gameshow Can

BBC LEARNING ENGLISH The Grammar Gameshow Can BBC LEARNING ENGLISH The Grammar Gameshow Can Hello, and welcome to today s Grammar Gameshow! I m your host,! If a toucan can cancan, then two toucans can cancan too! And of course, let s not forget, our

More information

Introduction to Source Coding

Introduction to Source Coding Comm. 52: Communication Theory Lecture 7 Introduction to Source Coding - Requirements of source codes - Huffman Code Length Fixed Length Variable Length Source Code Properties Uniquely Decodable allow

More information

ABHINAV BHARATI HIGH SCHOOL SYLLABUS FOR ACADEMIC SESSION Class VI

ABHINAV BHARATI HIGH SCHOOL SYLLABUS FOR ACADEMIC SESSION Class VI Social Science Term I History 1. History When, where and How 2. The Lives of the Hunter Gathers 3. Early Cities in the Indian Subcontinent 4. The Vedic Age. Geography 1. Earth as Part of the Solar System

More information

Colons. Capital Letters

Colons. Capital Letters F O R Commas in a List Identify where there is a list of at least 3 items or actions in the writing. Notice if the commas are used correctly. Identify where the writer could add a list of at least 3 items

More information

Compilation 2012 Peephole Competition

Compilation 2012 Peephole Competition Compilation 2012 Jan Midtgaard Aarhus University What Did You Optimize? 01: A math GUI 02: A sentence generator 03: Game of Life 04: Turing machine 05: Triangle drawing in ASCII 06: A Sudoku solver 07:

More information

Lecture 14 Instruction Selection: Tree-pattern matching

Lecture 14 Instruction Selection: Tree-pattern matching Lecture 14 Instruction Selection: Tree-pattern matching (EaC-11.3) Copyright 2003, Keith D. Cooper, Ken Kennedy & Linda Torczon, all rights reserved. The Concept Many compilers use tree-structured IRs

More information

Principles of Counting. Notation for counting elements of sets

Principles of Counting. Notation for counting elements of sets Principles of Counting MATH 107: Finite Mathematics University of Louisville February 26, 2014 Underlying Principles Set Counting 2 / 12 Notation for counting elements of sets We let n(a) denote the number

More information

GCSE Maths Revision Factors and Multiples

GCSE Maths Revision Factors and Multiples GCSE Maths Revision Factors and Multiples Adam Mlynarczyk www.mathstutor4you.com 1 Factors and Multiples Key Facts: Factors of a number divide into it exactly. Multiples of a number can be divided by it

More information

Introduce yourself! VOCABULARY. LEVEL NUMBER LANGUAGE Beginner A1_1011V_EN English. 1

Introduce yourself! VOCABULARY. LEVEL NUMBER LANGUAGE Beginner A1_1011V_EN English.   1 Introduce yourself! VOCABULARY LEVEL NUMBER LANGUAGE Beginner A1_1011V_EN English www.lingoda.com 1 Goals Practice introducing yourself Learn vocabulary and phrases to introduce yourself www.english-maestro.mn

More information

King of the Sky. Before Reading. Practice. balloon. nod. pilot. jacket burner. boots. fan. A. Fill in the blanks using the word list.

King of the Sky. Before Reading. Practice. balloon. nod. pilot. jacket burner. boots. fan. A. Fill in the blanks using the word list. King of the Sky Before Reading Practice A. Fill in the blanks using the word list. pilot balloon boots nod jacket fan burner nod pilot balloon jacket burner boots fan King of the Sky 1 B. Guess the situation

More information

r:=,r.::, r= t...::;:_j L=..J L=:...J --=--.J L=.J r=, -- /r=-7 - L=.J -==-.JL=-l ~ L::...J

r:=,r.::, r= t...::;:_j L=..J L=:...J --=--.J L=.J r=, -- /r=-7 - L=.J -==-.JL=-l ~ L::...J Players split up into two teams of similar size and skill. You need at least four players (two teams of two) for a standard game. Variants for two or three players can be found on the back page. Each team

More information

Information Extraction. CS6200 Information Retrieval (and a sort of advertisement for NLP in the spring)

Information Extraction. CS6200 Information Retrieval (and a sort of advertisement for NLP in the spring) Information Extraction CS6200 Information Retrieval (and a sort of advertisement for NLP in the spring) 1 Informa(on Extrac(on Automa(cally extract structure from text annotate document using tags to iden(fy

More information

The role of agreement in NPI licensing

The role of agreement in NPI licensing The role of agreement in NPI licensing Leticia Pablos School of Psychology and Clinical Language Sciences University of Reading, UK Brain Talk, Lunds Universitet 3 rd June, 2008 Objectives To argue for

More information

10703 Deep Reinforcement Learning and Control

10703 Deep Reinforcement Learning and Control 10703 Deep Reinforcement Learning and Control Russ Salakhutdinov Slides borrowed from Katerina Fragkiadaki Solving known MDPs: Dynamic Programming Markov Decision Process (MDP)! A Markov Decision Process

More information

Great Writing 2: Great Paragraphs Peer Editing Sheets

Great Writing 2: Great Paragraphs Peer Editing Sheets Great Writing 2: Great Paragraphs Peer Editing Sheets Peer Editing Sheet 1 Unit 1, Activity 17, page 31 1. What is the general topic of the paragraph? Does the title relate to this general topic? yes no

More information

The Beauty and Joy of Computing

The Beauty and Joy of Computing UC Berkeley EECS Sr Lecturer SOE Dan Garcia The Beauty and Joy of Computing Lecture #6 Algorithms Quest REVIEW in 8 days! Quest (first exam) in in 9 days! PREDICTING THE FUTURE? MIT researchers recently

More information

Course Syllabus ARCHITECTURE 544 WOOD FRAMING. Organization. Evaluation. Text

Course Syllabus ARCHITECTURE 544 WOOD FRAMING. Organization. Evaluation. Text ARCHITECTURE 544 WOOD FRAMING Prof. Dr. Ing. Peter von Buelow pvbuelow@umich.edu 1205c Art & Architecture Bldg. Lecture Topics : Course Structure Codes NDS Approach Sawn Lumber Engineering Properties Engineered

More information

Homework Assignment #2

Homework Assignment #2 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2 Assigned: Thursday, February 15 Due: Sunday, February 25 Hand-in Instructions This homework assignment includes two written problems

More information

Svetlana Godjevac November 24, HW 5 Answers

Svetlana Godjevac November 24, HW 5 Answers Svetlana Godjevac November, 00 Total: 70 points HW 5 Answers 0 points 1. Textbook: Exercise.11 p. 5.11 1. a) provide a sentence that violates the clause-mate condition but not the c-command condition on

More information

E-BOOK // OF COUNTABLE AND UNCOUNTABLE NOUNS USER GUIDE

E-BOOK // OF COUNTABLE AND UNCOUNTABLE NOUNS USER GUIDE 09 March, 2018 E-BOOK // OF COUNTABLE AND UNCOUNTABLE NOUNS USER GUIDE Document Filetype: PDF 253.22 KB 0 E-BOOK // OF COUNTABLE AND UNCOUNTABLE NOUNS USER GUIDE If you found this grammar guide about Countable

More information

Series-Parallel Circuits

Series-Parallel Circuits Series-Parallel Circuits INTRODUCTION A series-parallel configuration is one that is formed by a combination of series and parallel elements. A complex configuration is one in which none of the elements

More information

ÒNo good mastery of language, no great achievement possible.ó - Confucius

ÒNo good mastery of language, no great achievement possible.ó - Confucius The Logic in Technical Communication by Michael Tse for ÒNo good mastery of language, no great achievement possible.ó - Confucius Michael Tse 1 The purposes of this talk To remind you of the ÒDONÕTsÒ DONÕTsÓ

More information

PART 1: How to write a résumé.

PART 1: How to write a résumé. www.letshavefunwithenglish.com/projects/teen_jobs/lesson4.html VOCABULARY: a CV (UK) / a résumé (US) a covering letter (UK) / a cover letter (US) apply for a job = make a formal (official) request, usually

More information

1st Grade Length

1st Grade Length Slide 1 / 157 Slide 2 / 157 1st Grade Length 2015-11-30 www.njctl.org Slide 3 / 157 Table of Contents Comparing Two Objects Comparing Three Objects Ordering Three Objects Using Blocks to Measure Lab: Comparison

More information

1st Grade. Slide 1 / 157. Slide 2 / 157. Slide 3 / 157. Length

1st Grade. Slide 1 / 157. Slide 2 / 157. Slide 3 / 157. Length Slide 1 / 157 Slide 2 / 157 1st Grade Length 2015-11-30 www.njctl.org Table of Contents Comparing Two Objects Comparing Three Objects Ordering Three Objects Using Blocks to Measure Lab: Comparison Game

More information

7. Come along with us if you want an ice-cream cone.

7. Come along with us if you want an ice-cream cone. Name: Date: Identify the word modified by the appositive or appositive phrase in each sentence. 1. My dad loaned a rake to our neighbor, Ms. Wright. A. Ms. Wright B. loaned C. neighbor 2. The speaker at

More information

NLP course project Automatic headline generation. ETH Spring Semester 2014

NLP course project Automatic headline generation. ETH Spring Semester 2014 NLP course project Automatic headline generation ETH Spring Semester 2014 Project description The content of the course will include the most fundamental parts of language processing: Tokenization, sentence

More information

4. Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, X = {2, 3, 4}, Y = {1, 4, 5}, Z = {2, 5, 7}. Find a) (X Y) b) X Y c) X (Y Z) d) (X Y) Z

4. Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, X = {2, 3, 4}, Y = {1, 4, 5}, Z = {2, 5, 7}. Find a) (X Y) b) X Y c) X (Y Z) d) (X Y) Z Exercises 1. Write formal descriptions of the following sets. a) The set containing the numbers 1, 10, and 100 b) The set containing all integers that are greater than 5 c) The set containing all natural

More information

Geometric Optics. This equation is known as the mirror equation or the thin lens equation, depending on the setup.

Geometric Optics. This equation is known as the mirror equation or the thin lens equation, depending on the setup. Geometric Optics Purpose (Write the purposes at the beginning of each problem.) Problem 1: find the focal length of a concave mirror to verify the mirror equation; Problem 2: find the focal length of a

More information

CSE 21 Practice Final Exam Winter 2016

CSE 21 Practice Final Exam Winter 2016 CSE 21 Practice Final Exam Winter 2016 1. Sorting and Searching. Give the number of comparisons that will be performed by each sorting algorithm if the input list of length n happens to be of the form

More information

CS510 \ Lecture Ariel Stolerman

CS510 \ Lecture Ariel Stolerman CS510 \ Lecture04 2012-10-15 1 Ariel Stolerman Administration Assignment 2: just a programming assignment. Midterm: posted by next week (5), will cover: o Lectures o Readings A midterm review sheet will

More information

Language Structure Assignment 2: Key to Seminar Grammar Tasks

Language Structure Assignment 2: Key to Seminar Grammar Tasks Language Structure Assignment 2: Key to Seminar Grammar Tasks Task 1 a. 1) Where is the money (that) I lent you? Have you spent it? Money is uncountable and thus takes a singular verb (is) and is referred

More information

CONTENTS. iii. SECTION 1 Painting Brush Strokes... #

CONTENTS. iii. SECTION 1 Painting Brush Strokes... # CONTENTS SECTION 1 Painting Brush Strokes....................... # The Five Basic Brush Strokes............................. # Absolute Brush Strokes............................. # Appositive Brush Strokes............................

More information

HUFFMAN CODING. Catherine Bénéteau and Patrick J. Van Fleet. SACNAS 2009 Mini Course. University of South Florida and University of St.

HUFFMAN CODING. Catherine Bénéteau and Patrick J. Van Fleet. SACNAS 2009 Mini Course. University of South Florida and University of St. Catherine Bénéteau and Patrick J. Van Fleet University of South Florida and University of St. Thomas SACNAS 2009 Mini Course WEDNESDAY, 14 OCTOBER, 2009 (1:40-3:00) LECTURE 2 SACNAS 2009 1 / 10 All lecture

More information

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 566 DIGITALLY CONTROLLED PROGRAMMABLE GAIN AMPLIFIER LTC6910 DESCRIPTION

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 566 DIGITALLY CONTROLLED PROGRAMMABLE GAIN AMPLIFIER LTC6910 DESCRIPTION LTC691 DESCRIPTION Demonstration circuits 566A-A, -B and -C, feature the easy to use, rail-to-rail input and output LTC691 series of Low Noise Programmable Gain Amplifier (PGA) parts. The inverting gain

More information

COMPUTATIONAL LINGUISTIC CREATIVITY

COMPUTATIONAL LINGUISTIC CREATIVITY COMPUTATIONAL LINGUISTIC CREATIVITY Khalid Alnajjar alnajjar[at]cs.helsinki.fi UNIVERSITY OF HELSINKI Department of Computer Science Khalid Alnajjar 6 Nov 2017 1/ 35 OUTLINE Introduction to Computational

More information

Games and Adversarial Search II

Games and Adversarial Search II Games and Adversarial Search II Alpha-Beta Pruning (AIMA 5.3) Some slides adapted from Richard Lathrop, USC/ISI, CS 271 Review: The Minimax Rule Idea: Make the best move for MAX assuming that MIN always

More information

Writing Letters to the Editor that Help Win Campaigns

Writing Letters to the Editor that Help Win Campaigns AUGUST Writing Letters to the Editor that Help Win Campaigns August is the month when members of Congress leave Washington to spend time in their home districts. It s a chance for lawmakers to hear directly

More information

Gladiator Paragraphs. A system to simplify wri5ng a be8er paragraph.

Gladiator Paragraphs. A system to simplify wri5ng a be8er paragraph. Gladiator Paragraphs A system to simplify wri5ng a be8er paragraph. Quickwrite Somewhere on your sheet of paper, explain how you would respond to the following situa5on: You have been informed with 24

More information

Course Title: Writing the Novel Back to Front Course Code: NVL 09 W Instructor: Caroline Leavitt

Course Title: Writing the Novel Back to Front Course Code: NVL 09 W Instructor: Caroline Leavitt Course Title: Writing the Novel Back to Front Course Code: NVL 09 W Instructor: Caroline Leavitt Course Summary: Many beginning writers start writing their novels with an eye to just getting words on the

More information