forked from GitHub/gf-core
added coordination to tutorial grammar example.
This commit is contained in:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user