Grammar Writing: Week 6: Difference between revisions

From English Grammar
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
== The Type Hierarchy ==
== The Type Hierarchy ==


<nowiki>
# Import the type hierarchy from Week 5.
bot
# Add the attribute COMPS with value ''sign'' to the type ''syntax''.
  list
      ne_list hd:bot tl:list       
      e_list
  sign syntax:syntax
      word
      phrase dtrs:list
  syntax head:pos
  pos
      noun case:case
      verb vform:vform
      prep
      s
  case
      nom
      acc
  vform
      fin
      nonfin
        base
        prp
        pfp
</nowiki>


== Lexical entries ==
== Lexical entries ==

Revision as of 13:11, 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

  1. Import the type hierarchy from Week 5.
  2. Add the attribute COMPS with value sign to the type syntax.

Lexical entries

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:

 Main Page    Week 2     Week 3     Week 4     Week 5    Week 6    Week 7   Week 8