Grammar Writing: Term Project: Difference between revisions
Nikoschenk (talk | contribs) |
Nikoschenk (talk | contribs) |
||
Line 23: | Line 23: | ||
* Merkel is wonderful | * Merkel is wonderful | ||
* '''the''' President | * '''the''' President | ||
* (*)President travels | |||
* Merkel gave Bush a present | * Merkel gave Bush a present | ||
* (*)Merkel gave the President | |||
* The President gave the minister an order | * The President gave the minister an order | ||
* CNN '''reports''' fake news to the students | * CNN '''reports''' fake news to the students | ||
* Merkel studied physics | * Merkel '''studied''' physics | ||
* Merkel '''studied''' | |||
* KimJongUn studied '''in Switzerland''' | * KimJongUn studied '''in Switzerland''' | ||
* KimJongUn studied '''hard''' | * KimJongUn studied '''hard''' | ||
Line 32: | Line 35: | ||
* (*) Putin '''like''' Donald | * (*) Putin '''like''' Donald | ||
* (*) '''Him''' likes Donald | * (*) '''Him''' likes Donald | ||
* Putin likes | * Putin likes Trump '''but''' Trump loves Twitter | ||
* Merkel travels '''and''' Putin sleeps | * Merkel travels '''and''' Putin sleeps | ||
* (*) Putin likes Trump but Trump | * (*) Putin likes Trump but Trump |
Revision as of 11:44, 9 February 2018
Exercise (due March, 11th)
Develop a grammar that consists of
- a type hierarchy
- a lexicon
- a set of rules
It's up to you what to write into the lexicon. Its contents should be representative of a particular topic, e.g., sports, business, politics, traveling, TV and entertainment, etc. Be a bit creative. The student goes to university and something of that sort has been covered already in class and will not be accepted.
The type hierarchy of your grammar should be based on the latest version from week 10. [1]
You need to make some minor modifications to handle functionality regarding agreement.
Your grammar should cover (correctly recognize and *reject) the following patterns: The actual words are specific to your own custom lexical entries, however, the ones in bold should be part of your lexicon.
- Merkel travels
- Merkel meets Bush
- Merkel is wonderful
- the President
- (*)President travels
- Merkel gave Bush a present
- (*)Merkel gave the President
- The President gave the minister an order
- CNN reports fake news to the students
- Merkel studied physics
- Merkel studied
- KimJongUn studied in Switzerland
- KimJongUn studied hard
- Putin likes Jinping
- (*) Putin like Donald
- (*) Him likes Donald
- Putin likes Trump but Trump loves Twitter
- Merkel travels and Putin sleeps
- (*) Putin likes Trump but Trump
The patterns cover the following linguistic phenomena:
intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), prepositional phrases, adverbs, modifiers, case and number agreement, conjunctions / coordination between two sentences.
Make sure to download the latest version of desktoptrale from last week in case you haven't done so already. [2]