Dependency Grammar as Graph Description

Size: px
Start display at page:

Download "Dependency Grammar as Graph Description"

Transcription

1 Dependency Grammar as Graph Description Ralph Debusmann Programming Systems Lab Universität des Saarlandes Dependency Grammar as Graph Description p.1

2 This talk introduces a new meta grammar formalism for dependency grammar: Extensible Dependency Grammar (XDG) graph description language generalisation of Topological Dependency Grammar (TDG) (Duchier and Debusmann ACL 2001) meta grammar formalism: can be instantiated to yield specific grammar formalisms (including TDG itself) based on dependency grammar Dependency Grammar as Graph Description p.2

3 Dependency grammar collection of ideas for natural language analysis long history (following Kruijff 2002): Greek and Latin scholars: Thrax, Apollonius, and Priscian Indian: Panini s formal grammar of Sanskrit (Astadhyayi/Astaka, 350/250 BC) Arabic: Kitab al-usul of Ibn al-sarrag (d.928) European: Martinus de Dacia (d.1304), Thomas von Erfurt (14th century) modern dependency grammar credited to Tesniere (1959) so what are these ideas? Dependency Grammar as Graph Description p.3

4 Words Bagels, Peter has eaten. Dependency Grammar as Graph Description p.4

5 1:1-correspondence between words and nodes Bagels, Peter has eaten. Dependency Grammar as Graph Description p.5

6 Head/dependent-asymmetry Bagels, Peter has eaten. Dependency Grammar as Graph Description p.6

7 Grammatical functions (edge labels) subj vprt obj Bagels, Peter has eaten. Dependency Grammar as Graph Description p.7

8 Valency (subcategorisation) subj vprt obj Bagels, Peter has { } { } { subj, vprt } eaten. { obj } Dependency Grammar as Graph Description p.8

9 Dependency and phrase structure ideas from dependency grammar adopted by many phrase structure-based grammar formalisms: Government and Binding (GB, Chomsky 1986): X -theory Head-driven Phrase Structure Grammar (HPSG, Pollard and Sag 1994): e.g. DEPS-feature in modern variants (Bouma, Malouf and Sag 1998) Lexical Functional Grammar (LFG, Bresnan and Kaplan 1982): f-structure Tree Adjoining Grammar (TAG, Joshi 1987): derivation tree Dependency Grammar as Graph Description p.9

10 Pure dependency grammar formalisms pure dependency grammar formalisms have been less successful: Abhaengigkeitsgrammatik (Kunze 1975) Functional Generative Description (FGD, Sgall et al 1986) Meaning Text Theory (MTT, Melcuk 1988) Word Grammar (Hudson 1990) why? Dependency Grammar as Graph Description p.10

11 Problems of pure dependency grammar formalisms parsing: no parsers word order: no declarative specification syntax-semantics interface: no compositional semantics construction Dependency Grammar as Graph Description p.11

12 Parsing Duchier (MOL 1999) constraint-based parser for dependency grammar average case efficient (but only small test grammars), although NP-complete in the worst case (Koller and Striegnitz ACL 2002): parser used for LTAG generation, than the generator described in (Carrol et al 1999) (Kuhlmann MSc 2002): parser used for parsing Categorial Type Logics (CTL) Dependency Grammar as Graph Description p.12

13 Word order (Duchier and Debusmann ACL 2001), (Debusmann MSc 2001): Topological Dependency Grammar (TDG) grammar formalism allows declarative specification of word order parsing: Duchier s constraint-based parser Dependency Grammar as Graph Description p.13

14 Syntax-semantics interface goal of my PhD research: develop a syntax-semantics interface for dependency grammar idea: 1. generalise TDG into a metagrammatical framework for dependency grammar (XDG) 2. use XDG to develop the syntax-semantics interface Dependency Grammar as Graph Description p.14

15 Roadmap of the talk 1. XDG basic architecture principles lexicalisation 2. TDG as an instance of XDG 3. syntax-semantics interface Semantic Topological Dependency Grammar (STDG) STDG as another instance of XDG 4. conclusions Dependency Grammar as Graph Description p.15

16 Extensible Dependency Grammar (XDG) graph description language describes a set of graph dimensions a graph dimension is a labeled directed graph G d (V, E d ) all graph dimensions share the same set V of nodes each graph dimension has its own set E d of labeled edges (L d set of edge labels, E d V L d V ) simple feature structures can be attached to each node (features: functions V R, where R is an arbitrary codomain) parametrised principles stipulate well-formedness conditions Dependency Grammar as Graph Description p.16

17 Nodes (arranged in a graph) v 1... v n Dependency Grammar as Graph Description p.17

18 Graph dimensions v 1... v n d m... v 1... v n d 1 Dependency Grammar as Graph Description p.18

19 Feature structures v v n... d m... v v n... d 1 Dependency Grammar as Graph Description p.19

20 Principles P dm v v n... d m... P d1 v v n... d 1 Dependency Grammar as Graph Description p.20

21 Principles (one-dimensional) P dm v v n... d m... P d1 v v n... d 1 Dependency Grammar as Graph Description p.21

22 Principles (multi-dimensional) P dm v v n... d m... P d1 v v n... d 1 Dependency Grammar as Graph Description p.22

23 Principle library directed acyclic graph * tree * in * out * order projectivity climbing barriers linking * covariance and contravariance * node and edge constraints... (extensible) Dependency Grammar as Graph Description p.23

24 Directed acyclic graph dag(g): G is a directed acyclic graph. Dependency Grammar as Graph Description p.24

25 Tree tree(g): G is a tree. Dependency Grammar as Graph Description p.25

26 In out(g d, f): The incoming edges of each node in G d must satisfy the nodes in specification. Feature f : V 2 L d maps an in specification to each node. Dependency Grammar as Graph Description p.26

27 In l 1 v 1 in : { l 1, l 2 } Dependency Grammar as Graph Description p.27

28 In l 2 v 1 in : { l 1, l 2 } Dependency Grammar as Graph Description p.27

29 In in : { l 1, l 2 } Dependency Grammar as Graph Description p.27

30 In l 3 v 1 in : { l 1, l 2 } Dependency Grammar as Graph Description p.27

31 Out out(g d, f): The outgoing edges of each node in G d must satisfy the nodes out specification. Feature f : V (L d 2 N ) maps an out specification to each node. Dependency Grammar as Graph Description p.28

32 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} l 2 l 3 l 3 l 3 Dependency Grammar as Graph Description p.29

33 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} l 2 l 3 l 3 Dependency Grammar as Graph Description p.29

