mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-31 19:03:20 -06:00
another optimization of Romance VP. Effect on Fre over 50% in compilation and parse speed. Somewhat smaller on Spa,Ita,Cat.
This commit is contained in:
1 parent
051817dfb5
commit
5c1a78e846
9 files changed
+95
-54
No files matched your search
@@ -61,15 +61,15 @@ instance DiffFre of DiffRomance - [
|
||||
_ => copula.s
|
||||
} ;
|
||||
|
||||
partAgr : VType -> VPAgr = \vtyp -> case vtyp of {
|
||||
VTyp VHabere _ => vpAgrNone ;
|
||||
_ => VPAgrSubj
|
||||
} ;
|
||||
|
||||
vpAgrClit : Agr -> VPAgr = \a0 ->
|
||||
let a = complAgr a0 in
|
||||
VPAgrClit a.g a.n ;
|
||||
|
||||
partAgr : VType -> Bool = \vtyp -> case vtyp of { -- works for all except Spa
|
||||
VTyp VHabere _ => False ;
|
||||
_ => True
|
||||
} ;
|
||||
|
||||
---- pronArg = pronArgGen Neg ; --- takes more space and time
|
||||
|
||||
pronArg : Number -> Person -> CAgr -> CAgr -> Str * Str * Bool =
|
||||
|
||||
Reference in new issue
Block a user