Here we see a case of infinite expansion of instruments.

Size: px
Start display at page:

Download "Here we see a case of infinite expansion of instruments."

Transcription

1 No. Semester-Examination of CS674 Name: 1. The sentence John drank a glass of milk can be paraphrased as John ingested the milk by getting the milk to his mouth from glass by transferring the glass containing milk from the table to his mouth by moving his hand to the glass and by grasping the glass of milk to his hand. Using CD primitive acts INGEST, PTRANS, MOVE and GRASP to write the CD representation of this sentence. (15%) [Answer] The CD representation of John drank a glass of milk. is as follows: Actor: John Action: INGEST Object: milk Direction TO: mouth of John FROM: glass Instrument: Actor: John Action: PTRANS Object: glass containing milk Direction TO: mouth of John FROM: table Instrument: Action: John Action: MOVE Object: hand of John Direction TO: glass FROM: unknown Instrument: Actor: John Action: GRASP Object: glass of milk Direction TO: hand of John Here we see a case of infinite expansion of instruments.

2 2. Design a context-sensitive grammar to generate the symbol string a k b k c k, write the derivation process of aaabbbccc step by step. (15%) [Answer] The context-sensitive grammar to generate a k b k c k is as follows: G = (V, Vt, S, P) V = {S, B, C, D 1, D 2, a, b, c} Vt = {a, b, c} S: S P = {S asbc, 1 S abc, 2 CB D 1 B, D 1 B D 1 D 2, D 1 D 2 BD 2, BD 2 BC, 3a 3b 3c bb bb, 4 bc bc, 5 cc cc} 6 The rules CB D 1 B D 1 B D 1 D 2 D 1 D 2 D 1 B D 1 B CB 3d are all context-sensitive rules (e.g. CB D 1 B means that in the context ~B, replace CB to D 1 B), they jointly have the same effect as the rule CB BC So this rule CB BC is also a context-sensitive rule. Rule 4, 5, 6 are all context-sensitive rules. The derivation process of aaabbbccc : Intermediate chains S rules asbc 1 aasbcbc 1 aaabcbcbc 2 aaabbccbc 3 aaabbcbcc 3 aaabbbccc 3 aaabbbccc 4 aaabbbccc 4 aaabbbccc 5 aaabbbccc 6 aaabbbccc 6

3 3. Using the category grammar to analyze the sentence Paul thought that John slept soundly, and explain the difference of meaning in the results. (15%) [Answer] We list the categories of every word in the bottom of corresponding word: Paul thought that John slept soundly n n n n n\s (n\s)\n\s n\s n\n (n\s/n)\n\s/n n\s/n n/s n\s/s We assume the categories of word thought are only 4 as above, the categories of word soundly are only 2 as above, then we can obtain 24 initiating category sequences: ( =24). Now we calculate these category sequences: In category sequence n n n n n\s (n\s)\n\s, n n n n n\s (n\s)\n\s S We use rule (α)(α\β) β to category 4 and 5, then we obtain n n n S (n\s)\n\s. For this sequence, any rule cannot be further used. We may also use rule (α)(α\β) β to category 5 and 6, then we obtain n n n n n\s. For this sequence, any rule cannot be further used. In the last, we can obtain two results: First result: n n\s/n n/s n n\s (n\s)\n\s n\s S n n\s S Second result: n n\s/s n/n n n\s (n\s)\n\s n n\s S n\s

4 S Here we obtain two results. Every result represents different meaning: First result means: Paul thought, John slept soundly. Here, that is the relative pronoun which introduces a clause John slept soundly. Second result means: Paul thought, that John sleepy soundly. Here, that is demonstrative pronoun which modifies John. The results show that this sentence is ambiguous. 4. What are three properties of garden path sentence? Compare the MV/RR probabilistic ratio in the garden path sentence The horse raced past the barn fell with the ratio in the sentence The horse found in the barn died and show that the dispreferred parse is the correct parse for the garden path sentence. (15%) [Answer] The garden-path sentence is a specific class of temporarily ambiguous sentences. For example, The horse raced past the barn fell is a garden path sentence with temporary ambiguity in the understanding process. (a) S (b) S NP VP NP VP Det N V PP NP VP V The horse raced P NP? Det N V PP fell past Det N V the horse raced P NP the barn fell past Det N the barn The garden-path sentences are the sentences that are cleverly constructed to have three properties that combine to make them very difficult for people to parse: They are temporarily ambiguous: the sentence is ambiguous, but its initial portion is ambiguous. One of the two or three parses in the initial portion is somehow preferable to the human parsing mechanism. But the dispreferred parse is the correct one for the sentence. The result of these three properties is that people are led down the garden path toward the incorrect parse, and then are confused when they realize it is the wrong way.

5 In the sentence The horse raced past the barn fell, verb raced is preferable to be used as Main Verb (MV), and it dispreferable to be used as Reduced-Relative (RR). But correct one just the dispreferable (RR). The probabilistic ration MV/RR = 387 In the sentence The horse found in the barn died, since the verb found is transitive, the reduced-relative (RR) interpretation becomes much more than it was for raced. Its MV/RR probabilistic ratio (lower than 5) is less than MV/RR probabilistic ratio of raced (387). So this sentence cannot become the garden-path sentence. The MV/RR probability ratio for raced much more than the MV/RR probabilistic ratio for found. It is the reasonable explanation for garden-path sentence. Log(MV/RR) MV/RR=387 raced WV/RR=5 (threshold) found The horse X-ed PP Fig. MV/RR probabilistic ratio The model assumes that people are unable to maintain very many interpretation at one time. Whether because of memory limitations, or just because they have a strong desire to come up with a simple interpretation, they prune away low-ranking interpretation. An interpretation is pruned if its probability is 5 times lower than the most-probable interpretation. The result is that they sometimes prune away the correct interpretation. Leaving a highest but incorrect interpretation. This is what happens with the probability (but correct ) reduced-relative (RR) interpretation in the sentence The horse raced past the barn fell. In above Figure, the WV/RR probabilistic ratio for raced falls above the threshold and the RR interpretation is pruned. For found its interpretation is active in the disambiguating region.

