Grammar Writing: Week 6: Difference between revisions
(→Rules) |
|||
Line 39: | Line 39: | ||
1. The sentence_rule | 1. The sentence_rule | ||
Mother: a phrase | Mother: a phrase: (a) head value ''s''; (b) empty COMPS. | ||
First daughter: a sign | First daughter: a sign: (a) nominative noun; (b) empty COMPS. | ||
Second daughter: a sign | Second daughter: a sign: (a) a finite verb; (b) empty COMPS. | ||
2. The vp_rule | 2. The vp_rule | ||
Mother: a phrase | Mother: a phrase: (a) head value ''verb''; (b) empty COMPS. | ||
First daughter: a sign | First daughter: a sign: (a) finite verb word; (b) the COMPS list which is appropriate for the word | ||
Second daughter: a sign | Second daughter: a sign: (a) an accusative noun; (b) empty COMPS. | ||
= Test Items = | = Test Items = |
Revision as of 13:17, 20 November 2017
Howework assignment, due Monday November 27th:
Task 1
In DesktopTrale, develop a grammar consisting of the following components: (see below), i.) a type hierarchy, ii.) lexicon entries, iii.) rules. Save the grammar using this file name: "week6". (The program should produce the "week6.zip" file.)
Task 2
The grammar should be uploaded and tested on [1] (use your assigned port number!)
The Type Hierarchy
- Import the type hierarchy from Week 5.
- Add the attribute COMPS with value sign to the type syntax.
Lexical entries
From here on, all lexical entries should contain information about the word's COMPS list, i.e. the list with the kinds of signs that the word needs to combine with to its right to form a complete phrase.
Verbs
likes
smokes
Nouns
bo
lilly
her
she
Rules
1. The sentence_rule
Mother: a phrase: (a) head value s; (b) empty COMPS.
First daughter: a sign: (a) nominative noun; (b) empty COMPS.
Second daughter: a sign: (a) a finite verb; (b) empty COMPS.
2. The vp_rule
Mother: a phrase: (a) head value verb; (b) empty COMPS.
First daughter: a sign: (a) finite verb word; (b) the COMPS list which is appropriate for the word
Second daughter: a sign: (a) an accusative noun; (b) empty COMPS.
Test Items
(1) lilly
(2) bo
(3) she
(4) her
(5) smokes
(6) likes
(7) lilly smokes.
(8) bo smokes.
(9) she smokes.
(10) *her smokes.
(11) likes bo.
(12) likes her.
(13) *likes she.
(14) lilly likes bo.
(15) lilly likes her.
(16) *lilly likes she.
(17) *lilly bo likes.
(18) *likes lilly bo.
(19) *likes she her.
(20) *lilly smokes bo.
(21) *lilly likes.
Navigation: