1 Introduction to Natural Language Processing (600.465) Linguistic Essentials: Syntax AI-lab 2003.10.

Slides:



Advertisements
Similar presentations
Language and Grammar Unit
Advertisements

Copy the following exactly as it is. DO NOT make corrections!
The Structure of Sentences Asian 401
English Grammar Parts of Speech.
Syntax Lecture 2: Categories and Subcategorisation.
Chapter 4 Syntax.
English Baseball Group 5B Mrs. Stortzum’s 4th Grade English class.
Grammar Nouns Articles Pronouns Verbs Adjectives Adverbs Prepositions
Sentence Analysis Week 3 – DGP for Pre-AP.
Introduction to phrases & clauses
Ana Bertha Camargo Mejía
Sentence Structure By: Lisa Crawford, Edited by: UWC staff
1 Words and the Lexicon September 10th 2009 Lecture #3.
Matakuliah: G0922/Introduction to Linguistics Tahun: 2008 Session 11 Syntax 2.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Fall 2005-Lecture 2.
Grammar & Punctuation A revisit.
Chapter 2 A rapid overview.
Constituency Tests Phrase Structure Rules
Phrases & Clauses.
THE PARTS OF SYNTAX Don’t worry, it’s just a phrase ELL113 Week 4.
Context Free Grammars Reading: Chap 12-13, Jurafsky & Martin This slide set was adapted from J. Martin, U. Colorado Instructor: Paul Tarau, based on Rada.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 14, Feb 27, 2007.
Immediate constituent analysis and translation Identifying autonomous units.
Introduction to English Syntax Level 1 Course Ron Kuzar Department of English Language and Literature University of Haifa Chapter 2 Sentences: From Lexicon.
Lecture Four Syntax.
ASPECTS OF LINGUISTIC COMPETENCE 4 SEPT 09, 2013 – DAY 6 Brain & Language LING NSCI Harry Howard Tulane University.
Unit Three. A noun is a word that names a person, place, thing, idea or feeling. WHAT IS A NOUN?
Dr. Monira Al-Mohizea MORPHOLOGY & SYNTAX WEEK 12.
Dr. Monira Al-Mohizea MORPHOLOGY & SYNTAX WEEK 11.
Sentence Structure and the Punctuation that goes with it
What is a phrase? A phrase consists of a group of related words that functions as a part of speech. A phrase does not express complete meaning on its.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 13, Feb 16, 2007.
GrammaticalHierarchy in Information Flow Translation Grammatical Hierarchy in Information Flow Translation CAO Zhixi School of Foreign Studies, Lingnan.
Parts of Speech A Brief Review. Noun Person, Place, Thing, or Idea Common: begins with lower case letter (city) Proper: begins with capital letter (Detroit)
Sentence Analysis Week 2 – DGP for Pre-AP.
Natural Language Processing
Phrases and Clauses Adjective, Adverb, Prepositional Phrases. Embedding. Coordination and Apposition. Introduction to Clauses.
Basic Grammar Review Basic Grammar Review The Basic Parts of Speech.
Parts of Speech A Brief Review. Noun Person, Place, Thing, or Idea Common: begins with lower case letter (city) Proper: begins with capital letter (Detroit)
Unit 8 Syntax. Syntax Syntax deals with rules for combining words into sentences, as well as with relationship between elements in one sentence Basic.
GoBack definitions Level 1 Parts of Speech GoBack is a memorization game; the teacher asks students definitions, and when someone misses one, you go back.
Syntax ENSGA03X / Pedagogical Grammar ENSG1B02X
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 2.
The Building Blocks of Sentences. The 8 Parts of Speech 1.Noun -is the name of a person, place, thing, or idea. Example: John is Tall The name John is.
Leonid Iomdin Institute for Information Transmission Problems, Russian Academy of Sciences
SYNTAX.
◦ Process of describing the structure of phrases and sentences Chapter 8 - Phrases and sentences: grammar1.
SYNTAX 1 NOV 9, 2015 – DAY 31 Brain & Language LING NSCI Fall 2015.
Language and Cognition Colombo, June 2011 Day 2 Introduction to Linguistic Theory, Part 3.
Basic Syntactic Structures of English CSCI-GA.2590 – Lecture 2B Ralph Grishman NYU.
Sentence Structure By: Amanda Garrett Bailey. What is the function of: Nouns Pronouns Verbs Adjectives Adverbs.
Why is grammar important? man eating shark man-eating shark I’m sorry; I love you I’m sorry I love you.
Warm-Up Confused about using who or whom? Try this. Rewrite just the part of the sentence using who or whom. Instead of who, use he. Instead of whom, use.
Ch 18: conjunctions. Function: connect words, phrases, and clauses They do not all function the same way Categories: – Coordinating conjunctions – Conjunctions.
Grammar The “4 – Level” Analysis. The 4 - Levels Jack ate a delicious sandwich. Level 1 – parts of speech Level 2 – parts of a sentence Level 3 – phrases.
PROFª. FLÁVIA CUNHA SYNTAX OF THE ENGLISH LANGUAGE – 2013/2.
Writing 2 ENG 221 Norah AlFayez. Lecture Contents Revision of Writing 1. Introduction to basic grammar. Parts of speech. Parts of sentences. Subordinate.
LINGUA INGLESE 1 modulo B Introduction to English Linguistics prof. Hugo Bowles Lesson 7 Syntax.
Lecture 2: Categories and Subcategorisation
Introduction to Linguistics
Structure, Constituency & Movement
Beginning Syntax Linda Thomas
Part I: Basics and Constituency
Introduction to Linguistics
Parts of Speech Review Commas
Parts of Speech Review Commas
English parts of speech
PREPOSITIONAL PHRASES
Parts of Speech II.
SYNTAX OF THE ENGLISH LANGUAGE – 2014/2
Presentation transcript:

