mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-30 11:08:35 -06:00
change type for conjunctions, split and overload mkConj and add placeholders into the dictionary t
This commit is contained in:
+3
-2
@@ -1161,8 +1161,9 @@ oper
|
||||
-- conjunctions
|
||||
param Coordinator = And | Or | If | Neither | Because | Comma | Colon | Empty | Missing ; -- Missing means not implemented yet
|
||||
oper
|
||||
Conjunction : Type = { s1 : Str ; s2 : Str ; n : Number ; c : Coordinator };
|
||||
mkConjunction : Str -> Str -> Number -> Coordinator -> Conjunction = \s1,s2,num,coord -> { s1 = s1; s2 = s2 ; n = num ; c = coord } ;
|
||||
Conjunction : Type = { s1 : Str ; s2 : Str ; s3 : Str ; n : Number ; c : Coordinator } ; -- s1 is in the beginning of the coordination phrase, s2 in the middle and s3 is a potential enclitic, s is the prefered number of the coordination phrase and c is the parameter to define which string to put within the phrase
|
||||
mkConjunction : Str -> Str -> Str -> Number -> Coordinator -> Conjunction =
|
||||
\s1,s2,s3,num,coord -> { s1 = s1; s2 = s2 ; s3 = s3 ; n = num ; c = coord } ;
|
||||
|
||||
VPSlash = VerbPhrase ** {c : Preposition} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user