34 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} l 2 l 3 Dependency Grammar as Graph Description p.29

35 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} l 2 Dependency Grammar as Graph Description p.29

36 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} l 2 l 1 Dependency Grammar as Graph Description p.29

37 Out v 1 out : l 1 : {0} l 2 : {1} l 3 : {0,1,2,3} Dependency Grammar as Graph Description p.29

38 Linking linking(g d1, G d2, f): An edge (v 1, l, v 2 ) in G d1 is only licensed if there is a corresponding edge (v 3, l, v 2 ) in G d2, and v 1 links l to l. Feature f : V (L d1 2 L d 2 ) assigns to each node a linking specification. Dependency Grammar as Graph Description p.30

39 Linking d 1 v 1 l link: l : { l } v 2 Dependency Grammar as Graph Description p.31

40 Linking d 1 d 2 link: v 1 l : { l } l v 3 v 2 v 2 Dependency Grammar as Graph Description p.31

41 Linking d 1 d 2 link: v 1 l : { l } l v 3 l v 2 v 2 Dependency Grammar as Graph Description p.31

42 Linking d 1 d 2 v 1 l v 3 l link: l : { l } v 2 v 2 Dependency Grammar as Graph Description p.31

43 Linking d 1 d 2 v 1 l link: l : { l } v 2 v 2 Dependency Grammar as Graph Description p.31

44 Covariance covariance(g d1, G d2, f): Each edge (v 1, l, v 2 ) in G d1 where l is covariant on v 1 is only licensed if v 1 is above v 2 in G d2. Feature f : V 2 L d 1 assigns to each node its set of covariant labels. Dependency Grammar as Graph Description p.32

45 Covariance d 1 v 1 l co : { l } v 2 Dependency Grammar as Graph Description p.33

46 Covariance d 1 d 2 v 1 co : { l } l v1 v 2 v2 Dependency Grammar as Graph Description p.33

47 Covariance d 1 d 2 v 1 co : { l } l v 2 v 2 v 1 Dependency Grammar as Graph Description p.33

48 Contravariance contravariance(g d1, G d2, f): Each edge (v 1, l, v 2 ) in G d1 where l is contravariant on v 1 is only licensed if v 1 is below v 2 in G d2. Feature f : V 2 L d 1 assigns to each node its set of contravariant labels. Dependency Grammar as Graph Description p.34

49 Lexicalisation 1. from dependency grammar: 1:1-correspondence between nodes and words 2. assign to each word a set of lexical entries (feature structures) 3. select one of the lexical entries, efficient through selection constraint (Duchier MOL 1999) 4. assign the selected entry (feature structure) to the corresponding node Dependency Grammar as Graph Description p.35

50 XDG architecture so far P dm v v n... d m... P d1 v v n... d 1 Dependency Grammar as Graph Description p.36

51 Words P dm v v n... d m... P d1 v v n... d 1 w 1 w n Dependency Grammar as Graph Description p.37

52 Lexical entries P dm v v n... d m... P d1 v v n... d 1 w 1 w n Dependency Grammar as Graph Description p.38

53 Selection P dm v v n... d m... P d1 v v n... d 1 w 1 w n Dependency Grammar as Graph Description p.39

54 Lexical assignment P dm v v n... d m... P d1 v v n... d 1 w 1 w n Dependency Grammar as Graph Description p.40

55 XDG instantiation recipe for getting XDG instances: 1. define graph dimensions 2. define used principles and parameters Dependency Grammar as Graph Description p.41

56 XDG does TDG two graph dimensions: G ID and G LP ID dimension: Immediate Dominance; edge labels: grammatical functions like subj, obj (subject, object) LP dimension: Linear Precedence; edge labels: topological fields (linear positions) like topf, subjf (topicalisation field, subject field) Dependency Grammar as Graph Description p.42

57 Principles used on the ID dimension tree(g ID ) in(g ID, in ID ) out(g ID, out ID ) nodeconstraints(...) edgeconstraints(g ID, f) Dependency Grammar as Graph Description p.43

58 Principles used on the LP dimension tree(g LP ) in(g LP, in LP ) out(g LP, out LP ) order(g LP,..., on) projectivity(g LP ) climbing(g ID, G LP ) barriers(g ID, G LP, blocks) Dependency Grammar as Graph Description p.44

59 TDG analysis subj vinf obj ID A woman, every man seems to love. Dependency Grammar as Graph Description p.45

60 TDG analysis topf subjf vcf LP A woman, every man seems to love. subj vinf obj ID A woman, every man seems to love. Dependency Grammar as Graph Description p.45

61 Syntax-semantics interface Semantic Topological Dependency Grammar (STDG) new grammar formalism, extends TDG with a syntax-semantics interface to underspecified semantics underspecification formalism: Constraint Language for Lambda Structures (CLLS, Egg, Niehren, Ruhrberg, Xu 1998) other target semantics formalisms possible Dependency Grammar as Graph Description p.46

62 Constraint Language for Lambda Structures (CLLS) CLLS based on dominance constraints (Marcus/Hindle/Fleck 1983) CLLS structures describe λ-terms example: A woman, every man seems to love. scopally ambiguous: strong and weak reading (quantifier order: and ) Dependency Grammar as Graph Description p.47

63 lam lam every seem var love var Dependency Grammar as Graph Description p.48

64 lam lam a seem var love var Dependency Grammar as Graph Description p.49

65 XDG does STDG four graph dimensions: G ID, G LP, G TH, G DE ID and LP dimensions as in TDG TH dimension: THematic dag; edge labels: semantic roles like act, pat (actor, patient) DE dimension: CLLS DErivation tree; edge labels: CLLS fragment positions like r, s (restriction, scope) Dependency Grammar as Graph Description p.50

66 Principles used on the TH dimension dag(g TH ) in(g TH, in TH ) out(g TH, out TH ) linking(g TH, G ID, link) Dependency Grammar as Graph Description p.51

67 Principles used on the DE dimension tree(g DE ) in(g DE, in DE ) out(g DE, out DE ) covariance(g DE, G TH, co) contravariance(g DE, G TH, contra) Dependency Grammar as Graph Description p.52

68 STDG analysis LP topf subjf vcf A woman, every man seems to love. subj vinf obj A woman, every man seems to love. ID Dependency Grammar as Graph Description p.53

69 STDG analysis LP topf subjf vcf A woman, every man seems to love. subj vinf prop obj pat act A woman, every man seems to love. A woman, every man seems to love. ID TH Dependency Grammar as Graph Description p.54