6 5. If the CFG grammar rules are as follows: S NP VP NP PrN NP DET N NP DET N WH VP VP V NP DET the a N table leg PrN Jack V lacks hits WH that Use CYK approach to analyze sentence the table that lacks a leg hits Jack. To transform the rewriting rules to Chomsky Normal Form (CNF); To calculate the b ij of every non-terminal symbols: To draw a pyramid table to show the result of CYK parsing. (20%) [Answer] Transformation of rewriting rules to Chomsky Normal Form: S NP VP NP PrN It is not CNF and must be transformed to NP Jack NP DET N NP DET N WH VP It must be transformed to: NP NP CL NP DET N CL WH VP Here CL is WH clause, it = (that + VP) VP V NP DET the a N table leg PrN Jack V lacks hits WH that Calculation of the b ij of non-terminal symbols: --To arrange POS non-terminal symbols and calculate their b ij The table that lacks a leg hits Jack DET N WH V DET N V PrN (NP) b 11 b 21 b 31 b 41 b 51 b 61 b 71 b 81 --To calculate the b ij of phrase non-terminal symbols b ij (NP1): i=1. j=1+1=2 b ij (NP2): i=5, j=1+1=2

7 b ij (VP1): i=7, j=1+1=2 b ij (VP2): i=4, j=1+2=3 b ij (CL): i=3, j=1+3=4 b ij (NP3): i=1, j=2+4=6 b ij (S): i=1, j=2+6=8 The length of this sentence is 8, and we get box line number of S is also 8, so the sentence was recognized. To draw a pyramid table to show the structure of this sentence: S 18 (S NP VP) NP3 (NP NP CL) b 16 CL (CL WH VP) b 34 VP2 (VP V NP) b 43 NP1 (NP DET N) NP2 (NP DET N) VP1 (VP V NP) b 12 b 52 b 72 DET N WH V DET N V NP b 11 b 21 b 31 b 41 b 51 b 61 b 71 b 81 The table that lacks a leg hits Jack By the CYK approach, we can create the pyramid in above figure. This pyramid is also a tree graph.

8 6. If we have following small CFG for English: S NP VP S AUX NP VP S VP NP Det Nom NP Ord Nom NP PrN Nom N Nom N Nom VP V VP V NP Det that this a Ord first second N section class V have include prefer Aux does PrN ASIANA KA-852 CAAC Using Earley algorithm to parse sentence Does KA-852 have a first class section? Describe the state sequence in chart step by step; Describe the parsing process step by step; Draw the chart to represent the parsing result. (20%) [Answer] The states are as follows: Does KA-852 have first class section The state sequence in chart: Chart [0] γ.s [0,0] Dummy start state S.NP VP [0,0] Predictor NP.Ord Nom [0,0] Predictor NP.PrN [0,0] Predictor S.Aux NP VP [0,0] Predictor S.VP [0,0] Predictor VP.V [0,0] Predictor VP.V NP [0,0] Predictor Chart [1] Aux does. [0,1] Scanner S Aux. NP VP [0,1] Completer

9 NP.Ord Nom [1,1] Predictor NP.PrN [1,1] Predictor Chart [2] PrN KA-852. [1,2] Scanner NP PrN. [1,2] Completer S Aux NP. VP [0,2] Completer VP.V [2,2] Predictor VP.V NP [2,2] Predictor Chart [3] V have. [2,3] Scanner VP V. [2,3] Completer VP V. NP [2,3] Completer NP..Ord Nom [3,3] Predictor Chart [4] Ord first. [3,4] Scanner NP Ord. Nom [3,4] Completer Nom.N Nom [4,4] Predictor Nom.N. [4,4] Predictor Chart [5] N class. [4,5] Scanner Nom N. [4,5] Completer NP Ord Nom. [3,5] Completer VP V NP. [2,5] Completer S Aux NP VP. [0,5] Completer (S span is 5, 5 < 6) Nom N. Nom [4,5] Completer Nom.N [5,5] Predictor Chart [6] N section. [5,6] Scanner Nom N. [5,6] Completer Nom N Nom. [4,6] Completer NP Ord Nom. [3,6] Completer VP V NP. [2,6] Completer S Aux NP VP. [0,6] Completer [Success!] The parsing process: Aux does. [0,1] Scanner S Aux. NP VP [0,1] Completer

10 PrN KA-852. [1,2] Scanner NP PrN. [1,2] Completer S Aux NP. VP [0,2] Completer V have. [2,3] Scanner VP V. [2,3] Completer VP V. NP [2,3] Completer Ord first. [3,4] Scanner NP Ord. Nom [3,4] Completer N class. [4,5] Scanner N section. [5,6] Scanner Nom N. [5,6] Completer Nom N Nom. [4,6] Completer NP Ord Nom. [3,6] Completer VP V NP. [2,6] Completer S Aux NP VP. [0,6] Completer [Success!] The chart representing the parsing result: S Aux NP VP. VP V NP. NP Ord Nom. NP PrN. Nom N Nom. Nom N. Aux does. PrN KA-852. V have. Ord first. N class. N section

Basic Parsing Algorithms Chart Parsing

Basic Parsing Algorithms Chart Parsing Basic Parsing Algorithms Chart Parsing Seminar Recent Advances in Parsing Technology WS 2011/2012 Anna Schmidt Talk Outline Chart Parsing Basics Chart Parsing Algorithms Earley Algorithm CKY Algorithm

