1
0
forked from GitHub/gf-core

added coordination to tutorial grammar example.

This commit is contained in:
aarne
2007-10-17 19:08:09 +00:00
parent 5028c62c66
commit 59052fd1b6
3 changed files with 25 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ abstract Grammar = {
V ; -- intransitive verb e.g. "boil"
V2 ; -- two-place verb e.g. "eat"
Pol ; -- polarity (pos or neg)
Conj ; -- conjunction e.g. "and"
fun
PhrS : S -> Phr ;
@@ -41,6 +42,9 @@ abstract Grammar = {
IDetCN : IDet -> CN -> IP ;
ConjS : Conj -> S -> S -> S ;
ConjNP : Conj -> NP -> NP -> NP ;
-- lexical insertion
UseN : N -> CN ;
@@ -64,6 +68,7 @@ abstract Grammar = {
very_AdA : AdA ;
and_Conj : Conj ;
-- polarities
PPos, PNeg : Pol ;