Grammar Writing: Week 5: Difference between revisions

From English Grammar
Jump to navigation Jump to search
No edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:




<span style="color: blue>Task 1</span>
In DesktopTrale, develop a grammar consisting of the following components:


== Test Items ==
* i.) a type hierarchy
* ii.) lexical entries
* iii.) rules


# lilly
Save the grammar as "week5". (The program should produce a "week5.zip" file.)
# bo


<span style="color: blue>Task 2</span>
The grammar should be uploaded and tested on
[http://trale.server.uni-frankfurt.de:8080/practicalgrammar/]
(use your assigned port number!)




t(3,"she",word,1,noun).
== The Type Hierarchy ==
t(4,"her",word,1,noun).


t(5,"smokes",word,1,verb).
<nowiki>
t(6,"likes",word,1,verb).
bot
  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
        presp
        perfp
</nowiki>


t(7,"lilly smokes",phrase,1,'sentence').
t(8,"bo smokes",phrase,1,'sentence').
t(9,"she smokes",phrase,1,'sentence').
t(10,"her smokes",phrase,0,'sentence').


t(11,"likes bo",phrase,1,'VP').
[[File:Typeh.png]]
t(12,"likes her",phrase,1,'VP').
t(13,"likes she",phrase,0,'VP').


t(14,"lilly likes bo",phrase,1,'sentence').
== Lexical entries ==
t(15,"lilly likes her",phrase,1,'sentence').
t(16,"lilly likes she",phrase,0,'sentence').


t(17,"lilly bo likes",phrase,0,'sentence').
= Verbs =
t(18,"likes lilly bo",(phrase,
likes<br>
                      syntax:head:s),0,'sentence').
smokes<br>
t(19,"likes she her",phrase,0,'sentence').


t(20,"lilly smokes bo",phrase,0,'sentence').
= Nouns =
t(21,"lilly likes",phrase,0,'sentence').
                           
bo<br>
lilly<br>
her<br>
she<br>
 
 
= 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 word which is a finite verb
 
Second daughter: a sign which is an accusative noun
 
= Test Items =
 
(1) lilly<br>
(2) bo<br>
(3) she<br>
(4) her<br>
 
(5) smokes<br>
(6) likes<br>
 
(7) lilly smokes.<br>
(8) bo smokes.<br>
(9) she smokes.<br>
(10) *her smokes.<br>
 
(11) likes bo.<br>
(12) likes her.<br>
(13) *likes she.<br>
 
(14) lilly likes bo.<br>
(15) lilly likes her.<br>
(16) *lilly likes she.<br>
 
(17) *lilly bo likes.<br>
(18) *likes lilly bo.<br>
(19) *likes she her.<br>
 
(20) *lilly smokes bo.<br>
(21) *lilly likes.<br>
 
 
<br>
<br>
Navigation:
<div align="center">
  [[Grammar_Writing|'''Main Page''']] &nbsp; [[Grammar_Writing:_Week_2| '''Week 2''']] &nbsp;&nbsp;[[Grammar_Writing:_Week_3| '''Week 3''']] &nbsp;&nbsp; [[Grammar_Writing:_Week_4| '''Week 4''']] &nbsp;&nbsp; '''Week 5''' &nbsp;&nbsp; [[Grammar_Writing:_Week_6| '''Week 6''']] &nbsp;&nbsp; [[Grammar_Writing:_Week_7| '''Week 7''']] &nbsp; [[Grammar_Writing:_Week_8| '''Week 8''']] &nbsp;&nbsp;  [[Grammar_Writing:_Week_9| '''Week 9''']] 
</div>

Latest revision as of 09:42, 14 May 2019


Task 1

In DesktopTrale, develop a grammar consisting of the following components: 
  • i.) a type hierarchy
  • ii.) lexical entries
  • iii.) rules
Save the grammar as "week5". (The program should produce a "week5.zip" file.)

Task 2

The grammar should be uploaded and tested on 
[1]
(use your assigned port number!)


The Type Hierarchy

 
bot
   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 
         presp
         perfp


Typeh.png

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 word which is a finite verb

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      Week 9