More information

Outline of today s lecture

Outline of today s lecture Outline of today s lecture Generative grammar Simple context free grammars Probabilistic CFGs Formalism power requirements Parsing Modelling syntactic structure of phrases and sentences. Why is it useful?

More information

Pushdown automata. Informatics 2A: Lecture 9. Alex Simpson. 3 October, 2014. School of Informatics University of Edinburgh als@inf.ed.ac.

Pushdown automata. Informatics 2A: Lecture 9. Alex Simpson. 3 October, 2014. School of Informatics University of Edinburgh als@inf.ed.ac. Pushdown automata Informatics 2A: Lecture 9 Alex Simpson School of Informatics University of Edinburgh als@inf.ed.ac.uk 3 October, 2014 1 / 17 Recap of lecture 8 Context-free languages are defined by context-free

More information

Syntax: Phrases. 1. The phrase

Syntax: Phrases. 1. The phrase Syntax: Phrases Sentences can be divided into phrases. A phrase is a group of words forming a unit and united around a head, the most important part of the phrase. The head can be a noun NP, a verb VP,

More information

English Grammar Checker

English Grammar Checker International l Journal of Computer Sciences and Engineering Open Access Review Paper Volume-4, Issue-3 E-ISSN: 2347-2693 English Grammar Checker Pratik Ghosalkar 1*, Sarvesh Malagi 2, Vatsal Nagda 3,

More information

Constraints in Phrase Structure Grammar

Constraints in Phrase Structure Grammar Constraints in Phrase Structure Grammar Phrase Structure Grammar no movement, no transformations, context-free rules X/Y = X is a category which dominates a missing category Y Let G be the set of basic

More information

Symbiosis of Evolutionary Techniques and Statistical Natural Language Processing

Symbiosis of Evolutionary Techniques and Statistical Natural Language Processing 1 Symbiosis of Evolutionary Techniques and Statistical Natural Language Processing Lourdes Araujo Dpto. Sistemas Informáticos y Programación, Univ. Complutense, Madrid 28040, SPAIN (email: lurdes@sip.ucm.es)

More information

Syntaktická analýza. Ján Šturc. Zima 208

Syntaktická analýza. Ján Šturc. Zima 208 Syntaktická analýza Ján Šturc Zima 208 Position of a Parser in the Compiler Model 2 The parser The task of the parser is to check syntax The syntax-directed translation stage in the compiler s front-end

More information

Grammars and introduction to machine learning. Computers Playing Jeopardy! Course Stony Brook University

Grammars and introduction to machine learning. Computers Playing Jeopardy! Course Stony Brook University Grammars and introduction to machine learning Computers Playing Jeopardy! Course Stony Brook University Last class: grammars and parsing in Prolog Noun -> roller Verb thrills VP Verb NP S NP VP NP S VP

More information

Artificial Intelligence Exam DT2001 / DT2006 Ordinarie tentamen

Artificial Intelligence Exam DT2001 / DT2006 Ordinarie tentamen Artificial Intelligence Exam DT2001 / DT2006 Ordinarie tentamen Date: 2010-01-11 Time: 08:15-11:15 Teacher: Mathias Broxvall Phone: 301438 Aids: Calculator and/or a Swedish-English dictionary Points: The

More information

Visualizing Data Structures in Parsing-based Machine Translation. Jonathan Weese, Chris Callison-Burch

Visualizing Data Structures in Parsing-based Machine Translation. Jonathan Weese, Chris Callison-Burch The Prague Bulletin of Mathematical Linguistics NUMBER 93 JANUARY 2010 127 136 Visualizing Data Structures in Parsing-based Machine Translation Jonathan Weese, Chris Callison-Burch Abstract As machine

More information

Structurally ambiguous sentences

Structurally ambiguous sentences Language and Mind HONR 218L Recap: entences have structure In speaking and writing we string words together linearly (we have no choice) But in our minds, we represent sentences as hierarchical structures

More information

LZ77. Example 2.10: Let T = badadadabaab and assume d max and l max are large. phrase b a d adadab aa b

LZ77. Example 2.10: Let T = badadadabaab and assume d max and l max are large. phrase b a d adadab aa b LZ77 The original LZ77 algorithm works as follows: A phrase T j starting at a position i is encoded as a triple of the form distance, length, symbol. A triple d, l, s means that: T j = T [i...i + l] =

More information

Mixed Sentence Structure Problem: Double Verb Error

Mixed Sentence Structure Problem: Double Verb Error Learning Centre Mixed Sentence Structure Problem: Double Verb Error Using more than one verb in the same clause or sentence can lead to sentence structure errors. Often, the writer splices together two

More information

If-Then-Else Problem (a motivating example for LR grammars)

