Agenda. Why do POS tagging? Part-of-speech (POS) Tagging. Why is it hard? Computational Linguistics 1

Similar documents
Ling 201 Syntax 1. Jirka Hana April 10, 2006

English. Universidad Virtual. Curso de sensibilización a la PAEP (Prueba de Admisión a Estudios de Posgrado) Parts of Speech. Nouns.

According to the Argentine writer Jorge Luis Borges, in the Celestial Emporium of Benevolent Knowledge, animals are divided

Testing Data-Driven Learning Algorithms for PoS Tagging of Icelandic

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

Year 3 Grammar Guide. For Children and Parents MARCHWOOD JUNIOR SCHOOL

Parts of Speech. Skills Team, University of Hull

Grammar Rules: Parts of Speech Words are classed into eight categories according to their uses in a sentence.

Tagging with Hidden Markov Models

CINTIL-PropBank. CINTIL-PropBank Sub-corpus id Sentences Tokens Domain Sentences for regression atsts 779 5,654 Test

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

POS Tagging 1. POS Tagging. Rule-based taggers Statistical taggers Hybrid approaches

Checklist for Recognizing Complete Verbs

Handouts for Conversation Partners: Grammar

EAP Grammar Competencies Levels 1 6

Symbiosis of Evolutionary Techniques and Statistical Natural Language Processing

Outline of today s lecture

Online Tutoring System For Essay Writing

The parts of speech: the basic labels

Context Grammar and POS Tagging

I have eaten. The plums that were in the ice box

Why language is hard. And what Linguistics has to say about it. Natalia Silveira Participation code: eagles

Learning the Question & Answer Flows

Grammar Boot Camp. Building Muscle: Phrases and Clauses. (click mouse to proceed)

UNKNOWN WORDS ANALYSIS IN POS TAGGING OF SINHALA LANGUAGE

Syntax: Phrases. 1. The phrase

GMAT.cz GMAT.cz KET (Key English Test) Preparating Course Syllabus

Adjective, Adverb, Noun Clauses. Gerund,Participial and Infinitive Phrases. English Department

PoS-tagging Italian texts with CORISTagger

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

Monday Simple Sentence

Structure of Clauses. March 9, 2004

Rethinking the relationship between transitive and intransitive verbs

English Appendix 2: Vocabulary, grammar and punctuation

Chapter 8. Final Results on Dutch Senseval-2 Test Data

2. PRINCIPLES IN USING CONJUNCTIONS. Conjunction is a word which is used to link or join words, phrases, or clauses.

Introduction to Semantics. A Case Study in Semantic Fieldwork: Modality in Tlingit

Open Domain Information Extraction. Günter Neumann, DFKI, 2012

Is The Green Book Right For My Student?

Pupil SPAG Card 1. Terminology for pupils. I Can Date Word

Learning Translation Rules from Bilingual English Filipino Corpus

C o p yr i g ht 2015, S A S I nstitute Inc. A l l r i g hts r eser v ed. INTRODUCTION TO SAS TEXT MINER

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

Correlation: ELLIS. English language Learning and Instruction System. and the TOEFL. Test Of English as a Foreign Language

Syntactic Theory on Swedish

Clauses and phrases are the building blocks of sentences. A phrase is a

Writing Common Core KEY WORDS

Compound Sentences and Coordination

Albert Pye and Ravensmere Schools Grammar Curriculum

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

Clauses and Phrases. How to know them when you see them! How they work to make more complex sentences!

TERMS. Parts of Speech

Phrases. Prepositional Phrase

A Writer s Reference, Seventh Edition Diana Hacker Nancy Sommers

Index. 344 Grammar and Language Workbook, Grade 8

12 FIRST QUARTER. Class Assignments

Simple, Compound, Complex and Compound-Complex Sentences

Sentence Blocks. Sentence Focus Activity. Contents

Mixed Sentence Structure Problem: Double Verb Error

MESLEKİ İNGİLİZCE I / VOCATIONAL ENGLISH I

Chapter 2 Phrases and Clauses

English Phrasal Verbs

Shallow Parsing with PoS Taggers and Linguistic Features

