Grammar Writing: Term Project: Difference between revisions

From English Grammar
Jump to navigation Jump to search
Line 17: Line 17:
You need to make some minor modifications to handle functionality regarding '''agreement'''.
You need to make some minor modifications to handle functionality regarding '''agreement'''.


Your grammar should cover (correctly recognize and *reject) the following patterns: (again, note that these are only patterns, i.e. the actual words are specific to your own custom lexical entries).
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 travels
* Merkel meets Bush
* Merkel meets Bush
* the President
* Merkel is wonderful
* '''the''' President
* Merkel gave Bush a present
* Merkel gave Bush a present
* The President gave the minister an order
* The President gave the minister an order  
* CNN '''reports''' fake news to the students . 
* Merkel studied physics
* Merkel studied physics
* KimJongUn studied in Switzerland
* KimJongUn studied in Switzerland
* KimJongUn studied hard
* KimJongUn studied hard
* Putin likes Jinping
* Putin '''likes''' Jinping
* (*) Putin like Donald
* (*) Putin '''like''' Donald
* (*) '''Him''' likes Donald
* Putin likes Trumps '''but''' Trump loves Twitter


The patterns cover the following linguistic phenomena:
The patterns cover the following linguistic phenomena:


intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), modifiers, agreement.
intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), modifiers, case and number agreement, coordination between two sentences.


Make sure to download the latest version of desktoptrale from last week in case you haven't done so already.  
Make sure to download the latest version of desktoptrale from last week in case you haven't done so already.  
[https://github.com/Nikoschenk/desktoptrale/blob/master/desktoptrale/desktoptrale.jar]
[https://github.com/Nikoschenk/desktoptrale/blob/master/desktoptrale/desktoptrale.jar]

Revision as of 11:38, 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
  • Merkel gave Bush a present
  • The President gave the minister an order
  • CNN reports fake news to the students .
  • Merkel studied physics
  • KimJongUn studied in Switzerland
  • KimJongUn studied hard
  • Putin likes Jinping
  • (*) Putin like Donald
  • (*) Him likes Donald
  • Putin likes Trumps but Trump loves Twitter

The patterns cover the following linguistic phenomena:

intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), modifiers, case and number agreement, 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]