Grammar Writing: Week 6: Difference between revisions
Line 26: | Line 26: | ||
# <(sign, ...)> = a single complement | # <(sign, ...)> = a single complement | ||
# <(sign, ...), (sign, ...)> = two complements | # <(sign, ...), (sign, ...)> = two complements | ||
Revision as of 12:31, 24 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.) lexical 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 list 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. COMPS lists in English are either empty or contain 1-2 signs, separated by commas. Do not require complements to be phrases or words, since complements can be both!
In order to enter a sign into a COMPS list, click in the middle of the list. Usually it is best to put the definition of each complement in parentheses, e.g.
- <(sign, ...)> = a single complement
- <(sign, ...), (sign, ...)> = two complements
Phrases
Since the feature COMPS is defined for all signs, like every word, every phrase needs to have a COMPS value.
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: