1
0
forked from GitHub/gf-core

Rename Zero grammar to Walking

This commit is contained in:
John J. Camilleri
2021-01-26 09:35:21 +01:00
parent 270e7f021f
commit 6f622b496b
4 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
-- From Angelov, Bringert, Ranta (2009)
concrete WalkingEng of Walking = {
lincat
S = Str ;
NP = {s : Str; n : Number} ;
VP = {s : Number => Str} ;
lin
And s1 s2 = s1 ++ "and" ++ s2 ;
Pred np vp = np.s ++ vp.s ! np.n ;
John = {s = "John"; n = Sg} ;
We = {s = "we"; n = Pl} ;
Walk = {s = table {
Sg => "walks";
Pl => "walk"
}
} ;
param
Number = Sg | Pl ;
}