Grammar Writing: Week 6: Difference between revisions
Line 20: | Line 20: | ||
== Lexical entries == | == 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 = | = Verbs = |
Revision as of 13:14, 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 of head value s
First daughter: a sign which is a nominative noun
Second daughter: a sign which is a finite verb
2. The vp_rule
Mother: a phrase of head value verb
First daughter: a sign which is a finite verb word
Second daughter: a sign which is an accusative noun
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: