Grammar Writing: Week 7: Difference between revisions

From English Grammar
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
= Tutorial Session (November 27th) =
= Tutorial Session (November 27th) =


== Grammar 1 ==
== Grammar 1 (Basic) ==


  <nowiki>
  <nowiki>
Line 35: Line 35:




== Grammar 2 (Case) ==


== Grammar 2 ==
<nowiki>
type_hierarchy
bot
  sign  syntax:syntax 
      phrase  dtrs:list 
      word 
  list 
      ne_list  tl:list  hd:bot 
      e_list 
  pos 
      verb 
      noun  case:case 
      s 
      prep 
  syntax  head:pos 
  case 
      acc 
      nom 
.
</nowiki>
 
 
 
 
 
 
== Grammar 3 (Vform) ==


  <nowiki>
  <nowiki>
Line 66: Line 93:




== Grammar 3 ==
== Grammar 4 (Complements) ==


  <nowiki>
  <nowiki>

Revision as of 11:33, 27 November 2017

Tutorial Session (November 27th)

Grammar 1 (Basic)

type_hierarchy
bot
   bool   
      minus   
      plus   
   sign   syntax:part_of_speech   
      phrase   dtrs:list   
      word   
   part_of_speech   
      sentence   
      verb   
      noun   
   list   
      ne_list   tl:list   hd:bot   
      e_list   
.

Task 1:

Add lexicon entries for "she", "her", "help", "receives", "shouts".

Task 2:

Add grammar rules so that the following two sentences are correctly recognized: "she shouts" and "she receives help".



Grammar 2 (Case)

type_hierarchy
bot
   sign   syntax:syntax   
      phrase   dtrs:list   
      word   
   list   
      ne_list   tl:list   hd:bot   
      e_list   
   pos   
      verb   
      noun   case:case   
      s   
      prep   
   syntax   head:pos   
   case   
      acc   
      nom   
.




Grammar 3 (Vform)

type_hierarchy
bot
   sign   syntax:syntax   
      phrase   dtrs:list   
      word   
   list   
      ne_list   tl:list   hd:bot   
      e_list   
   vform   
      fin   
      nonfin   
         prp   
         pfp   
         base   
   pos   
      verb   vform:vform   
      noun   case:case   
      s   
      prep   
   syntax   head:pos   
   case   
      acc   
      nom   
.


Grammar 4 (Complements)

type_hierarchy
bot
   sign   syntax:syntax   comps:list  
      phrase   dtrs:list   
      word   
   list   
      ne_list   tl:list   hd:bot   
      e_list   
   vform   
      fin   
      nonfin   
         prp   
         pfp   
         base   
   pos   
      verb   vform:vform   
      noun   case:case   
      s   
      prep   
   syntax   head:pos   
   case   
      acc   
      nom   
.