70 STDG analysis (strong reading) LP DE topf subjf vcf s s s A woman, every man seems to love. A woman, every man seems to love. subj vinf prop obj pat act A woman, every man seems to love. A woman, every man seems to love. ID TH Dependency Grammar as Graph Description p.55

71 STDG analysis (weak reading) LP DE topf subjf vcf s s s A woman, every man seems to love. A woman, every man seems to love. subj vinf prop obj pat act A woman, every man seems to love. A woman, every man seems to love. ID TH Dependency Grammar as Graph Description p.56

72 From STDG to CLLS lexicon: words correspond to CLLS fragments (subtrees) STDG analysis contains all information to build a CLLS representation of the semantics: DE tree: assembly of fragments/scope TH dag: lambda bindings Dependency Grammar as Graph Description p.57

73 Words correspond to lam a A woman, every man seems to love. man seem var love var CLLS Dependency Grammar as Graph Description p.58

74 DE tree: assembly of fragments DE s lam a A woman, every man seems to lam every seem var love var CLLS Dependency Grammar as Graph Description p.59

75 TH dag: lambda bindings DE s lam a A woman, every man seems to lam every prop pat act var var A woman, every man seems to love. TH CLLS Dependency Grammar as Graph Description p.60

76 TH dag: lambda bindings DE s lam a A woman, every man seems to lam every prop pat act var var A woman, every man seems to love. TH CLLS Dependency Grammar as Graph Description p.61

77 Summary dependency grammar appealing but pure dependency grammar approaches flawed (Duchier MOL 99) solves the parsing problem TDG (Duchier and Debusmann ACL 2001), (Debusmann MSc 2001) solves the word order problem but still no syntax-semantics interface generalised TDG to XDG TDG as an instance of XDG syntax-semantics interface: developed STDG as another instance of XDG Dependency Grammar as Graph Description p.62

78 State of the art proof of concept: STDG syntax-semantics interface works for small example grammar new XDG parser (as efficient as the TDG parser) new XDG parser system (statically typed frontend, XML support) demo Dependency Grammar as Graph Description p.63

79 Related work interface to information structure (Duchier and Kruijff EACL 2003) grammar induction (Korthals and Kruijff 2003) (Korthals MSc 2003) Stochastic Extensible Dependency Grammar (SXDG) (Dienes, Koller and Kuhlmann PASSI 2003) Dependency Grammar as Graph Description p.64

80 XDG people a number of people are involved in XDG: Lille: Joachim Niehren Nancy: Denys Duchier Saarbrücken: Ondrej Bojar, Peter Dienes, Alexander Koller, Christian Korthals, Geert-Jan Kruijff, Marco Kuhlmann, Mathias Möhl, Stefan Thater Dependency Grammar as Graph Description p.65

81 Outlook integration of preferences (for e.g. PP attachment, scope) search for equivalences between instances of XDG and existing grammar formalisms (find e.g. context-free and mildly context-sensitive XDG instances) Tree Insertion Grammar (TIG, Schabes and Waters 1993) TAG (Joshi 1987) CCG (Steedman 2000), MMCCG (Baldridge and Kruijff 2003) development of bigger grammars: handcrafted induced (Penn Treebank, TIGER, Prague Dependency Treebank) ported (XTAG) Dependency Grammar as Graph Description p.66

82 Thank you! Any questions? Dependency Grammar as Graph Description p.67

An Improved Redundancy Elimination Algorithm for Underspecified Representations

An Improved Redundancy Elimination Algorithm for Underspecified Representations An Improved Redundancy Elimination Algorithm for Underspecified Representations Alexander Koller and Stefan Thater Dept. of Computational Linguistics Universität des Saarlandes, Saarbrücken, Germany {koller,stth}@coli.uni-sb.de

More information

The MetaGrammar Compiler: An NLP Application with a Multi-paradigm Architecture

The MetaGrammar Compiler: An NLP Application with a Multi-paradigm Architecture The MetaGrammar Compiler: An NLP Application with a Multi-paradigm Architecture Denys Duchier Joseph Le Roux Yannick Parmentier LORIA Campus cientifique, BP 239, F-54 506 Vandœuvre-lès-Nancy, France MOZ

More information

SemTAG - a platform for Semantic Construction with Tree Adjoining Grammars

SemTAG - a platform for Semantic Construction with Tree Adjoining Grammars SemTAG - a platform for Semantic Construction with Tree Adjoining Grammars Yannick Parmentier parmenti@loria.fr Langue Et Dialogue Project LORIA Nancy Universities France Emmy Noether Project SFB 441 Tübingen

More information

COMPUTATIONAL SEMANTICS WITH FUNCTIONAL PROGRAMMING JAN VAN EIJCK AND CHRISTINA UNGER. lg Cambridge UNIVERSITY PRESS

COMPUTATIONAL SEMANTICS WITH FUNCTIONAL PROGRAMMING JAN VAN EIJCK AND CHRISTINA UNGER. lg Cambridge UNIVERSITY PRESS COMPUTATIONAL SEMANTICS WITH FUNCTIONAL PROGRAMMING JAN VAN EIJCK AND CHRISTINA UNGER lg Cambridge UNIVERSITY PRESS ^0 Contents Foreword page ix Preface xiii 1 Formal Study of Natural Language 1 1.1 The

More information

The evolution of dominance constraint solvers

The evolution of dominance constraint solvers The evolution of dominance constraint solvers Alexander Koller and Stefan Thater Dept. of Computational Linguistics Saarland University, Saarbrücken, Germany {koller,stth}@coli.uni-sb.de Abstract We describe

More information

Dependency grammar and dependency parsing

Dependency grammar and dependency parsing Dependency grammar and dependency parsing Syntactic analysis (5LN455) 2014-12-10 Sara Stymne Department of Linguistics and Philology Based on slides from Marco Kuhlmann Mid-course evaluation Mostly positive

More information

Syntax-semantics interface and the non-trivial computation of meaning

Syntax-semantics interface and the non-trivial computation of meaning 1 Syntax-semantics interface and the non-trivial computation of meaning APA/ASL Group Meeting GVI-2: Lambda Calculi, Type Systems, and Applications to Natural Language APA Eastern Division 108th Annual

More information

Dependency grammar and dependency parsing

Dependency grammar and dependency parsing Dependency grammar and dependency parsing Syntactic analysis (5LN455) 2015-12-09 Sara Stymne Department of Linguistics and Philology Based on slides from Marco Kuhlmann Activities - dependency parsing

More information

Dominance Constraints and Dominance Graphs

