mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-10 03:32:51 -06:00
improved the performance of Romance while retaining correct agreement ; removed Diff modules from Phrasebook
This commit is contained in:
@@ -4,13 +4,13 @@ incomplete concrete SentenceRomance of Sentence =
|
||||
flags optimize=all_subs ;
|
||||
|
||||
lin
|
||||
PredVP np vp = mkClause (np.s ! Nom).comp np.hasClit np.a vp ;
|
||||
PredVP np vp = mkClause (np.s ! Nom).comp np.hasClit np.isPol np.a vp ;
|
||||
|
||||
PredSCVP sc vp = mkClause sc.s False (agrP3 Masc Sg) vp ;
|
||||
PredSCVP sc vp = mkClause sc.s False False (agrP3 Masc Sg) vp ;
|
||||
|
||||
ImpVP vp = {
|
||||
s = \\p,i,g => case i of {
|
||||
ImpF n b => (mkImperative b P2 vp).s ! p ! (Ag g n P2) ---- AgPol ?
|
||||
ImpF n b => mkImperative b P2 vp ! p ! g ! n ---- AgPol ?
|
||||
}
|
||||
} ;
|
||||
|
||||
@@ -23,7 +23,7 @@ incomplete concrete SentenceRomance of Sentence =
|
||||
---- <Acc,True> => insertAgr ag v2 ;
|
||||
---- _ => v2
|
||||
----e }
|
||||
in (mkClause (np.s ! Nom).comp np.hasClit np.a vp).s ;
|
||||
in (mkClause (np.s ! Nom).comp np.hasClit np.isPol np.a vp).s ;
|
||||
c2 = v2.c2
|
||||
} ;
|
||||
|
||||
@@ -40,7 +40,7 @@ incomplete concrete SentenceRomance of Sentence =
|
||||
SlashVS np vs slash =
|
||||
{s = \\ag =>
|
||||
(mkClause
|
||||
(np.s ! Nom).comp np.hasClit np.a
|
||||
(np.s ! Nom).comp np.hasClit np.isPol np.a
|
||||
(insertExtrapos (\\b => conjThat ++ slash.s ! ag ! (vs.m ! b))
|
||||
(predV vs))
|
||||
).s ;
|
||||
|
||||
Reference in New Issue
Block a user