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: (again, note that these are only patterns, i.e. the actual words are specific to your own custom lexical entries).


* Merkel travels
* Merkel travels
Line 26: Line 26:
* Merkel studied physics
* Merkel studied physics
* KimJongUn studied in Switzerland
* KimJongUn studied in Switzerland
* KimJongUn studied hard
* Putin likes Jinping
* Putin likes Jinping
* (*) Putin like Donald
* (*) Putin like Donald
The patterns cover the following linguistic phenomena:
intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), modifiers, agreement.
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]

Revision as of 11:32, 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: (again, note that these are only patterns, i.e. the actual words are specific to your own custom lexical entries).

  • Merkel travels
  • Merkel meets Bush
  • the President
  • Merkel gave Bush a present
  • The President gave the minister an order
  • Merkel studied physics
  • KimJongUn studied in Switzerland
  • KimJongUn studied hard
  • Putin likes Jinping
  • (*) Putin like Donald

The patterns cover the following linguistic phenomena:

intransitive verbs, transitive verbs, ditransitive verbs, noun phrases with a determiner (specifier), modifiers, agreement.

Make sure to download the latest version of desktoptrale from last week in case you haven't done so already. [2]