Dominance Constraints and Dominance Graphs Dominance Constraints and Dominance Graphs David Steurer Saarland University Abstract. Dominance constraints logically describe trees in terms of their adjacency and dominance, i.e. reachability, relation.

More information

Towards a Constraint Parser for Categorial Type Logics

Towards a Constraint Parser for Categorial Type Logics Towards a Constraint Parser for Categorial Type Logics Marco Kuhlmann E H U N I V E R S I T Y T O H F R G E D I N B U Master of Science School of Cognitive Science Division of Informatics University of

More information

Dependency grammar and dependency parsing

Dependency grammar and dependency parsing Dependency grammar and dependency parsing Syntactic analysis (5LN455) 2016-12-05 Sara Stymne Department of Linguistics and Philology Based on slides from Marco Kuhlmann Activities - dependency parsing

More information

Large-Scale Syntactic Processing: Parsing the Web. JHU 2009 Summer Research Workshop

Large-Scale Syntactic Processing: Parsing the Web. JHU 2009 Summer Research Workshop Large-Scale Syntactic Processing: JHU 2009 Summer Research Workshop Intro CCG parser Tasks 2 The Team Stephen Clark (Cambridge, UK) Ann Copestake (Cambridge, UK) James Curran (Sydney, Australia) Byung-Gyu

More information

Statistical Parsing for Text Mining from Scientific Articles

Statistical Parsing for Text Mining from Scientific Articles Statistical Parsing for Text Mining from Scientific Articles Ted Briscoe Computer Laboratory University of Cambridge November 30, 2004 Contents 1 Text Mining 2 Statistical Parsing 3 The RASP System 4 The

More information

Computational Linguistics: Feature Agreement

Computational Linguistics: Feature Agreement Computational Linguistics: Feature Agreement Raffaella Bernardi Contents 1 Admin................................................... 4 2 Formal Grammars......................................... 5 2.1 Recall:

More information

Compiler Theory. (Semantic Analysis and Run-Time Environments)

Compiler Theory. (Semantic Analysis and Run-Time Environments) Compiler Theory (Semantic Analysis and Run-Time Environments) 005 Semantic Actions A compiler must do more than recognise whether a sentence belongs to the language of a grammar it must do something useful

More information

A Principle Compiler for Extensible Dependency Grammar

A Principle Compiler for Extensible Dependency Grammar A Principle Compiler for Extensible Dependency Grammar Bachelor Thesis Programming Systems Lab Jochen Setz, 08.11.2007 Betreuer: Ralph Debusmann A Principle Compiler for Extensible Dependency Grammar p.1/45

More information

structure of the presentation Frame Semantics knowledge-representation in larger-scale structures the concept of frame

structure of the presentation Frame Semantics knowledge-representation in larger-scale structures the concept of frame structure of the presentation Frame Semantics semantic characterisation of situations or states of affairs 1. introduction (partially taken from a presentation of Markus Egg): i. what is a frame supposed

More information

An experiment with variable binding, denotational semantics, and logical relations in Coq. Adam Chlipala University of California, Berkeley

An experiment with variable binding, denotational semantics, and logical relations in Coq. Adam Chlipala University of California, Berkeley A Certified TypePreserving Compiler from Lambda Calculus to Assembly Language An experiment with variable binding, denotational semantics, and logical relations in Coq Adam Chlipala University of California,

More information

MIDTERM EXAMINATION. CSE 130: Principles of Programming Languages. Professor Goguen. February 16, points total

MIDTERM EXAMINATION. CSE 130: Principles of Programming Languages. Professor Goguen. February 16, points total CSE 130, Winter 2006 MIDTERM EXAMINATION CSE 130: Principles of Programming Languages Professor Goguen February 16, 2006 100 points total Don t start the exam until you are told to. Turn off any cell phone

More information

Scope and Situation Binding in LTAG using Semantic Unification

Scope and Situation Binding in LTAG using Semantic Unification Scope and Situation Binding in LTAG using Semantic Unification Laura Kallmeyer (lk@sfs.uni-tuebingen.de) SFB 441, University of Tübingen, Nauklerstr: 35, D-72074 Tübingen, Germany. Maribel Romero (romero@ling.upenn.edu)

More information

The Application of Constraint Rules to Data-driven Parsing

The Application of Constraint Rules to Data-driven Parsing The Application of Constraint Rules to Data-driven Parsing Sardar Jaf The University of Manchester jafs@cs.man.ac.uk Allan Ramsay The University of Manchester ramsaya@cs.man.ac.uk Abstract In this paper,

More information

Introduction to Compiler Construction

Introduction to Compiler Construction Introduction to Compiler Construction ASU Textbook Chapter 1 Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 What is a compiler? Definitions: A recognizer. A translator. source

More information

Grammar Development with LFG and XLE. Miriam Butt University of Konstanz

Grammar Development with LFG and XLE. Miriam Butt University of Konstanz Grammar Development with LFG and XLE Miriam Butt University of Konstanz Last Time Integration of a Finite-State Morphological Analyzer - Sublexical Rules - Sublexical Entries - The -unknown entry The XLE

More information

User-Defined Nonmonotonicity in Unification-Based Formalisms

User-Defined Nonmonotonicity in Unification-Based Formalisms User-Defined Nonmonotonicity in Unification-Based Formalisms Lena Str~Smb~ick Department of Computer and Information Science LinkSping University S-58185 LinkSping, Sweden lestr~ida, liu. so Abstract A

More information

11. a b c d e. 12. a b c d e. 13. a b c d e. 14. a b c d e. 15. a b c d e

11. a b c d e. 12. a b c d e. 13. a b c d e. 14. a b c d e. 15. a b c d e CS-3160 Concepts of Programming Languages Spring 2015 EXAM #1 (Chapters 1-6) Name: SCORES MC: /75 PROB #1: /15 PROB #2: /10 TOTAL: /100 Multiple Choice Responses Each multiple choice question in the separate

More information

Some Interdefinability Results for Syntactic Constraint Classes

Some Interdefinability Results for Syntactic Constraint Classes Some Interdefinability Results for Syntactic Constraint Classes Thomas Graf tgraf@ucla.edu tgraf.bol.ucla.edu University of California, Los Angeles Mathematics of Language 11 Bielefeld, Germany 1 The Linguistic

More information

Type raising, continuations, and classical logic

Type raising, continuations, and classical logic Type raising, continuations, and classical logic Philippe de Groote Inria-Lorraine Abstract. There is a striking analogy between type raising, as introduced by Montague (973), and the notion of continuation

More information

