mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Added CAdvNP and CAdvSSlash to ParseEng. Maybe they should go in Noun.gf instead?
This commit is contained in:
@@ -115,6 +115,16 @@ lin
|
||||
a = agrP3 num.n
|
||||
} ;
|
||||
|
||||
CAdvNP ad cn np = {
|
||||
s = \\c => ad.s ++ cn.s ! Sg ! c ++ ad.p ++ np.s ! Nom ;
|
||||
a = agrP3 Sg
|
||||
} ;
|
||||
|
||||
CAdvSSlash ad cn slash = {
|
||||
s = \\c => ad.s ++ cn.s ! Sg ! c ++ ad.p ++ slash.s ++ slash.c2;
|
||||
a = agrP3 Sg
|
||||
} ;
|
||||
|
||||
-- Lexical additions
|
||||
|
||||
lin
|
||||
|
||||
@@ -23,6 +23,9 @@ fun VerbCN : V -> CN -> CN ; -- running man
|
||||
|
||||
fun NumOfNP : Num -> NP -> NP ; -- ten of the dogs
|
||||
|
||||
fun CAdvNP : CAdv -> CN -> NP -> NP ; -- more wine than the professor
|
||||
fun CAdvSSlash : CAdv -> CN -> SSlash -> NP ; -- more wine than the professor drank
|
||||
|
||||
-- Lexical additions
|
||||
|
||||
fun a8few_Det : Det ;
|
||||
|
||||
Reference in New Issue
Block a user