How the Computer Translates. Svetlana Sokolova President and CEO of PROMT, PhD.

The Book of Grammar Lesson Six. Mr. McBride AP Language and Composition

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

Get Ready for IELTS Writing. About Get Ready for IELTS Writing. Part 1: Language development. Part 2: Skills development. Part 3: Exam practice

Morphology. Morphology is the study of word formation, of the structure of words. 1. some words can be divided into parts which still have meaning

Natural Language Database Interface for the Community Based Monitoring System *

Livingston Public Schools Scope and Sequence K 6 Grammar and Mechanics

Introduction. Philipp Koehn. 28 January 2016

Comprendium Translator System Overview

DEFINITION OF CLAUSE AND PHRASE:

The Structure of English Language - Clause Functions

Search and Data Mining: Techniques. Text Mining Anya Yarygina Boris Novikov

Learning the Question & Answer Flows

PS I TAM-TAM Aspect [20/11/09] 1

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

Structurally ambiguous sentences

MONITORING URBAN TRAFFIC STATUS USING TWITTER MESSAGES

Word Completion and Prediction in Hebrew

English auxiliary verbs

Language at work To be Possessives

Training and evaluation of POS taggers on the French MULTITAG corpus

ONLINE ENGLISH LANGUAGE RESOURCES

Introduction to Information Extraction Technology

Compare characteristic features in traditional stories that meet their purpose and audience?

6. After two minutes, teacher places answer transparency on the projector while students check their answers.

10th Grade Language. Goal ISAT% Objective Description (with content limits) Vocabulary Words

Las Vegas High School Writing Workshop. Combining Sentences

Paraphrasing controlled English texts

Chunk Parsing. Steven Bird Ewan Klein Edward Loper. University of Melbourne, AUSTRALIA. University of Edinburgh, UK. University of Pennsylvania, USA

SYNTAX: THE ANALYSIS OF SENTENCE STRUCTURE

A Beginner s Guide To English Grammar

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

English Grammar Passive Voice and Other Items

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

Tagging a corpus of Malay texts, and coping with syntactic drift. Gerry Knowles, Lancaster University, UK Zuraidah Mohd Don, University of Malaya.

LANGUAGE! 4 th Edition, Levels A C, correlated to the South Carolina College and Career Readiness Standards, Grades 3 5

Nouns may show possession or ownership. Use an apostrophe with a noun to show something belongs to someone or to something.

Transcription:

Agenda CMSC/LING 723, LBSC 744 HW2 assigned today, due next Thursday (9/29) Questions, comments, concerns? Part-of-speech Tagging Kristy Hollingshead Seitz Institute for Advanced Computer Studies University of Maryland Lecture 7: 22 September 2011 Happy First Day of Fall! 2 Part-of-speech (POS) Tagging "Classes" of words 8 parts of speech: noun, verb, pronoun, preposition, adverb, conjunction, participle, article Verbs are actions Adjectives are properties Nouns are things Mad Libs?? Why do POS tagging? One of the most basic NLP tasks Nicely illustrates principles of statistical NLP Useful for higher-level analysis Needed for syntactic analysis Needed for semantic analysis Sample applications that require POS tagging Machine translation Information extraction Lots more 3 Why is it hard? Not only a lexical problem Remember ambiguity? Better modeled as sequence labeling problem Need to take into account context! Source: Calvin and Hobbs 1

How do we define POS? By meaning Verbs are actions Adjectives are properties Nouns are things By the syntactic environment What occurs nearby? What does it act as? Unreliable! Think back to the comic! By what morphological processes affect it What affixes does it take? Combination of the above Parts of Speech Impossible to completely enumerate New words continuously being invented, borrowed, etc Closed class Closed, fixed membership Reasonably easy to enumerate Generally, short function words that structure sentences Open Class POS Four major open classes in English Nouns Verbs Adjectives Adverbs All languages have nouns and verbs but may not have the other two Nouns New inventions all the time: muggle, webinar, Semantics: Generally, words for people, places, things But not always (bandwidth, energy, ) Syntactic environment: Occurring with determiners Pluralizable, possessivizable Other characteristics: Mass vs count nouns Verbs New inventions all the time: google, tweet, Semantics: Generally, denote actions, processes, etc Syntactic environment: Intransitive, transitive, ditransitive Alternations Other characteristics: Main vs auxiliary verbs Gerunds (verbs behaving like nouns) Participles (verbs behaving like adjectives) Adjectives and Adverbs Adjectives Generally modify nouns, eg, tall girl Adverbs A semantic and formal potpourri Sometimes modify verbs, eg, sang beautifully Sometimes modify adjectives, eg, extremely hot 2

