Development of a CFPSG. Coverage of linguistic phenomena such as agreement and word order



Σχετικά έγγραφα
LECTURE 2 CONTEXT FREE GRAMMARS CONTENTS

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Homework 3 Solutions

Advanced Subsidiary Unit 1: Understanding and Written Response

derivation of the Laplacian from rectangular to spherical coordinates

Section 8.3 Trigonometric Equations

2 Composition. Invertible Mappings

The Simply Typed Lambda Calculus

Example Sheet 3 Solutions

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΝΟΣΗΛΕΥΤΙΚΗΣ

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΕΠΙΣΤΗΜΩΝ ΥΓΕΙΑΣ

Syntax Analysis Part IV

The challenges of non-stable predicates

Οι αδελφοί Montgolfier: Ψηφιακή αφήγηση The Montgolfier Βrothers Digital Story (προτείνεται να διδαχθεί στο Unit 4, Lesson 3, Αγγλικά Στ Δημοτικού)

C.S. 430 Assignment 6, Sample Solutions

ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΒΑΛΕΝΤΙΝΑ ΠΑΠΑΔΟΠΟΥΛΟΥ Α.Μ.: 09/061. Υπεύθυνος Καθηγητής: Σάββας Μακρίδης

Συντακτικές λειτουργίες

Στο εστιατόριο «ToDokimasesPrinToBgaleisStonKosmo?» έξω από τους δακτυλίους του Κρόνου, οι παραγγελίες γίνονται ηλεκτρονικά.

ΜΕΤΑΠΤΥΧΙΑΚΗ ΔΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ «ΘΕΜΑ»

Approximation of distance between locations on earth given by latitude and longitude

Other Test Constructions: Likelihood Ratio & Bayes Tests

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Statistical Inference I Locally most powerful tests

Μηχανική Μάθηση Hypothesis Testing

Concrete Mathematics Exercises from 30 September 2016

Section 7.6 Double and Half Angle Formulas

Partial Trace and Partial Transpose

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

VBA ΣΤΟ WORD. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Version ΗΜΙΤΕΛΗΣ!!!!

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Finite Field Problems: Solutions

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Chap. 6 Pushdown Automata

Every set of first-order formulas is equivalent to an independent set

EE512: Error Control Coding

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΠΟΛΥΤΕΧΝΙΚΗ ΣΧΟΛΗ ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ Η/Υ & ΠΛΗΡΟΦΟΡΙΚΗΣ. του Γεράσιμου Τουλιάτου ΑΜ: 697

(C) 2010 Pearson Education, Inc. All rights reserved.

ΑΡΙΣΤΟΤΕΛΕΙΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΘΕΣΣΑΛΟΝΙΚΗΣ

Areas and Lengths in Polar Coordinates

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

14 Lesson 2: The Omega Verb - Present Tense

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Right Rear Door. Let's now finish the door hinge saga with the right rear door

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Οδηγίες Αγοράς Ηλεκτρονικού Βιβλίου Instructions for Buying an ebook

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Η ΨΥΧΙΑΤΡΙΚΗ - ΨΥΧΟΛΟΓΙΚΗ ΠΡΑΓΜΑΤΟΓΝΩΜΟΣΥΝΗ ΣΤΗΝ ΠΟΙΝΙΚΗ ΔΙΚΗ

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΕΘΝΙΚΗ ΣΧΟΛΗ ΗΜΟΣΙΑΣ ΙΟΙΚΗΣΗΣ

Στεγαστική δήλωση: Σχετικά με τις στεγαστικές υπηρεσίες που λαμβάνετε (Residential statement: About the residential services you get)

[1] P Q. Fig. 3.1

Λέξεις, φράσεις και προτάσεις

ΑΚΑ ΗΜΙΑ ΕΜΠΟΡΙΚΟΥ ΝΑΥΤΙΚΟΥ ΜΑΚΕ ΟΝΙΑΣ ΣΧΟΛΗ ΜΗΧΑΝΙΚΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ

ΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ. ΘΕΜΑ: «ιερεύνηση της σχέσης µεταξύ φωνηµικής επίγνωσης και ορθογραφικής δεξιότητας σε παιδιά προσχολικής ηλικίας»

Section 9.2 Polar Equations and Graphs

Problem Set 3: Solutions

Areas and Lengths in Polar Coordinates

On a four-dimensional hyperbolic manifold with finite volume

LESSON 14 (ΜΑΘΗΜΑ ΔΕΚΑΤΕΣΣΕΡΑ) REF : 202/057/34-ADV. 18 February 2014

ΕΠΙΧΕΙΡΗΣΙΑΚΗ ΑΛΛΗΛΟΓΡΑΦΙΑ ΚΑΙ ΕΠΙΚΟΙΝΩΝΙΑ ΣΤΗΝ ΑΓΓΛΙΚΗ ΓΛΩΣΣΑ

Chapter 2 * * * * * * * Introduction to Verbs * * * * * * *

Math 6 SL Probability Distributions Practice Test Mark Scheme

Αναερόβια Φυσική Κατάσταση

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΕΙΡΑΙΩΣ ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΠΜΣ «ΠΡΟΗΓΜΕΝΑ ΣΥΣΤΗΜΑΤΑ ΠΛΗΡΟΦΟΡΙΚΗΣ» ΚΑΤΕΥΘΥΝΣΗ «ΕΥΦΥΕΙΣ ΤΕΧΝΟΛΟΓΙΕΣ ΕΠΙΚΟΙΝΩΝΙΑΣ ΑΝΘΡΩΠΟΥ - ΥΠΟΛΟΓΙΣΤΗ»

Matrices and Determinants

TMA4115 Matematikk 3

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΤΜΗΜΑ ΕΠΙΣΤΗΜΩΝ ΤΗΣ ΕΚΠΑΙΔΕΥΣΗΣ ΚΑΙ ΤΗΣ ΑΓΩΓΗΣ ΣΤΗΝ ΠΡΟΣΧΟΛΙΚΗ ΗΛΙΚΙΑ ΜΕΤΑΠΤΥΧΙΑΚΟΣ ΚΥΚΛΟΣ ΣΠΟΥΔΩΝ

ΑΓΓΛΙΚΗ ΓΛΩΣΣΑ ΣΕ ΕΙΔΙΚΑ ΘΕΜΑΤΑ ΔΙΕΘΝΩΝ ΣΧΕΣΕΩΝ & ΟΙΚΟΝΟΜΙΑΣ

ST5224: Advanced Statistical Theory II

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

ΔΙΕΡΕΥΝΗΣΗ ΤΗΣ ΣΕΞΟΥΑΛΙΚΗΣ ΔΡΑΣΤΗΡΙΟΤΗΤΑΣ ΤΩΝ ΓΥΝΑΙΚΩΝ ΚΑΤΑ ΤΗ ΔΙΑΡΚΕΙΑ ΤΗΣ ΕΓΚΥΜΟΣΥΝΗΣ ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΕΠΙΣΤΗΜΩΝ ΥΓΕΙΑΣ

Verklarte Nacht, Op.4 (Εξαϋλωμένη Νύχτα, Έργο 4) Arnold Schoenberg ( )

ΦΥΛΛΟ ΕΡΓΑΣΙΑΣ Α. Διαβάστε τις ειδήσεις και εν συνεχεία σημειώστε. Οπτική γωνία είδησης 1:.

Chapter 29. Adjectival Participle

Math221: HW# 1 solutions

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Τ.Ε.Ι. ΔΥΤΙΚΗΣ ΜΑΚΕΔΟΝΙΑΣ ΠΑΡΑΡΤΗΜΑ ΚΑΣΤΟΡΙΑΣ ΤΜΗΜΑ ΔΗΜΟΣΙΩΝ ΣΧΕΣΕΩΝ & ΕΠΙΚΟΙΝΩΝΙΑΣ