Introduction to Compiler Construction

Introduction to Compiler Construction Introduction to Compiler Construction ASU Textbook Chapter 1 Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 What is a compiler? Definitions: A recognizer. A translator. source

More information

Contents. Chapter 1 SPECIFYING SYNTAX 1

Contents. Chapter 1 SPECIFYING SYNTAX 1 Contents Chapter 1 SPECIFYING SYNTAX 1 1.1 GRAMMARS AND BNF 2 Context-Free Grammars 4 Context-Sensitive Grammars 8 Exercises 8 1.2 THE PROGRAMMING LANGUAGE WREN 10 Ambiguity 12 Context Constraints in Wren

More information

Introduction to Compiler Construction

Introduction to Compiler Construction Introduction to Compiler Construction ALSU Textbook Chapter 1.1 1.5 Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 What is a compiler? Definitions: a recognizer ; a translator.

More information

Lecture 12: Conditional Expressions and Local Binding

Lecture 12: Conditional Expressions and Local Binding Lecture 12: Conditional Expressions and Local Binding Introduction Corresponds to EOPL 3.3-3.4 Please review Version-1 interpreter to make sure that you understand how it works Now we will extend the basic

More information

1. true / false By a compiler we mean a program that translates to code that will run natively on some machine.

1. true / false By a compiler we mean a program that translates to code that will run natively on some machine. 1. true / false By a compiler we mean a program that translates to code that will run natively on some machine. 2. true / false ML can be compiled. 3. true / false FORTRAN can reasonably be considered

More information

SEMINAR: RECENT ADVANCES IN PARSING TECHNOLOGY. Parser Evaluation Approaches

SEMINAR: RECENT ADVANCES IN PARSING TECHNOLOGY. Parser Evaluation Approaches SEMINAR: RECENT ADVANCES IN PARSING TECHNOLOGY Parser Evaluation Approaches NATURE OF PARSER EVALUATION Return accurate syntactic structure of sentence. Which representation? Robustness of parsing. Quick

More information

Reuse for the Reuse-Agnostic

Reuse for the Reuse-Agnostic Faculty of Computer Science, Institute of Software and Multimedia Technology, Software Technology Group Adding Modularity to Your Language of Choice http://reuseware.org Jakob Henriksson, Jendrik Johannes,

More information

Probabilistic Parsing of Mathematics

Probabilistic Parsing of Mathematics Probabilistic Parsing of Mathematics Jiří Vyskočil Josef Urban Czech Technical University in Prague, Czech Republic Cezary Kaliszyk University of Innsbruck, Austria Outline Why and why not current formal

More information

CSCE 314 Programming Languages

CSCE 314 Programming Languages CSCE 314 Programming Languages Syntactic Analysis Dr. Hyunyoung Lee 1 What Is a Programming Language? Language = syntax + semantics The syntax of a language is concerned with the form of a program: how

More information

arxiv:cs/ v1 [cs.cl] 7 Jul 2000

arxiv:cs/ v1 [cs.cl] 7 Jul 2000 Applying Constraint Handling Rules to HPSG arxiv:cs/0007013v1 [cs.cl] 7 Jul 2000 Gerald Penn Eberhard-Karls-Universität Tübingen and Bell Laboratories June 30, 2000 Abstract Constraint Handling Rules (CHR)

More information

CS 4201 Compilers 2014/2015 Handout: Lab 1

CS 4201 Compilers 2014/2015 Handout: Lab 1 CS 4201 Compilers 2014/2015 Handout: Lab 1 Lab Content: - What is compiler? - What is compilation? - Features of compiler - Compiler structure - Phases of compiler - Programs related to compilers - Some

More information

Syntax Analysis. Chapter 4

Syntax Analysis. Chapter 4 Syntax Analysis Chapter 4 Check (Important) http://www.engineersgarage.com/contributio n/difference-between-compiler-andinterpreter Introduction covers the major parsing methods that are typically used

More information

Multi Context-Free Tree Grammars and Multi-component Tree Adjoining Grammars

Multi Context-Free Tree Grammars and Multi-component Tree Adjoining Grammars Multi ontext-free Tree Grammars and Multi-component Tree djoining Grammars Joost Engelfriet 1 ndreas Maletti 2 1 LIS,, Leiden, The Netherlands 2 Institute of omputer Science,, Leipzig, Germany maletti@informatik.uni-leipzig.de

More information

Klein & Manning, NIPS 2002

Klein & Manning, NIPS 2002 Agenda for today Factoring complex model into product of simpler models Klein & Manning factored model: dependencies and constituents Dual decomposition for higher-order dependency parsing Refresh memory

More information

COMP 181 Compilers. Administrative. Last time. Prelude. Compilation strategy. Translation strategy. Lecture 2 Overview

COMP 181 Compilers. Administrative. Last time. Prelude. Compilation strategy. Translation strategy. Lecture 2 Overview COMP 181 Compilers Lecture 2 Overview September 7, 2006 Administrative Book? Hopefully: Compilers by Aho, Lam, Sethi, Ullman Mailing list Handouts? Programming assignments For next time, write a hello,

More information

CS 6110 S14 Lecture 1 Introduction 24 January 2014

CS 6110 S14 Lecture 1 Introduction 24 January 2014 CS 6110 S14 Lecture 1 Introduction 24 January 2014 1 Introduction What is a program? Is it just something that tells the computer what to do? Yes, but there is much more to it than that. The basic expressions

More information

Introduction to Syntax Analysis. Compiler Design Syntax Analysis s.l. dr. ing. Ciprian-Bogdan Chirila

Introduction to Syntax Analysis. Compiler Design Syntax Analysis s.l. dr. ing. Ciprian-Bogdan Chirila Introduction to Syntax Analysis Compiler Design Syntax Analysis s.l. dr. ing. Ciprian-Bogdan Chirila chirila@cs.upt.ro http://www.cs.upt.ro/~chirila Outline Syntax Analysis Syntax Rules The Role of the

More information

Data Abstraction. An Abstraction for Inductive Data Types. Philip W. L. Fong.

Data Abstraction. An Abstraction for Inductive Data Types. Philip W. L. Fong. Data Abstraction An Abstraction for Inductive Data Types Philip W. L. Fong pwlfong@cs.uregina.ca Department of Computer Science University of Regina Regina, Saskatchewan, Canada Introduction This lecture

More information

Anatomy of a Compiler. Overview of Semantic Analysis. The Compiler So Far. Why a Separate Semantic Analysis?

