mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Add case for when pre is not followed by anything
This commit is contained in:
@@ -4,4 +4,5 @@ abstract Pre = {
|
||||
ant, dog: N ;
|
||||
a, the: Det ;
|
||||
mkS : Det -> N -> S;
|
||||
detS : Det -> S;
|
||||
}
|
||||
|
||||
@@ -10,3 +10,8 @@ PreCnc: a dog
|
||||
Pre: mkS the dog
|
||||
PreCnc: the dog
|
||||
|
||||
Pre: detS a
|
||||
PreCnc: a
|
||||
|
||||
Pre: detS the
|
||||
PreCnc: the
|
||||
|
||||
@@ -2,3 +2,5 @@ mkS a ant
|
||||
mkS the ant
|
||||
mkS a dog
|
||||
mkS the dog
|
||||
detS a
|
||||
detS the
|
||||
|
||||
@@ -12,4 +12,5 @@ concrete PreCnc of Pre = {
|
||||
} } ;
|
||||
the = { s = "the" } ;
|
||||
mkS det n = { s = det.s ++ n.s } ;
|
||||
detS det = { s = det.s } ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user