Προβλήματα πρόσληψης της ορολογίας και θεωρίας στη μέση εκπαίδευση Καλλιόπη Πολυμέρου ΠΕΡΙΛΗΨΗ

ΤΕΧΝΟΛΟΓΙΚΟ ΕΚΠΑΙ ΕΥΤΙΚΟ Ι ΡΥΜΑ ΚΡΗΤΗΣ ΣΧΟΛΗ ΙΟΙΚΗΣΗΣ ΚΑΙ ΟΙΚΟΝΟΜΙΑΣ ΤΜΗΜΑ ΙΟΙΚΗΣΗΣ ΕΠΙΧΕΙΡΗΣΕΩΝ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:


Numerical Analysis FMN011

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS International General Certificate of Secondary Education

Instruction Execution Times

Galatia SIL Keyboard Information

Modbus basic setup notes for IO-Link AL1xxx Master Block

ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ ΣΧΟΛΗ ΠΟΛΙΤΙΚΩΝ ΜΗΧΑΝΙΚΩΝ. «Θεσμικό Πλαίσιο Φωτοβολταïκών Συστημάτων- Βέλτιστη Απόδοση Μέσω Τρόπων Στήριξης»

Top down vs. bottom up parsing. Top down vs. bottom up parsing

EU-Profiler: User Profiles in the 2009 European Elections

ΠΑΡΑΜΕΤΡΟΙ ΕΠΗΡΕΑΣΜΟΥ ΤΗΣ ΑΝΑΓΝΩΣΗΣ- ΑΠΟΚΩΔΙΚΟΠΟΙΗΣΗΣ ΤΗΣ BRAILLE ΑΠΟ ΑΤΟΜΑ ΜΕ ΤΥΦΛΩΣΗ

ΣΟΡΟΠΤΙΜΙΣΤΡΙΕΣ ΕΛΛΗΝΙΔΕΣ

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Business English. Ενότητα # 9: Financial Planning. Ευαγγελία Κουτσογιάννη Τμήμα Διοίκησης Επιχειρήσεων

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Transcript:

LECTURE 2 Development of a CFPSG. Coverage of linguistic phenomena such as agreement and word order CONTENTS 1. Developing a grammar fragment...1 2. A formalism that is too strong and too weak at the same time...3 3. References...4 1. Developing a grammar fragment The Greek data το παιδί παίζει τα παιδιά τρώνε το παιδί παίζει στον κήπο τα παιδιά παίζουν στον κήπο με τα λουλούδια το παιδί τρώει τη τυρόπιττα τα παιδιά τρώνε τα μήλα Introduce terminal symbols (part of speech) N: παιδί, παιδιά, κήπο, λουλούδια, τυρόπιττα, μήλα V: παίζει, τρώνε, παίζουν, τρώει Det: το, τα, τη P: με, σε Exercise 1: Indicate the prhase diagnostics (Lecture 1) used to identify the groups of terminal symbols in the Greek data above Det + Noun (Det N) Preposition + Det + Noun (P Det N) Det + Noun + Preposition + Det + Noun (Det N P Det N) The non terminal symbol vocabulary The string Det N is far too frequent. On the basis of the work done with Lecture 1, we can consider it a phrase and use a non terminal symbol in its place. So. (1) ΝΡ Det N (2) ΡΡ P Det N and by (1) (3) NP Det N P Det N and by (1) and (2) NP NP PP 1

