forked from GitHub/gf-rgl
probabilistic
This commit is contained in:
@@ -182,8 +182,8 @@ oper
|
|||||||
npGenDet : Number -> Numeral -> NounPhrase -> CommNounPhrase -> NounPhrase =
|
npGenDet : Number -> Numeral -> NounPhrase -> CommNounPhrase -> NounPhrase =
|
||||||
\n,two,john,car ->
|
\n,two,john,car ->
|
||||||
{s = \\c => variants {
|
{s = \\c => variants {
|
||||||
artDef ++ two.s ! Nom ++ car.s ! n ! Nom ++ "of" ++ john.s ! GenSP ;
|
john.s ! GenP ++ two.s ! Nom ++ car.s ! n ! toCase c ;
|
||||||
john.s ! GenP ++ two.s ! Nom ++ car.s ! n ! toCase c
|
artDef ++ two.s ! Nom ++ car.s ! n ! Nom ++ "of" ++ john.s ! GenSP
|
||||||
} ;
|
} ;
|
||||||
a = toAgr n P3 car.g
|
a = toAgr n P3 car.g
|
||||||
} ;
|
} ;
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
incomplete concrete VerbphraseScand of Verbphrase = CategoriesScand **
|
incomplete concrete VerbphraseScand of Verbphrase = CategoriesScand **
|
||||||
open Prelude, SyntaxScand in {
|
open Prelude, SyntaxScand in {
|
||||||
|
|
||||||
|
flags optimize=all_subs ;
|
||||||
|
|
||||||
lin
|
lin
|
||||||
UseV = predVerb ;
|
UseV = predVerb ;
|
||||||
UsePassV = passVerb ;
|
UsePassV = passVerb ;
|
||||||
|
|||||||
Reference in New Issue
Block a user