Anatomy of a Compiler. Overview of Semantic Analysis. The Compiler So Far. Why a Separate Semantic Analysis? Anatomy of a Compiler Program (character stream) Lexical Analyzer (Scanner) Syntax Analyzer (Parser) Semantic Analysis Parse Tree Intermediate Code Generator Intermediate Code Optimizer Code Generator

More information

Indexing Methods for Efficient Parsing with Typed Feature Structure Grammars

Indexing Methods for Efficient Parsing with Typed Feature Structure Grammars Indexing Methods for Efficient Parsing with Typed Feature Structure Grammars Cosmin Munteanu A thesis submitted in conformity with the requirements for the degree of Master of Science Department of Computer

More information

Efficient Parsing for Head-Split Dependency Trees

Efficient Parsing for Head-Split Dependency Trees Efficient Parsing for Head-Split Dependency Trees Giorgio Satta Dept. of Information Engineering University of Padua, Italy satta@dei.unipd.it Marco Kuhlmann Dept. of Linguistics and Philology Uppsala

More information

Treex: Modular NLP Framework

Treex: Modular NLP Framework : Modular NLP Framework Martin Popel ÚFAL (Institute of Formal and Applied Linguistics) Charles University in Prague September 2015, Prague, MT Marathon Outline Motivation, vs. architecture internals Future

More information

Grammatical Framework and Multiple Context-Free Grammars

Grammatical Framework and Multiple Context-Free Grammars 6 Grammatical Framework and Multiple Context-Free Grammars Peter Ljunglöf Grammatical Framework (GF) (Ranta, 2004) is a grammar formalism originating from logical frameworks for dependent type theory.

More information

Principles and implementation of deductive parsing

Principles and implementation of deductive parsing Principles and implementation of deductive parsing The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citation Stuart M. Shieber,

More information

Unification in Unification-based Grammar

Unification in Unification-based Grammar THE SIXTH JAPANESE-KOREAN JOINT CONFERENCE ON FORMAL LINGUISTICS,1991 Unification in Unification-based Grammar K.S.Choi, D.J.Son, and G.C.Kim Department of Computer Science Korea Advanced Institute of

More information

Context-Free Grammars. Carl Pollard Ohio State University. Linguistics 680 Formal Foundations Tuesday, November 10, 2009

Context-Free Grammars. Carl Pollard Ohio State University. Linguistics 680 Formal Foundations Tuesday, November 10, 2009 Context-Free Grammars Carl Pollard Ohio State University Linguistics 680 Formal Foundations Tuesday, November 10, 2009 These slides are available at: http://www.ling.osu.edu/ scott/680 1 (1) Context-Free

More information

Homework & Announcements

Homework & Announcements Homework & nnouncements New schedule on line. Reading: Chapter 18 Homework: Exercises at end Due: 11/1 Copyright c 2002 2017 UMaine School of Computing and Information S 1 / 25 COS 140: Foundations of

More information

Theorem proving. PVS theorem prover. Hoare style verification PVS. More on embeddings. What if. Abhik Roychoudhury CS 6214

Theorem proving. PVS theorem prover. Hoare style verification PVS. More on embeddings. What if. Abhik Roychoudhury CS 6214 Theorem proving PVS theorem prover Abhik Roychoudhury National University of Singapore Both specification and implementation can be formalized in a suitable logic. Proof rules for proving statements in

More information

Specifying Syntax. An English Grammar. Components of a Grammar. Language Specification. Types of Grammars. 1. Terminal symbols or terminals, Σ

Specifying Syntax. An English Grammar. Components of a Grammar. Language Specification. Types of Grammars. 1. Terminal symbols or terminals, Σ Specifying Syntax Language Specification Components of a Grammar 1. Terminal symbols or terminals, Σ Syntax Form of phrases Physical arrangement of symbols 2. Nonterminal symbols or syntactic categories,

More information

How to Build Argumental graphs Using TAG Shared Forest : a view from control verbs problematic

How to Build Argumental graphs Using TAG Shared Forest : a view from control verbs problematic How to Build Argumental graphs Using TAG Shared Forest : a view from control verbs problematic Djamé Seddah 1 and Bertrand Gaiffe 2 1 Loria, ancy djame.seddah@loria.fr 2 Loria/Inria Lorraine, ancy bertrand.gaiffe@loria.fr

More information

The CKY Parsing Algorithm and PCFGs. COMP-550 Oct 12, 2017

The CKY Parsing Algorithm and PCFGs. COMP-550 Oct 12, 2017 The CKY Parsing Algorithm and PCFGs COMP-550 Oct 12, 2017 Announcements I m out of town next week: Tuesday lecture: Lexical semantics, by TA Jad Kabbara Thursday lecture: Guest lecture by Prof. Timothy

More information

Formal Languages and Compilers Lecture I: Introduction to Compilers

Formal Languages and Compilers Lecture I: Introduction to Compilers Formal Languages and Compilers Lecture I: Introduction to Compilers Free University of Bozen-Bolzano Faculty of Computer Science POS Building, Room: 2.03 artale@inf.unibz.it http://www.inf.unibz.it/ artale/

More information

Discourse Representation Theory Building Discourse Representations

Discourse Representation Theory Building Discourse Representations and and Lehrstuhl für Künstliche Intelligenz Institut für Informatik Friedrich-Alexander-Universität Erlangen-Nürnberg 13. Januar 2006 1 1 Slides are mainly due to Johan Bos lecture on Semantics (GSLT)

More information

Syntax. In Text: Chapter 3

Syntax. In Text: Chapter 3 Syntax In Text: Chapter 3 1 Outline Syntax: Recognizer vs. generator BNF EBNF Chapter 3: Syntax and Semantics 2 Basic Definitions Syntax the form or structure of the expressions, statements, and program

More information

1. The output of lexical analyser is a) A set of RE b) Syntax Tree c) Set of Tokens d) String Character

1. The output of lexical analyser is a) A set of RE b) Syntax Tree c) Set of Tokens d) String Character 1. The output of lexical analyser is a) A set of RE b) Syntax Tree c) Set of Tokens d) String Character 2. The symbol table implementation is based on the property of locality of reference is a) Linear

More information

CSCI 565 Compiler Design and Implementation Spring 2014

CSCI 565 Compiler Design and Implementation Spring 2014 CSCI 565 Compiler Design and Implementation Spring 2014 Instructor: Description: Prerequisites: Dr. Pedro C. Diniz, e-mail pedro@isi.edu Lectures: Thursday, 8.00 10.50 AM, RTH 217, phone: (213) 740 4518

More information

Generating XTAG Parsers from Algebraic Specifications