Closed Class POS Particle vs Prepositions Prepositions In English, occurring before noun phrases Specifying some type of relation (spatial, temporal, ) Examples: on the shelf, before noon Particles Resembles a preposition, but used with a verb ( phrasal verbs ) Examples: find out, turn over, go on He came by the office in a hurry He came by his fortune honestly We ran up the phone bill We ran up the small hill He lived down the block He never lived down the nicknames (by = preposition) (by = particle) (up = particle) (up = preposition) (down = preposition) (down = particle) More Closed Class POS Determiners Establish reference for a noun Examples: a, an, the (articles), that, this, many, such, Pronouns Refer to person or entities: he, she, it Possessive pronouns: his, her, its Wh-pronouns: what, who Closed Class POS: Conjunctions Coordinating conjunctions Join two elements of equal status Examples: cats and dogs, salad or soup Subordinating conjunctions Join two elements of unequal status Examples: We ll leave after you finish eating While I was waiting in line, I saw my friend Complementizers are a special case: I think that you should finish your assignment POS Tagging: What s the task? Penn Treebank Tagset: 45 Tags Process of assigning part-of-speech tags to words But what tags are we going to assign? Coarse grained: noun, verb, adjective, adverb, Fine grained: {proper, common} noun Even finer-grained: {proper, common} noun ± animate Important issues to remember Choice of tags encodes certain distinctions/non-distinctions Tagsets will differ across languages! For English, Penn Treebank is the most common tagset What s the tradeoff? 3

Why is POS tagging hard? Why is it hard?* Not only a lexical problem Remember ambiguity? Better modeled as sequence labeling problem Need to take into account context! Automatic POS Tagging Rule-based POS tagging Transformation-based learning for POS tagging Hidden Markov Models (next week) Maximum Entropy Models (CMSC 773) Conditional Random Fields (CMSC 773) Rule-Based POS Tagging Dates back to the 1960 s Combination of lexicon + hand crafted rules Example: EngCG (English Constraint Grammar) EngCG Architecture EngCG: Sample Lexical Entries w 1 w 2 w n sentence 56,000 entries 3,744 rules Lexicon Lookup Stage 1 w1 w1 w2 w2 wn wn overgenerated tags Disambiguation using Constraints Stage 2 t 1 t 2 t n final tags 4

EngCG: Constraint Rule Application Example Sentence: Newman had originally practiced that Newman NEWMAN N NOM SG PROPER had HAVE <SVO> V PAST VFIN HAVE <SVO> PCP2 originally ORIGINAL ADV practiced PRACTICE <SVO> <SV> V PAST VFIN PRACTICE <SVO> <SV> PCP2 that ADV PRON DEM SG DET CENTRAL DEM SG CS overgenerated tags ADVERBIAL- THAT Rule Given input: that if (+1 A/ADV/QUANT); (+2 SENT- LIM); (NOT - 1 SVOC/A); then eliminate non- ADV tags else eliminate ADV tag disambiguation constraint EngCG: Evaluation Accuracy ~96%* A lot of effort to write the rules and create the lexicon Try debugging interaction between thousands of rules! Recall discussion from the first lecture? Assume we had a corpus annotated with POS tags Can we learn POS tagging automatically? I thought that you (subordinating conjunction) That day was nice (determiner) You can go that far (adverb) Supervised Machine Learning Start with annotated corpus Desired input/output behavior Training phase: Represent the training data in some manner Apply learning algorithm to produce a system (tagger) Testing phase: Apply system to unseen test data Evaluate output Agenda: Summary HW2 assigned today, due next Thursday (9/29) Questions, comments, concerns? Part-of-speech Tagging 28 5