fix type errors detected by the new type checker
This commit is contained in:
1 parent
42d06dfafd
commit
1308eb85d9
21 files changed
+47
-76
No files matched your search
@@ -58,24 +58,24 @@ concrete ExtraLat of ExtraLatAbs =
|
||||
UttS_VInS s = { s = combineSentence s ! SAPreS ! APreV ! DPostN ! VInS ! CPostV ! SVO } ;
|
||||
|
||||
TestRCl t p cl = {
|
||||
s = \\g,n => combineSentence (combineClause (cl.s ! g ! n) (lin Tense t) t.a (lin Pol p) VQFalse) ;
|
||||
s = \\g,n => combineSentence (combineClause (t.s++p.s) (cl.s ! g ! n) t.t t.a p.p VQFalse) ;
|
||||
} ;
|
||||
|
||||
-- UseRCl_OSV : Temp -> Pol -> RCl -> RS ;
|
||||
UseRCl_OSV t p cl = {
|
||||
s = \\g,n => combineSentence (combineClause (cl.s ! g ! n) (lin Tense t) t.a (lin Pol p) VQFalse) ! SAPreO ! APreV ! DPreN ! VReg ! CPostV ! OSV ;
|
||||
s = \\g,n => combineSentence (combineClause (t.s++p.s) (cl.s ! g ! n) t.t t.a p.p VQFalse) ! SAPreO ! APreV ! DPreN ! VReg ! CPostV ! OSV ;
|
||||
} ;
|
||||
-- UseRCl_OVS : Temp -> Pol -> RCl -> RS ;
|
||||
UseRCl_OVS t p cl = {
|
||||
s = \\g,n => combineSentence (combineClause (cl.s ! g ! n) (lin Tense t) t.a (lin Pol p) VQFalse) ! SAPreO ! APreV ! DPreN ! VReg ! CPostV ! OVS ; -- SAPreO APreV DPreN VReg CPostV OVS
|
||||
s = \\g,n => combineSentence (combineClause (t.s++p.s) (cl.s ! g ! n) t.t t.a p.p VQFalse) ! SAPreO ! APreV ! DPreN ! VReg ! CPostV ! OVS ; -- SAPreO APreV DPreN VReg CPostV OVS
|
||||
} ;
|
||||
-- UseRCl_SOV : Temp -> Pol -> RCl -> RS ;
|
||||
UseRCl_SOV t p cl = {
|
||||
s = \\g,n => combineSentence (combineClause (cl.s ! g ! n) (lin Tense t) t.a (lin Pol p) VQFalse) ! SAPreS ! APreV ! DPreN ! VReg ! CPostV ! SOV ;
|
||||
s = \\g,n => combineSentence (combineClause (t.s++p.s) (cl.s ! g ! n) t.t t.a p.p VQFalse) ! SAPreS ! APreV ! DPreN ! VReg ! CPostV ! SOV ;
|
||||
} ;
|
||||
-- UseRCl_SVO : Temp -> Pol -> RCl -> RS ;
|
||||
UseRCl_SVO t p cl = {
|
||||
s = \\g,n => combineSentence (combineClause (cl.s ! g ! n) (lin Tense t) t.a (lin Pol p) VQFalse) ! SAPreS ! APreV ! DPreN ! VReg ! CPostV ! SVO ;
|
||||
s = \\g,n => combineSentence (combineClause (t.s++p.s) (cl.s ! g ! n) t.t t.a p.p VQFalse) ! SAPreS ! APreV ! DPreN ! VReg ! CPostV ! SVO ;
|
||||
} ;
|
||||
-- PrepNP_DPostN : Prep -> NP -> Adv ; -- in the house
|
||||
PrepNP_DPostN prep np =
|
||||
|
||||
Reference in new issue
Block a user