mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 22:09:32 -06:00
14 lines
320 B
Plaintext
14 lines
320 B
Plaintext
concrete Eng of Ex = {
|
|
lincat
|
|
S = {s : Str} ;
|
|
NP = {s : Str ; n : Num} ;
|
|
VP = {s : Num => Str} ;
|
|
param
|
|
Num = Sg | Pl ;
|
|
lin
|
|
Pred np vp = {s = np.s ++ vp.s ! np.n} ;
|
|
She = {s = "she" ; n = Sg} ;
|
|
They = {s = "they" ; n = Pl} ;
|
|
Sleep = {s = table {Sg => "sleeps" ; Pl => "sleep"}} ;
|
|
}
|