Ehud Reiter, Computing Science, University of Aberdeen1 CS4025: Realisation and Entrepeneurship.

Slides:



Advertisements
Similar presentations
OK! Now, let’s try to remember
Advertisements

PRESENT PERFECT.
Morphology.
Grammar Targets for Level 1
University of Palestine (2008) English Proficiency (1) English Proficiency (1)
Most Frequent Grammar Mistakes Solved!. Hers Hers is the third person singular feminine possessive pronoun - it replaces "her" + noun. Is this his or.
Present Day English How we use and label verbs. Principal Parts Verbs in all Germanic languages have few inflections. PDE is a Germanic language. –all.
Verbs: Lesson #1.
Natural Language Generation Ling 571 Fei Xia Week 8: 11/17/05.
Glossing - Lesson 1 Simplify the forms of English verbs.
VERBS.
PRESENT SIMPLE TENSE Vs. Present Continuous Tense
Grammar Tenses: Two-Word Verb Forms versus One-Word Verb Forms Prof. Myrna Monllor English 112.
Grammar Tenses: Two-Word Verb Forms versus One-Word Verb Forms Prof. Myrna Monllor English 112.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Phrases and Sentences: Grammar
Verbs. 2 Verb tenses O Present Tense O Use an –s or –es ending on the verb only when the subject is he, she, or it. O Past Tense O For most verbs add.
Embedded Clauses in TAG
Lessons Objective Pronouns Singularplural 1MeUs 2You 3 HimThem Her It Demonstrative Pronouns Singularplural 1ThisThese 2ThatThose Singularplural.
Thinking about inflections How to find verb inflections (Part of Dick Hudson's web tutorial on Word Grammar)web tutorial.
Form Classes Ed McCorduck English 402—Grammar SUNY Cortland
Grammar is easy Anna Davtjan 8b Tallinn Linnamae Russian Lyceum Teacher: Elena Soshina Tallinn 2006.
Can you find the mistake? There have many beautiful trees and flowers in the park.
I could never play football in the playground carefully last year.
LING 388: Language and Computers Sandiway Fong Lecture 17.
The verb to be as a ‘Main Verb’ and as a ‘Helping verb’
Thinking about agreement. Part of Dick Hudson's web tutorial on Word Grammarweb tutorial.
A Remedial English Grammar. CHAPTERS ARTICLES AGREEMENT OF VERB AND SUBJECT CONCORD OF NOUNS, PRONOUNS AND POSSESSIVE ADJECTIVES CONFUSION OF ADJECTIVES.
Presented by Mrs Hope St Alphege CE Infant School English KS1 Information Evening.
Company Success Language School presents:
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
PRESENT PERFECT. PRESENT PERFECT FORM The present perfect of any verb is composed of two elements : the appropriate form of the auxiliary verb to have.
Preceding direct objects (A 24 carat grammatical nugget)
© Child language acquisition To what extent do children acquire language by actively working out its rules?
Verb tenses.
ENGLISH. PUNCTUATION Apostrophes Commas Semi-colons GRAMMAR Subject-Verb Agreement Verb Tense Pronoun – Antecedent Agreement Subject – Object Pronouns.
The Writing Centre, StFX University The Most Common Major Errors in University Level Writing Adapted from The Writing Centre, Ryerson University.
Grammars Grammars can get quite complex, but are essential. Syntax: the form of the text that is valid Semantics: the meaning of the form – Sometimes semantics.
Auckland 2012Kilgarriff: NLP and Corpus Processing1 The contribution of NLP: corpus processing.
Tense Review: Simple Present, Present Progressive, Simple Past
What tense is that verb? Naming verb tenses
Programming Errors. Errors of different types Syntax errors – easiest to fix, found by compiler or interpreter Semantic errors – logic errors, found by.
Verb phrases Main reference: Randolph Quirk and Sidney Greenbaum, A University Grammar of English, Longman: London, (3.23 – 3.55)
Basic Syntactic Structures of English CSCI-GA.2590 – Lecture 2B Ralph Grishman NYU.
Key Stage 2 Grammar Workshop Tuesday 24 th February.
Prof:Adascalitei Adrian Student:Dochitei Simina.
Simple Present Tense. Negative Sentences in the Simple Present Tense Change these to negative: 1. I work. 2. I like my job. 3. They have benefits. 4.
PRESENT SIMPLE VS. PRESENT CONTINUOUS
The Present Simple Forms and use Preparatore Linguistico: Dott.ssa Barbara Meloni.
Teaching English An adventure to enjoy. Important things to take care on One of the most important things to deal with, is grammar, the way to structure.
Present Simple Verb Tense Verbs Other Than Be- Making Questions.
Using this and that I have a book in my hand. This book is red I see a book in your desk. That book is blue This is my book. That is your book. Note: This.
SIMPLE AND PROGRESSIVE TENSES. Simple Present It expresses events or situations that exist always, habitually or usually. Subject + verb in present form.
Year 1  Word:  Add –s to make words plural.  Add –ing, -ed and –er.  Add -un  Sentence  I can use and to create compound sentences.  I can join.
Subject-Verb Agreement English 8. Quick Review… Q: What is the subject of a sentence? A: Who/What the sentence is about Q: What is a verb? A: A word that.
Ehud Reiter, Computing Science, University of Aberdeen1 CS5545: Natural Language Generation Background Reading: Reiter and Dale, Building Natural Language.
INFORMATION FOR PARENTS AUTUMN 2014 SPELLING, PUNCTUATION AND GRAMMAR.
English 1 for Management (1EA) Dea Adlina. PAST AND PRESENT Review Tenses.
English Grammar Lecture 3: Form Classes
Grammar - Key stage 1 (Yrs 1 and 2)
Child Syntax and Morphology
KS1 SATs INFORMATION EVENING
Unit One Hello Everybody.
KS1 SATs INFORMATION EVENING
Grammar, vocabulary, punctuation and the new curriculum
Verbs.
SAT Writing and Language/ACT English:
Syntax.
GRAMMAR 1. Go to the basic rules of grammar. 2.Introducing nouns
Form Classes Ed McCorduck English 402—Grammar SUNY Cortland
Presentation transcript:

Ehud Reiter, Computing Science, University of Aberdeen1 CS4025: Realisation and Entrepeneurship

Ehud Reiter, Computing Science, University of Aberdeen2 Realisation l Third (last) NLG stage l Generate actual text l Take care of details of language »Syntactic details –Eg Agreement (the dog runs vs the dogs run) »Morphological details –Eg, plurals (dog/dogs vs box/boxes) »Presentation details –Eg, fit to 80 column width

Ehud Reiter, Computing Science, University of Aberdeen3 Realisation l Problem: There are lots of finicky details of language which most people developing NLG systems don’t want to worry about l Solution: Automate this using a realiser l

Ehud Reiter, Computing Science, University of Aberdeen4 Syntax l Sentences must obey the rules of English grammar »Specifies which order words should appear in, extra function words, word forms l Many aspects of grammar are somewhat bizarre

Ehud Reiter, Computing Science, University of Aberdeen5 Syntactic Details: Verb Group l Verb group is the main verb plus helping words (auxiliaries). l Encodes information in fairly bizarre ways, eg tense »John will watch TV (future – add will) »John watches TV (present - +s form of verb for third-person singular subjects) »John is watching TV (progressive – form of BE verb, plus +ing form of verb) »John watched TV (past – use +ed form of verb)

Ehud Reiter, Computing Science, University of Aberdeen6 Verb group l Negation »Usually add “not” after first word of verb group –John will not watch TV »Exception: add “do not” before 1-word VG –Inflections on do, use infinitive form of main verb –John does not watch TV vs John watch not TV »Exception to exception: use first strategy if verb is form of BE –John is not happy vs John does not be happy

Ehud Reiter, Computing Science, University of Aberdeen7 Realiser l Just tell realiser verb, tense, whether negated, and it will figure out the VG »(watch, future) -> will watch »(watch, past, negated) -> did not watch »Etc l Similarly automate other “obscure” encodings of information

Ehud Reiter, Computing Science, University of Aberdeen8 Morphology l Words have different forms l Nouns have plural »Dog, dogs l Verbs have 3ps form, participles »Watch, watches, watching, watched l Adjectives have comparative, superlative »Big, bigger, biggest

Ehud Reiter, Computing Science, University of Aberdeen9 Formation of variants l Example: plural »Usually add “s” (dogs) »But add “es” if base noun ends in certain letters (boxes, guesses) »Also change final “y” to “i” (tries) »Many special cases –children (vs childs), people (vs persons), etc

Ehud Reiter, Computing Science, University of Aberdeen10 Realiser l Calculates variants automatically »(dog, plural) -> dogs »(box, plural) -> boxes »(child, plural) -> children »etc

Ehud Reiter, Computing Science, University of Aberdeen11 Punctuation l Rules for structures »Sentences have first word capitalised, end in a full stop –My dog ate the meat. »Lists have conjunction (eg, and) between last two elements, comma between others –I saw Tom, Sue, Zoe, and Ciaran at the meeting. »Etc l Realiser can automatically insert appropriate punctuation for a structure

Ehud Reiter, Computing Science, University of Aberdeen12 Punctuation l Rules on combinations of punc »Don’t end full stop if sentence already ends in a full stop –He lives in Washington D.C. –He lives in Washington D.C.. »Brackets absorb some full stops –John lives in Aberdeen (he used to live in Edinburgh). –John lives in Aberdeen (he used to live in Edinburgh.). l Again realiser can automate

Ehud Reiter, Computing Science, University of Aberdeen13 Pouring l Usually we insert spaces between tokens, but not always »My dog »I saw John, and said hello. »I saw John, and said hello l Automated by realiser

Ehud Reiter, Computing Science, University of Aberdeen14 Pouring l Often want to insert line breaks to make text fit into a page of given width »Breaks should go between words if possible –Breaks should go between words if poss ible »If not possible, break between syllables and add a hyphen l Realiser automates

Ehud Reiter, Computing Science, University of Aberdeen15 Output formatting l Many possible output formats »Simple text »HTML »RTF (MS Word) l Realiser can automatically add appropriate markups for this

Ehud Reiter, Computing Science, University of Aberdeen16 Realiser systems l simplenlg – relatively limited functionality, but well documented, fast, easy to use, tested l KPML – lots of functionality but poorly documented, buggy, slow l openccg – somewhere in between l Many more

Ehud Reiter, Computing Science, University of Aberdeen17 (Montreal) French simplenlg l Vaudry and Lapalme, 2013 l Lots of “silly” rules, like English. l Eg, negation »il ne parle pas –“he does not speak” »il ne parle plus –“he does not speak anymore” »personne ne parle –“nobody speaks”

Ehud Reiter, Computing Science, University of Aberdeen18 Morphophonology l English: only example is a/an »An apple vs A banana l French: much more prominent »le + homme → l’homme »la + honte → la honte »le + beau + homme → le bel homme »à + le → au

Ehud Reiter, Computing Science, University of Aberdeen19 Other languages l Simplenlg for German, Portuguese »Each language has its “quirks” l Most challenging/different is tribal languages, eg from New Guinea »Allman et al, 2012

Ehud Reiter, Computing Science, University of Aberdeen20 Summary l Realiser automates the finicky details of language »So NLG developer doesn’t have to worry about these »One of the advantages of NLG

Ehud Reiter, Computing Science, University of Aberdeen21 Company: 2009 l 2009: Data2text set up »Commercialising research in NLG and data-to-text, esp SumTime and Babytalk »Ehud Reiter, Yaji Sripada, 2 business people, 2 software developers »Crowded into Meston 215

Ehud Reiter, Computing Science, University of Aberdeen22 Company: 2013 l 2013: Arria/Data2text goes public »Arria is London-based outfit which bought Data2text –Sales, marketing, corporate, IT architects, project managers to complement techies »Listed on AIM stock market in Dec 2013 »About 40 employees

Ehud Reiter, Computing Science, University of Aberdeen23 Arria/Data2text l Web site »Vision (Dale video) »People »Clients (case studies) »Stock market (AIM) »Demos

Ehud Reiter, Computing Science, University of Aberdeen24 Responsibilities l Employee (“meet the payroll”) l Investor (“how is my money doing”) l Client (“fix this yesterday”) l End user (“how is my baby doing”)

Ehud Reiter, Computing Science, University of Aberdeen25 Success l NLG/data-to-text essential, but only a small part of overall story »“boring” IT »Support »Change management »Sales and marketing

Ehud Reiter, Computing Science, University of Aberdeen26 Questions