If-Then-Else Problem (a motivating example for LR grammars) If-Then-Else Problem (a motivating example for LR grammars) If x then y else z If a then if b then c else d this is analogous to a bracket notation when left brackets >= right brackets: [ [ ] ([ i ] j,

More information

5HFDOO &RPSLOHU 6WUXFWXUH

5HFDOO &RPSLOHU 6WUXFWXUH 6FDQQLQJ 2XWOLQH 2. Scanning The basics Ad-hoc scanning FSM based techniques A Lexical Analysis tool - Lex (a scanner generator) 5HFDOO &RPSLOHU 6WUXFWXUH 6RXUFH &RGH /H[LFDO $QDO\VLV6FDQQLQJ 6\QWD[ $QDO\VLV3DUVLQJ

More information

A Mixed Trigrams Approach for Context Sensitive Spell Checking

A Mixed Trigrams Approach for Context Sensitive Spell Checking A Mixed Trigrams Approach for Context Sensitive Spell Checking Davide Fossati and Barbara Di Eugenio Department of Computer Science University of Illinois at Chicago Chicago, IL, USA dfossa1@uic.edu, bdieugen@cs.uic.edu

More information

4. How many integers between 2004 and 4002 are perfect squares?

4. How many integers between 2004 and 4002 are perfect squares? 5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started

More information

Course: Model, Learning, and Inference: Lecture 5

Course: Model, Learning, and Inference: Lecture 5 Course: Model, Learning, and Inference: Lecture 5 Alan Yuille Department of Statistics, UCLA Los Angeles, CA 90095 yuille@stat.ucla.edu Abstract Probability distributions on structured representation.

More information

Ambiguity in the Brain: What Brain Imaging Reveals About the Processing of Syntactically Ambiguous Sentences

Ambiguity in the Brain: What Brain Imaging Reveals About the Processing of Syntactically Ambiguous Sentences Journal of Experimental Psychology: Learning, Memory, and Cognition 2003, Vol. 29, No. 6, 1319 1338 Copyright 2003 by the American Psychological Association, Inc. 0278-7393/03/$12.00 DOI: 10.1037/0278-7393.29.6.1319

More information

POS Tagsets and POS Tagging. Definition. Tokenization. Tagset Design. Automatic POS Tagging Bigram tagging. Maximum Likelihood Estimation 1 / 23

POS Tagsets and POS Tagging. Definition. Tokenization. Tagset Design. Automatic POS Tagging Bigram tagging. Maximum Likelihood Estimation 1 / 23 POS Def. Part of Speech POS POS L645 POS = Assigning word class information to words Dept. of Linguistics, Indiana University Fall 2009 ex: the man bought a book determiner noun verb determiner noun 1

More information

Phase 2 of the D4 Project. Helmut Schmid and Sabine Schulte im Walde

Phase 2 of the D4 Project. Helmut Schmid and Sabine Schulte im Walde Statistical Verb-Clustering Model soft clustering: Verbs may belong to several clusters trained on verb-argument tuples clusters together verbs with similar subcategorization and selectional restriction

More information

Bottom-Up Parsing. An Introductory Example

Bottom-Up Parsing. An Introductory Example Bottom-Up Parsing Bottom-up parsing is more general than top-down parsing Just as efficient Builds on ideas in top-down parsing Bottom-up is the preferred method in practice Reading: Section 4.5 An Introductory

More information

Natural Language to Relational Query by Using Parsing Compiler

Natural Language to Relational Query by Using Parsing Compiler Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 4, Issue. 3, March 2015,

More information

Comprendium Translator System Overview

Comprendium Translator System Overview Comprendium System Overview May 2004 Table of Contents 1. INTRODUCTION...3 2. WHAT IS MACHINE TRANSLATION?...3 3. THE COMPRENDIUM MACHINE TRANSLATION TECHNOLOGY...4 3.1 THE BEST MT TECHNOLOGY IN THE MARKET...4

More information

How To Understand A Sentence In A Syntactic Analysis

How To Understand A Sentence In A Syntactic Analysis AN AUGMENTED STATE TRANSITION NETWORK ANALYSIS PROCEDURE Daniel G. Bobrow Bolt, Beranek and Newman, Inc. Cambridge, Massachusetts Bruce Eraser Language Research Foundation Cambridge, Massachusetts Summary

More information

NATURAL LANGUAGE QUERY PROCESSING USING SEMANTIC GRAMMAR

NATURAL LANGUAGE QUERY PROCESSING USING SEMANTIC GRAMMAR NATURAL LANGUAGE QUERY PROCESSING USING SEMANTIC GRAMMAR 1 Gauri Rao, 2 Chanchal Agarwal, 3 Snehal Chaudhry, 4 Nikita Kulkarni,, 5 Dr. S.H. Patil 1 Lecturer department o f Computer Engineering BVUCOE,

More information

Compiler I: Syntax Analysis Human Thought

Compiler I: Syntax Analysis Human Thought Course map Compiler I: Syntax Analysis Human Thought Abstract design Chapters 9, 12 H.L. Language & Operating Sys. Compiler Chapters 10-11 Virtual Machine Software hierarchy Translator Chapters 7-8 Assembly

More information

Learning the Question & Answer Flows

Learning the Question & Answer Flows Learning the Question & Answer Flows These exercises are designed to help you learn how the Question and Answer Flows are constructed in the Parent Help Booklet. In the Question and Answer Flow, a series

More information

RULE Modifiers should be placed as near as possible to the words they modify in order to keep the meaning clear.

RULE Modifiers should be placed as near as possible to the words they modify in order to keep the meaning clear. RULE Modifiers should be placed as near as possible to the words they modify in order to keep the meaning clear. WRITE Start with each of the following plain sentences and revise them, using various modifiers

More information

SYNTAX: THE ANALYSIS OF SENTENCE STRUCTURE

SYNTAX: THE ANALYSIS OF SENTENCE STRUCTURE SYNTAX: THE ANALYSIS OF SENTENCE STRUCTURE OBJECTIVES the game is to say something new with old words RALPH WALDO EMERSON, Journals (1849) In this chapter, you will learn: how we categorize words how words

More information

Learning Translation Rules from Bilingual English Filipino Corpus

Learning Translation Rules from Bilingual English Filipino Corpus Proceedings of PACLIC 19, the 19 th Asia-Pacific Conference on Language, Information and Computation. Learning Translation s from Bilingual English Filipino Corpus Michelle Wendy Tan, Raymond Joseph Ang,

More information

p. 147 : Exercise 5.5 The normalization 2πg = 1 is implicit here. p. 169 : Eq. (6.101) 2πL should be replaced by L.

p. 147 : Exercise 5.5 The normalization 2πg = 1 is implicit here. p. 169 : Eq. (6.101) 2πL should be replaced by L. CONFORMAL FIELD THEORY P. Di Francesco, P. Mathieu, D. Snchal Errata on second printing These errata (and eventual additional ones) are listed on the following Web page: http://www.physique.usherb.ca/~dsenech/cft.htm

More information

Accelerating and Evaluation of Syntactic Parsing in Natural Language Question Answering Systems

Accelerating and Evaluation of Syntactic Parsing in Natural Language Question Answering Systems Accelerating and Evaluation of Syntactic Parsing in Natural Language Question Answering Systems cation systems. For example, NLP could be used in Question Answering (QA) systems to understand users natural

More information

Sentence Blocks. Sentence Focus Activity. Contents

Sentence Blocks. Sentence Focus Activity. Contents Sentence Focus Activity Sentence Blocks Contents Instructions 2.1 Activity Template (Blank) 2.7 Sentence Blocks Q & A 2.8 Sentence Blocks Six Great Tips for Students 2.9 Designed specifically for the Talk

More information

Fast nondeterministic recognition of context-free languages using two queues

Fast nondeterministic recognition of context-free languages using two queues Fast nondeterministic recognition of context-free languages using two queues Burton Rosenberg University of Miami Abstract We show how to accept a context-free language nondeterministically in O( n log

More information

Formal Grammars and Languages

Formal Grammars and Languages Formal Grammars and Languages Tao Jiang Department of Computer Science McMaster University Hamilton, Ontario L8S 4K1, Canada Bala Ravikumar Department of Computer Science University of Rhode Island Kingston,

More information

L130: Chapter 5d. Dr. Shannon Bischoff. Dr. Shannon Bischoff () L130: Chapter 5d 1 / 25

L130: Chapter 5d. Dr. Shannon Bischoff. Dr. Shannon Bischoff () L130: Chapter 5d 1 / 25 L130: Chapter 5d Dr. Shannon Bischoff Dr. Shannon Bischoff () L130: Chapter 5d 1 / 25 Outline 1 Syntax 2 Clauses 3 Constituents Dr. Shannon Bischoff () L130: Chapter 5d 2 / 25 Outline Last time... Verbs...

More information

Lecture 9. Phrases: Subject/Predicate. English 3318: Studies in English Grammar. Dr. Svetlana Nuernberg

Lecture 9. Phrases: Subject/Predicate. English 3318: Studies in English Grammar. Dr. Svetlana Nuernberg Lecture 9 English 3318: Studies in English Grammar Phrases: Subject/Predicate Dr. Svetlana Nuernberg Objectives Identify and diagram the most important constituents of sentences Noun phrases Verb phrases

More information

Mildly Context Sensitive Grammar Formalisms

Mildly Context Sensitive Grammar Formalisms Mildly Context Sensitive Grammar Formalisms Petra Schmidt Pfarrer-Lauer-Strasse 23 66386 St. Ingbert petra.schmidt@edeka-suedwest.de Overview 3 Tree-djoining-Grammars 4 Co 7 8 9 CCG 9 LIG 10 TG 13 Linear

More information

CORRECTING AND GIVING FEEDBACK TO WRITING

CORRECTING AND GIVING FEEDBACK TO WRITING CORRECTING AND GIVING FEEDBACK TO WRITING We have all written papers for some courses to be checked and graded by our instructors. We know very well that a paper that is returned with red markings and

More information

Unified Language for Network Security Policy Implementation

Unified Language for Network Security Policy Implementation Unified Language for Network Security Policy Implementation Dmitry Chernyavskiy Information Security Faculty National Research Nuclear University MEPhI Moscow, Russia milnat2004@yahoo.co.uk Natalia Miloslavskaya

More information

Strategies for Technical Writing

Strategies for Technical Writing Strategies for Technical Writing Writing as Process Recommendation (to keep audience in mind): Write a first draft for yourself. Get your explanations and as many details as possible down on paper. Write

More information

Section 8 Foreign Languages. Article 1 OVERALL OBJECTIVE

Section 8 Foreign Languages. Article 1 OVERALL OBJECTIVE Section 8 Foreign Languages Article 1 OVERALL OBJECTIVE To develop students communication abilities such as accurately understanding and appropriately conveying information, ideas,, deepening their understanding

More information

Accentuate the Negative: Homework Examples from ACE

Accentuate the Negative: Homework Examples from ACE Accentuate the Negative: Homework Examples from ACE Investigation 1: Extending the Number System, ACE #6, 7, 12-15, 47, 49-52 Investigation 2: Adding and Subtracting Rational Numbers, ACE 18-22, 38(a),

More information

Syntactic Theory. Background and Transformational Grammar. Dr. Dan Flickinger & PD Dr. Valia Kordoni

Syntactic Theory. Background and Transformational Grammar. Dr. Dan Flickinger & PD Dr. Valia Kordoni Syntactic Theory Background and Transformational Grammar Dr. Dan Flickinger & PD Dr. Valia Kordoni Department of Computational Linguistics Saarland University October 28, 2011 Early work on grammar There

More information

Presented to The Federal Big Data Working Group Meetup On 07 June 2014 By Chuck Rehberg, CTO Semantic Insights a Division of Trigent Software

Presented to The Federal Big Data Working Group Meetup On 07 June 2014 By Chuck Rehberg, CTO Semantic Insights a Division of Trigent Software Semantic Research using Natural Language Processing at Scale; A continued look behind the scenes of Semantic Insights Research Assistant and Research Librarian Presented to The Federal Big Data Working

More information

Nonlinear Algebraic Equations Example

Nonlinear Algebraic Equations Example Nonlinear Algebraic Equations Example Continuous Stirred Tank Reactor (CSTR). Look for steady state concentrations & temperature. s r (in) p,i (in) i In: N spieces with concentrations c, heat capacities

More information

Quotation. Ku and Broaddus (2008) note that some intuitively believe that a. public insurance expansion would be more costly than expanding

Quotation. Ku and Broaddus (2008) note that some intuitively believe that a. public insurance expansion would be more costly than expanding The following is a paragraph from Ku and Broaddus (2008), p. 9. The highlighted portion will be paraphrased: In light of concerns about escalating national health spending, the comparative cost of public

More information

Ambiguity, closure properties, Overview of ambiguity, and Chomsky s standard form

Ambiguity, closure properties, Overview of ambiguity, and Chomsky s standard form Ambiguity, closure properties, and Chomsky s normal form Overview of ambiguity, and Chomsky s standard form The notion of ambiguity Convention: we assume that in every substitution, the leftmost remaining

More information

Noam Chomsky: Aspects of the Theory of Syntax notes

Noam Chomsky: Aspects of the Theory of Syntax notes Noam Chomsky: Aspects of the Theory of Syntax notes Julia Krysztofiak May 16, 2006 1 Methodological preliminaries 1.1 Generative grammars as theories of linguistic competence The study is concerned with

More information

AN APPROACH TO WORD SENSE DISAMBIGUATION COMBINING MODIFIED LESK AND BAG-OF-WORDS

AN APPROACH TO WORD SENSE DISAMBIGUATION COMBINING MODIFIED LESK AND BAG-OF-WORDS AN APPROACH TO WORD SENSE DISAMBIGUATION COMBINING MODIFIED LESK AND BAG-OF-WORDS Alok Ranjan Pal 1, 3, Anirban Kundu 2, 3, Abhay Singh 1, Raj Shekhar 1, Kunal Sinha 1 1 College of Engineering and Management,

More information

Big Data in Education

Big Data in Education Big Data in Education Assessment of the New Educational Standards Markus Iseli, Deirdre Kerr, Hamid Mousavi Big Data in Education Technology is disrupting education, expanding the education ecosystem beyond

More information

DEFINITIONS. Perpendicular Two lines are called perpendicular if they form a right angle.

DEFINITIONS. Perpendicular Two lines are called perpendicular if they form a right angle. DEFINITIONS Degree A degree is the 1 th part of a straight angle. 180 Right Angle A 90 angle is called a right angle. Perpendicular Two lines are called perpendicular if they form a right angle. Congruent

More information

Learning Analysis by Reduction from Positive Data

Learning Analysis by Reduction from Positive Data Learning Analysis by Reduction from Positive Data František Mráz 1, Friedrich Otto 1, and Martin Plátek 2 1 Fachbereich Mathematik/Informatik, Universität Kassel 34109 Kassel, Germany {mraz,otto}@theory.informatik.uni-kassel.de

More information

Comma checking in Danish Daniel Hardt Copenhagen Business School & Villanova University

Comma checking in Danish Daniel Hardt Copenhagen Business School & Villanova University Comma checking in Danish Daniel Hardt Copenhagen Business School & Villanova University 1. Introduction This paper describes research in using the Brill tagger (Brill 94,95) to learn to identify incorrect

More information

Implementation of Recursively Enumerable Languages using Universal Turing Machine in JFLAP

Implementation of Recursively Enumerable Languages using Universal Turing Machine in JFLAP International Journal of Information and Computation Technology. ISSN 0974-2239 Volume 4, Number 1 (2014), pp. 79-84 International Research Publications House http://www. irphouse.com /ijict.htm Implementation

More information

LESSON THIRTEEN STRUCTURAL AMBIGUITY. Structural ambiguity is also referred to as syntactic ambiguity or grammatical ambiguity.

LESSON THIRTEEN STRUCTURAL AMBIGUITY. Structural ambiguity is also referred to as syntactic ambiguity or grammatical ambiguity. LESSON THIRTEEN STRUCTURAL AMBIGUITY Structural ambiguity is also referred to as syntactic ambiguity or grammatical ambiguity. Structural or syntactic ambiguity, occurs when a phrase, clause or sentence

More information

Compound Sentences and Coordination

Compound Sentences and Coordination Compound Sentences and Coordination Mary Westervelt Reference: Ann Hogue (2003) The Essentials of English: A Writer s Handbook. New York, Pearson Education, Inc. When two sentences are combined in a way

More information

Chapter 13, Sections 13.1-13.2. Auxiliary Verbs. 2003 CSLI Publications

Chapter 13, Sections 13.1-13.2. Auxiliary Verbs. 2003 CSLI Publications Chapter 13, Sections 13.1-13.2 Auxiliary Verbs What Auxiliaries Are Sometimes called helping verbs, auxiliaries are little words that come before the main verb of a sentence, including forms of be, have,

More information

Use of the Chi-Square Statistic. Marie Diener-West, PhD Johns Hopkins University

Use of the Chi-Square Statistic. Marie Diener-West, PhD Johns Hopkins University This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. Your use of this material constitutes acceptance of that license and the conditions of use of materials on this

More information

How To Trace

How To Trace CS510 Software Engineering Dynamic Program Analysis Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Scott A. Carr Slides inspired by Xiangyu Zhang http://nebelwelt.net/teaching/15-cs510-se

More information

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS June 2005 Authorized for Distribution by the New York State Education Department "NYSTCE," "New York State Teacher Certification Examinations," and the

More information

NATURAL LANGUAGE QUERY PROCESSING USING PROBABILISTIC CONTEXT FREE GRAMMAR

NATURAL LANGUAGE QUERY PROCESSING USING PROBABILISTIC CONTEXT FREE GRAMMAR NATURAL LANGUAGE QUERY PROCESSING USING PROBABILISTIC CONTEXT FREE GRAMMAR Arati K. Deshpande 1 and Prakash. R. Devale 2 1 Student and 2 Professor & Head, Department of Information Technology, Bharati

More information

1 Determinants and the Solvability of Linear Systems

1 Determinants and the Solvability of Linear Systems 1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped

More information

Automata and Computability. Solutions to Exercises

Automata and Computability. Solutions to Exercises Automata and Computability Solutions to Exercises Fall 25 Alexis Maciel Department of Computer Science Clarkson University Copyright c 25 Alexis Maciel ii Contents Preface vii Introduction 2 Finite Automata

More information

Rapid Prototyping of Application-oriented Natural Language Interfaces

Rapid Prototyping of Application-oriented Natural Language Interfaces Rapid Prototyping of Application-oriented Natural Language Interfaces Tamás Mészáros Department of Measurement and Information Systems, Budapest University of Technology and Economics, Magyar tudósok krt.

More information

. Learn the number of classes and the structure of each class using similarity between unlabeled training patterns

. Learn the number of classes and the structure of each class using similarity between unlabeled training patterns Outline Part 1: of data clustering Non-Supervised Learning and Clustering : Problem formulation cluster analysis : Taxonomies of Clustering Techniques : Data types and Proximity Measures : Difficulties

More information

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

WRITING PROOFS. Christopher Heil Georgia Institute of Technology WRITING PROOFS Christopher Heil Georgia Institute of Technology A theorem is just a statement of fact A proof of the theorem is a logical explanation of why the theorem is true Many theorems have this

More information

Compiler Construction

Compiler Construction Compiler Construction Regular expressions Scanning Görel Hedin Reviderad 2013 01 23.a 2013 Compiler Construction 2013 F02-1 Compiler overview source code lexical analysis tokens intermediate code generation

More information

Logic in general. Inference rules and theorem proving

Logic in general. Inference rules and theorem proving Logical Agents Knowledge-based agents Logic in general Propositional logic Inference rules and theorem proving First order logic Knowledge-based agents Inference engine Knowledge base Domain-independent

More information

A new approach for recognizing handwritten mathematics

A new approach for recognizing handwritten mathematics IJDAR DOI 10.1007/s10032-012-0184-x ORIGINAL PAPER A new approach for recognizing handwritten mathematics using relational grammars and fuzzy sets Scott MacLean George Labahn Received: 21 July 2010 / Revised:

More information

Least-Squares Intersection of Lines

Least-Squares Intersection of Lines Least-Squares Intersection of Lines Johannes Traa - UIUC 2013 This write-up derives the least-squares solution for the intersection of lines. In the general case, a set of lines will not intersect at a

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

Introduction. Compiler Design CSE 504. Overview. Programming problems are easier to solve in high-level languages

Introduction. Compiler Design CSE 504. Overview. Programming problems are easier to solve in high-level languages Introduction Compiler esign CSE 504 1 Overview 2 3 Phases of Translation ast modifled: Mon Jan 28 2013 at 17:19:57 EST Version: 1.5 23:45:54 2013/01/28 Compiled at 11:48 on 2015/01/28 Compiler esign Introduction

More information

GRADE 6 MATH: SHARE MY CANDY

GRADE 6 MATH: SHARE MY CANDY GRADE 6 MATH: SHARE MY CANDY UNIT OVERVIEW The length of this unit is approximately 2-3 weeks. Students will develop an understanding of dividing fractions by fractions by building upon the conceptual

More information

The Specific Text Analysis Tasks at the Beginning of MDA Life Cycle

The Specific Text Analysis Tasks at the Beginning of MDA Life Cycle SCIENTIFIC PAPERS, UNIVERSITY OF LATVIA, 2010. Vol. 757 COMPUTER SCIENCE AND INFORMATION TECHNOLOGIES 11 22 P. The Specific Text Analysis Tasks at the Beginning of MDA Life Cycle Armands Šlihte Faculty

More information

CALICO Journal, Volume 9 Number 1 9

CALICO Journal, Volume 9 Number 1 9 PARSING, ERROR DIAGNOSTICS AND INSTRUCTION IN A FRENCH TUTOR GILLES LABRIE AND L.P.S. SINGH Abstract: This paper describes the strategy used in Miniprof, a program designed to provide "intelligent' instruction

More information

Lesson 9: Radicals and Conjugates

Lesson 9: Radicals and Conjugates Student Outcomes Students understand that the sum of two square roots (or two cube roots) is not equal to the square root (or cube root) of their sum. Students convert expressions to simplest radical form.

More information

PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71. Applications. F = mc + b.

PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71. Applications. F = mc + b. PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71 Applications The formula y = mx + b sometimes appears with different symbols. For example, instead of x, we could use the letter C.

More information

Online EFFECTIVE AS OF JANUARY 2013

Online EFFECTIVE AS OF JANUARY 2013 2013 A and C Session Start Dates (A-B Quarter Sequence*) 2013 B and D Session Start Dates (B-A Quarter Sequence*) Quarter 5 2012 1205A&C Begins November 5, 2012 1205A Ends December 9, 2012 Session Break

More information

Chapter 3 Growing with Verbs 77

Chapter 3 Growing with Verbs 77 Chapter 3 Growing with Verbs 77 3.2 Direct Objects A direct object is the noun or pronoun that receives the direct action of a verb. The verb used with a direct object is always an action verb and is called

More information

Reflection and Refraction

Reflection and Refraction Equipment Reflection and Refraction Acrylic block set, plane-concave-convex universal mirror, cork board, cork board stand, pins, flashlight, protractor, ruler, mirror worksheet, rectangular block worksheet,

More information

Subject and Predicates

Subject and Predicates Name: Per: Subject and Predicates Every independent clause can be separated into two parts: Complete subject and Complete predicate. Complete subject Complete predicate All the words that describe who

More information

SAMPLE. Grammar, punctuation and spelling. Paper 2: short answer questions. English tests KEY STAGE LEVEL. Downloaded from satspapers.org.

SAMPLE. Grammar, punctuation and spelling. Paper 2: short answer questions. English tests KEY STAGE LEVEL. Downloaded from satspapers.org. En KEY STAGE 2 English tests *SAMPLE* LEVEL 6 SAMPLE Grammar, punctuation and spelling Paper 2: short answer questions First name Middle name Last name Date of birth Day Month Year School name DfE number

More information

Introduction. BM1 Advanced Natural Language Processing. Alexander Koller. 17 October 2014

Introduction. BM1 Advanced Natural Language Processing. Alexander Koller. 17 October 2014 Introduction! BM1 Advanced Natural Language Processing Alexander Koller! 17 October 2014 Outline What is computational linguistics? Topics of this course Organizational issues Siri Text prediction Facebook

More information

Computer Programming Lecturer: Dr. Laith Abdullah Mohammed

Computer Programming Lecturer: Dr. Laith Abdullah Mohammed Algorithm: A step-by-step procedure for solving a problem in a finite amount of time. Algorithms can be represented using Flow Charts. CHARACTERISTICS OF AN ALGORITHM: Computer Programming Lecturer: Dr.

More information

TSI College Level Math Practice Test

TSI College Level Math Practice Test TSI College Level Math Practice Test Tutorial Services Mission del Paso Campus. Factor the Following Polynomials 4 a. 6 8 b. c. 7 d. ab + a + b + 6 e. 9 f. 6 9. Perform the indicated operation a. ( +7y)

More information

Natural Language Processing

Natural Language Processing Natural Language Processing 2 Open NLP (http://opennlp.apache.org/) Java library for processing natural language text Based on Machine Learning tools maximum entropy, perceptron Includes pre-built models

More information

A Chart Parsing implementation in Answer Set Programming

A Chart Parsing implementation in Answer Set Programming A Chart Parsing implementation in Answer Set Programming Ismael Sandoval Cervantes Ingenieria en Sistemas Computacionales ITESM, Campus Guadalajara elcoraz@gmail.com Rogelio Dávila Pérez Departamento de

More information

Regular Expressions with Nested Levels of Back Referencing Form a Hierarchy

Regular Expressions with Nested Levels of Back Referencing Form a Hierarchy Regular Expressions with Nested Levels of Back Referencing Form a Hierarchy Kim S. Larsen Odense University Abstract For many years, regular expressions with back referencing have been used in a variety

More information

Aim To help students prepare for the Academic Reading component of the IELTS exam.

Aim To help students prepare for the Academic Reading component of the IELTS exam. IELTS Reading Test 1 Teacher s notes Written by Sam McCarter Aim To help students prepare for the Academic Reading component of the IELTS exam. Objectives To help students to: Practise doing an academic

More information

Case-Factor Diagrams for Structured Probabilistic Modeling

Case-Factor Diagrams for Structured Probabilistic Modeling Case-Factor Diagrams for Structured Probabilistic Modeling David McAllester TTI at Chicago mcallester@tti-c.org Michael Collins CSAIL Massachusetts Institute of Technology mcollins@ai.mit.edu Fernando

More information

Paraphrasing controlled English texts

Paraphrasing controlled English texts Paraphrasing controlled English texts Kaarel Kaljurand Institute of Computational Linguistics, University of Zurich kaljurand@gmail.com Abstract. We discuss paraphrasing controlled English texts, by defining

More information

Understanding Clauses and How to Connect Them to Avoid Fragments, Comma Splices, and Fused Sentences A Grammar Help Handout by Abbie Potter Henry

Understanding Clauses and How to Connect Them to Avoid Fragments, Comma Splices, and Fused Sentences A Grammar Help Handout by Abbie Potter Henry Independent Clauses An independent clause (IC) contains at least one subject and one verb and can stand by itself as a simple sentence. Here are examples of independent clauses. Because these sentences

More information

PTE Academic Preparation Course Outline

PTE Academic Preparation Course Outline PTE Academic Preparation Course Outline August 2011 V2 Pearson Education Ltd 2011. No part of this publication may be reproduced without the prior permission of Pearson Education Ltd. Introduction The

More information

2. (a) Explain the strassen s matrix multiplication. (b) Write deletion algorithm, of Binary search tree. [8+8]

2. (a) Explain the strassen s matrix multiplication. (b) Write deletion algorithm, of Binary search tree. [8+8] Code No: R05220502 Set No. 1 1. (a) Describe the performance analysis in detail. (b) Show that f 1 (n)+f 2 (n) = 0(max(g 1 (n), g 2 (n)) where f 1 (n) = 0(g 1 (n)) and f 2 (n) = 0(g 2 (n)). [8+8] 2. (a)

More information

1 Operational Semantics for While

1 Operational Semantics for While Models of Computation, 2010 1 1 Operational Semantics for While The language While of simple while programs has a grammar consisting of three syntactic categories: numeric expressions, which represent

More information

Introduction to Automata Theory. Reading: Chapter 1

Introduction to Automata Theory. Reading: Chapter 1 Introduction to Automata Theory Reading: Chapter 1 1 What is Automata Theory? Study of abstract computing devices, or machines Automaton = an abstract computing device Note: A device need not even be a

More information

Building a Question Classifier for a TREC-Style Question Answering System

Building a Question Classifier for a TREC-Style Question Answering System Building a Question Classifier for a TREC-Style Question Answering System Richard May & Ari Steinberg Topic: Question Classification We define Question Classification (QC) here to be the task that, given

More information