1 Introduction to Natural Language Processing ( ) Linguistic Essentials: Syntax AI-lab

2 The Place of Syntax Between Morphology and Meaning Morphology provides/expects: –lemmas (now it ’ s time to extract syntactic information from a dictionary) –tags (Part-of-Speech and combination of morphological categories, such as number, case, tense, voice,...) –and of course, we also have word order now to look at/provide Typically multiple input (non-disambiguated morphology) / output (multiple syntactic structures, non-disambiguated)

3 Words, Phrases, Clauses, Sentences Words –smallest units on the syntax level function/autosemantic Phrases –consist of words and/or phrases; “ constituents ” Clauses –have predicative meaning (single predicate) Sentences –consist of clauses (one or more)

4 Words –lexical units auxiliary (function) words: have grammatical function autosemantic words ( “ lexical ” words) –idioms fixed phrases (non-compositional) -> “ words ” Relate to other words –dictionary: repository of information for each words about its (idiosyncratic) relations to other words

5 Phrases –sequences of words and/or phrases (i.e. of constituents) may be discontinuous, sometimes Types of Phrases: –Simple/Clausal (i.e. clauses, which consist of phrases, behave like phrases... recursively!) –According to head type: Noun: a new book Adjective: brand new Adverbial: so much Prepositional: in a class Verb: catch a ball

6 Noun Phrases Head: noun –water –a book –new ideas –that small village –The greatest rise of interest rates since W.W.II within a single year –an operating system which, despite great efforts on the part of our administrators, fails all too often

7 Adjective Phrases Head: adjective Simple APs very common, complex APs rare –old –very old –really very old –five times older than the oldest elephant in our ZOO –(was) sure, as far as I know, to be there first

8 Adverbial and Numerical Phrases Head: adverb –three times as much –quickly –really –(... speaks) more loudly than anybody could imagine –yesterday Numerical Phrases –(... lasted) three hours –twenty-two

9 Prepositional Phrases Head: preposition In fact, play the role of Adverbial Phrases often –in the City –at five o ’ clock –to a brightest future –without a glitch –to the point where neither of them could get out of it –up to five points –instead of Charles

10 Verb Phrases Head: verb –(It) rains –... could ever see a large Unidentified Flying Object –..., why (we) have got so much rain –Please! –On Sunday, (he) was driven to the hospital –(It) began to snow –(...) prohibits smoking in this area

11 Coordination of Phrases “ Head ” : conjunction, punctuation –and, or, but cats and dogs new or even newer quickly and precisely he came to the conclusion that it makes no sense to hide himself anymore and therefore we could hear him today (trains) from and to Baltimore eat your lunch now or at the picnic table

12 Ellipsis Word or Phrase missing where one would normally expect one; often happens in dialogues –Whom did you see there? –Peter. ?? verb ?? Most common in coordination (written text) –Pittsburgh leads 4-0 but Detroit only 3-1. ??verb in 2 nd part?? Systematic in many languages: pro-drop (leave out a pers. pronoun in the Subject position) –[She] Passed the exam easily.

13 Clauses Predicative function: –some activity of some subjects/objects, somewhere in time, under certain circumstances Main clause –not part of a greater clause Embedded clause –part of other clause, having some function (like a phrase) Function of a Clause –same as for phrase, plus some (direct speech etc.)

14 Gaps (Non-Continuous Constituents) Constituent moves from the expected position: –happens in questions and relative clauses Who(m) do you work for whom ? –strictly speaking, do you work should be you (do work) I don ’ t know why we have got so much rain why ? On Sundays, I usually work On Sundays but I stay home on Tuesdays. The story he never wrote the story And finally the car she was supposed to use the car for her trip to New York broke. –The last two: also could be considered ellipsis (which) plus a gap.

15 Sentences Consist of a single or several main clauses If several main clauses: –coordination, much like coordinated phrases –more coordinating conjunctions: and, or, but, (and) therefore,... In written text, starts with a capital letter Ends by period/question mark/exclamation mark not all periods end a sentence! Sometimes even semicolon (;) might be a sentence break (...vague)

16 Syntax: Representation Tree structure ( “ tree ” in the sense of graph theory) –one tree per sentence Two main ideas for the shape of the tree: –phrase structure (~ derivation tree, cf. parsing later) using bracketed grouping brackets annotated by phrase type heads (often) explicitly marked –dependency structure (lexical relations “ local ”, functions) basic relation: head (governor) - dependent links (edges) annotated by syntactic function (Sb, Obj,...) phrase structure: implicitly present (but 1:n mapping Dep  PS)

17 Phrase Structure Tree Example: ((DaimlerChrysler ’ s shares) NP (rose (three eights) NUMP (to 22) PP-NUM ) VP ) S

18 Dependency Tree Example: rose Pred (shares Sb (DaimlerChrysler ’ s Atr ),eights Adv (three Atr ),to AuxP (22 Adv ))