Generating XTAG Parsers from Algebraic Specifications Generating XTAG Parsers from Algebraic Specifications Carlos Gómez-Rodríguez and Miguel A. Alonso Departamento de Computación Universidade da Coruña Campus de Elviña, s/n 15071 A Coruña, Spain {cgomezr,

More information

Principles of Programming Languages [PLP-2015] Detailed Syllabus

Principles of Programming Languages [PLP-2015] Detailed Syllabus Principles of Programming Languages [PLP-2015] Detailed Syllabus This document lists the topics presented along the course. The PDF slides published on the course web page (http://www.di.unipi.it/~andrea/didattica/plp-15/)

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Subject Name: CS2352 Principles of Compiler Design Year/Sem : III/VI

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Subject Name: CS2352 Principles of Compiler Design Year/Sem : III/VI DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Subject Name: CS2352 Principles of Compiler Design Year/Sem : III/VI UNIT I - LEXICAL ANALYSIS 1. What is the role of Lexical Analyzer? [NOV 2014] 2. Write

More information

Corpus Linguistics: corpus annotation

Corpus Linguistics: corpus annotation Corpus Linguistics: corpus annotation Karën Fort karen.fort@inist.fr November 30, 2010 Introduction Methodology Annotation Issues Annotation Formats From Formats to Schemes Sources Most of this course

More information

Introduction to Lexical Functional Grammar. Wellformedness conditions on f- structures. Constraints on f-structures

Introduction to Lexical Functional Grammar. Wellformedness conditions on f- structures. Constraints on f-structures Introduction to Lexical Functional Grammar Session 8 f(unctional)-structure & c-structure/f-structure Mapping II & Wrap-up Summary of last week s lecture LFG-specific grammar rules (i.e. PS-rules annotated

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / EVEN SEMESTER

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / EVEN SEMESTER KINGS COLLEGE OF ENGINEERING PUNALKULAM DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR 2010-2011 / EVEN SEMESTER SUBJECT CODE\SUBJECT NAME: CS1352 \ PRINCIPLES OF COMPILER DESIGN QUESTION BANK

More information

FLE Preliminary Results

FLE Preliminary Results FLE Preliminary Results Damir Cavar, Lwin Moe, Hai Hu Indiana University Headlex 2016, Warsaw, Poland 1 Help Graduate Students Hai Hu, Kenneth Steimel, Tim Gilmanov, Joshua Herring Support Kenneth Beesley

More information

LOGIC AND DISCRETE MATHEMATICS

LOGIC AND DISCRETE MATHEMATICS LOGIC AND DISCRETE MATHEMATICS A Computer Science Perspective WINFRIED KARL GRASSMANN Department of Computer Science University of Saskatchewan JEAN-PAUL TREMBLAY Department of Computer Science University

More information

The uniform treatment of constraints, coherency and completeness in a Lexical Functional Grammar compiler

The uniform treatment of constraints, coherency and completeness in a Lexical Functional Grammar compiler The uniform treatment of constraints, coherency and completeness in a Lexical Functional Grammar compiler Peter Hancox School of Computer Science University of Birmingham Lexical Functional Grammar (LFG)

More information

arxiv: v1 [cs.pl] 30 Apr 2012

arxiv: v1 [cs.pl] 30 Apr 2012 New developments in parsing Mizar Czesław Bylinski 1 and Jesse Alama 2 arxiv:1205.0170v1 [cs.pl] 30 Apr 2012 Center for Artificial Intelligence New University of Lisbon Portugal j.alama@fct.unl.pt Abstract.

More information

TectoMT: Modular NLP Framework

TectoMT: Modular NLP Framework : Modular NLP Framework Martin Popel, Zdeněk Žabokrtský ÚFAL, Charles University in Prague IceTAL, 7th International Conference on Natural Language Processing August 17, 2010, Reykjavik Outline Motivation

More information

CS 415 Midterm Exam Spring 2002

CS 415 Midterm Exam Spring 2002 CS 415 Midterm Exam Spring 2002 Name KEY Email Address Student ID # Pledge: This exam is closed note, closed book. Good Luck! Score Fortran Algol 60 Compilation Names, Bindings, Scope Functional Programming

More information

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFR08008 INFORMATICS 2A: PROCESSING FORMAL AND NATURAL LANGUAGES

UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFR08008 INFORMATICS 2A: PROCESSING FORMAL AND NATURAL LANGUAGES UNIVERSITY OF EDINBURGH COLLEGE OF SCIENCE AND ENGINEERING SCHOOL OF INFORMATICS INFR08008 INFORMATICS 2A: PROCESSING FORMAL AND NATURAL LANGUAGES Saturday 10 th December 2016 09:30 to 11:30 INSTRUCTIONS

More information

Computational Linguistics: Syntax-Semantics Interface

Computational Linguistics: Syntax-Semantics Interface Computational Linguistics: Syntax-Semantics Interface Raffaella Bernardi KRDB, Free University of Bozen-Bolzano P.zza Domenicani, Room: 2.28, e-mail: bernardi@inf.unibz.it Contents 1 Lambda terms and DCG...................................

More information

CMPT 379 Compilers. Parse trees

CMPT 379 Compilers. Parse trees CMPT 379 Compilers Anoop Sarkar http://www.cs.sfu.ca/~anoop 10/25/07 1 Parse trees Given an input program, we convert the text into a parse tree Moving to the backend of the compiler: we will produce intermediate

More information

Einführung in die Computerlinguistik

Einführung in die Computerlinguistik Einführung in die Computerlinguistik Feature Structures Merkmalsstrukturen Laura Kallmeyer Heinrich-Heine-Universität Düsseldorf Summer 2018 1 / 23 Introduction (1) Non-terminals that are used in CFGs

More information

Lexical entries & clauses

Lexical entries & clauses Lexical entries & clauses 2013 Jan 18 The problem The inadequacy of PS-rules a. * John devoured. John fainted. b. * Cezanne fainted the apple. Cezanne painted the apple. c. * John ate the apple the pear.

More information

CS 406/534 Compiler Construction Putting It All Together

CS 406/534 Compiler Construction Putting It All Together CS 406/534 Compiler Construction Putting It All Together Prof. Li Xu Dept. of Computer Science UMass Lowell Fall 2004 Part of the course lecture notes are based on Prof. Keith Cooper, Prof. Ken Kennedy

More information

Ling 571: Deep Processing for Natural Language Processing

Ling 571: Deep Processing for Natural Language Processing Ling 571: Deep Processing for Natural Language Processing Julie Medero January 14, 2013 Today s Plan Motivation for Parsing Parsing as Search Search algorithms Search Strategies Issues Two Goal of Parsing

More information

CS 4240: Compilers and Interpreters Project Phase 1: Scanner and Parser Due Date: October 4 th 2015 (11:59 pm) (via T-square)

CS 4240: Compilers and Interpreters Project Phase 1: Scanner and Parser Due Date: October 4 th 2015 (11:59 pm) (via T-square) CS 4240: Compilers and Interpreters Project Phase 1: Scanner and Parser Due Date: October 4 th 2015 (11:59 pm) (via T-square) Introduction This semester, through a project split into 3 phases, we are going

More information

Statistical parsing. Fei Xia Feb 27, 2009 CSE 590A

Statistical parsing. Fei Xia Feb 27, 2009 CSE 590A Statistical parsing Fei Xia Feb 27, 2009 CSE 590A Statistical parsing History-based models (1995-2000) Recent development (2000-present): Supervised learning: reranking and label splitting Semi-supervised

More information

SYED AMMAL ENGINEERING COLLEGE (An ISO 9001:2008 Certified Institution) Dr. E.M. Abdullah Campus, Ramanathapuram

SYED AMMAL ENGINEERING COLLEGE (An ISO 9001:2008 Certified Institution) Dr. E.M. Abdullah Campus, Ramanathapuram CS6660 COMPILER DESIGN Question Bank UNIT I-INTRODUCTION TO COMPILERS 1. Define compiler. 2. Differentiate compiler and interpreter. 3. What is a language processing system? 4. List four software tools

More information

MidTerm Papers Solved MCQS with Reference (1 to 22 lectures)

MidTerm Papers Solved MCQS with Reference (1 to 22 lectures) CS606- Compiler Construction MidTerm Papers Solved MCQS with Reference (1 to 22 lectures) by Arslan Arshad (Zain) FEB 21,2016 0300-2462284 http://lmshelp.blogspot.com/ Arslan.arshad01@gmail.com AKMP01

More information

Parsing II Top-down parsing. Comp 412

Parsing II Top-down parsing. Comp 412 COMP 412 FALL 2018 Parsing II Top-down parsing Comp 412 source code IR Front End Optimizer Back End IR target code Copyright 2018, Keith D. Cooper & Linda Torczon, all rights reserved. Students enrolled

More information

Programming Languages (PL)

Programming Languages (PL) 1 2 3 4 5 6 7 8 9 10 11 Programming Languages (PL) Programming languages are the medium through which programmers precisely describe concepts, formulate algorithms, and reason about solutions. In the course

More information

Deliverable D1.4 Report Describing Integration Strategies and Experiments

Deliverable D1.4 Report Describing Integration Strategies and Experiments DEEPTHOUGHT Hybrid Deep and Shallow Methods for Knowledge-Intensive Information Extraction Deliverable D1.4 Report Describing Integration Strategies and Experiments The Consortium October 2004 Report Describing

More information

UNIT -1 1.1 OVERVIEW OF LANGUAGE PROCESSING SYSTEM 1.2 Preprocessor A preprocessor produce input to compilers. They may perform the following functions. 1. Macro processing: A preprocessor may allow a

More information

CPS 506 Comparative Programming Languages. Syntax Specification

CPS 506 Comparative Programming Languages. Syntax Specification CPS 506 Comparative Programming Languages Syntax Specification Compiling Process Steps Program Lexical Analysis Convert characters into a stream of tokens Lexical Analysis Syntactic Analysis Send tokens

More information

A Quick Guide to MaltParser Optimization

A Quick Guide to MaltParser Optimization A Quick Guide to MaltParser Optimization Joakim Nivre Johan Hall 1 Introduction MaltParser is a system for data-driven dependency parsing, which can be used to induce a parsing model from treebank data

More information

Bidirectional LTAG Dependency Parsing

Bidirectional LTAG Dependency Parsing Bidirectional LTAG Dependency Parsing Libin Shen BBN Technologies Aravind K. Joshi University of Pennsylvania We propose a novel algorithm for bi-directional parsing with linear computational complexity,

More information

CST-402(T): Language Processors

CST-402(T): Language Processors CST-402(T): Language Processors Course Outcomes: On successful completion of the course, students will be able to: 1. Exhibit role of various phases of compilation, with understanding of types of grammars

More information

The Compiler So Far. Lexical analysis Detects inputs with illegal tokens. Overview of Semantic Analysis

The Compiler So Far. Lexical analysis Detects inputs with illegal tokens. Overview of Semantic Analysis The Compiler So Far Overview of Semantic Analysis Adapted from Lectures by Profs. Alex Aiken and George Necula (UCB) Lexical analysis Detects inputs with illegal tokens Parsing Detects inputs with ill-formed

More information

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions) By the end of this course, students should CIS 1.5 Course Objectives a. Understand the concept of a program (i.e., a computer following a series of instructions) b. Understand the concept of a variable

More information

Computational Linguistics (INF2820 TFSs)

Computational Linguistics (INF2820 TFSs) S NP Det N VP V The dog barked LTOP h 1 INDEX e 2 def q rel bark v rel prpstn m rel LBL h 4 dog n rel LBL h RELS LBL h 1 ARG0 x 5 LBL h 9 8 ARG0 e MARG h 3 RSTR h 6 ARG0 x 2 5 ARG1 x BODY h 5 7 HCONS h

More information

Compiling and Interpreting Programming. Overview of Compilers and Interpreters

Compiling and Interpreting Programming. Overview of Compilers and Interpreters Copyright R.A. van Engelen, FSU Department of Computer Science, 2000 Overview of Compilers and Interpreters Common compiler and interpreter configurations Virtual machines Integrated programming environments

More information

R13 SET Discuss how producer-consumer problem and Dining philosopher s problem are solved using concurrency in ADA.

R13 SET Discuss how producer-consumer problem and Dining philosopher s problem are solved using concurrency in ADA. R13 SET - 1 III B. Tech I Semester Regular Examinations, November - 2015 1 a) What constitutes a programming environment? [3M] b) What mixed-mode assignments are allowed in C and Java? [4M] c) What is

More information

CS 406/534 Compiler Construction Parsing Part I

CS 406/534 Compiler Construction Parsing Part I CS 406/534 Compiler Construction Parsing Part I Prof. Li Xu Dept. of Computer Science UMass Lowell Fall 2004 Part of the course lecture notes are based on Prof. Keith Cooper, Prof. Ken Kennedy and Dr.

More information