The grammar for the Greek data above S NP VP NP Det N (PP) VP V (NP) (PP) (PP) Note: Brackets indicate optionality. In fact, the rule NP Det N (PP) is a shorthand of two rules: NP Det N PP NP Det N Exercise 2: Here is an alternative grammar for the same data. You are invited to argue in favor or against it. S NP VP NP (Det) NP NP N (PP) VP V (NP) (PP) (PP) Exercise 3: (3) NP Det N (4) NP NP (PP) Assume that we have a parser, that is, a program that matches rules with linguistic data and assigns non terminal symbols to language strings. Assume that our parser is a top down one, that is, it reads the rules in the order it finds them and tries to match them with the data. If a rule fails it takes the next one with the same left hand symbol. If all such rules fail, parsing fails. With the grammar of Exercise 2, such a parser would take the initial symbol S and would expand it to NP first and then to VP. The non terminal symbol that has to be expanded is now NP. If NP succeeds, the parser will try to expand VP. If no expansion of NP or VP is successful, the parser fails. 2

But other things may happen: assume that our parser deals with the string το παιδί παίζει. It starts with the initial symbol S and expands it to NP and VP. Then, NP is the non terminal symbol that has to be expanded. Rather than using the NP rules of Exercise 2, our hypothetical parser uses the rules (3) and (4) above. First, it takes rule (3) and finds that it has to look for a terminal symbol Det. It looks up the string and sees that το is a Det. (3) succeeds and then it looks for a N. It finds παιδί which is a N. (3) succeeds once more and assigns the category NP to the string. Assume however that (4) was the first rule. The parser would have to look for the nonterminal NP and would go back to the rule table and would pick the same rule (4) and that would go on for ever. This is a case of left recursion. The parser would never get out of this loop. By giving the sequence (3),(4) in this order left recursion does not occur with the examples given. Assume however that you had to parse the following string: Τα παιδιά τρώνε μήλα. Make the necessary changes to the rules of Exercise 3 in order to ensure that left recursion will not occur with this set of examples. Exercise 4. LFGW: http://arts.anu.edu.au/linguistics/software/lfgw.html Tutorial1. Develop your first Greek toy grammar: just a couple of rules and four six lexical entries. Here you go! 2. A formalism that is too strong and too weak at the same time We were given a set of data and we developed a grammar that recognizes them, that is, it can assign the correct non terminal labels to the strings. However, this is not all. Ideally, we would like our grammar to recognize the correct strings and reject the incorrect ones. Unfortunately this does not happen. In fact, our grammar rejects correct data and recognizes incorrect ones. Consider the following data: το παιδί παίζουν το παιδιά τρώνε το παιδί παίζει στην κήπο τρώνε μήλα τα παιδιά τρώνε τα παιδιά (τα) μήλα τρώνε τα μήλα η τυρόπιττα τρώει το παιδί A typology of problems Agreement in number and gender 3

το παιδί παίζουν (subject verb agreement) το παιδιά τρώνε (determiner noun agreement) το παιδί παίζει στην κήπο (gender agreement) Word order τρώνε μήλα τα παιδιά (subject follows VP) τρώνε τα παιδιά (τα) μήλα (the flat Greek VP) PRO drop language τρώνε τα μήλα (no need for an explicit subject) Word order could be treated with a modification of the rules of our grammar. Same holds about PRO drop. But look what happens to VP now. Also discuss the rules marked with an (*). S (NP) VP (NP) *S V NP NP NP (Det) N (PP) *VP V (NP) (PP) (PP) Exercise 5: For each sentence below specify the agreement constraints as an add on on the corresponding CFG rule. Use a Prolog like notation for this purpose as shown in the example. Then highlight which part of the constraints is violated. Explain why agreement information should be specified for the left hand symbol of the NP rule. το παιδιά τρώνε (determiner noun agreement) NP Det N Number X Number X Number X Gender Y Gender Y Gender Y Case Z Case Z Case Z το παιδί παίζουν (subject verb agreement) το παιδί παίζει στην κήπο (gender agreement) 3. References Δήμητρα Θεοφανοπούλου Κοντού. 1989. Μετασχηματιστική Σύνταξη. Από την θεωρία στην πράξη. Αθήνα: Εκδόσεις Καρδαμίτσα 4

Dalrymple, Mary. 2002. Syntax and Semantics 34: Lexical Functional Grammar. Academic Press 5