mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
add Slash category
This commit is contained in:
@@ -28,6 +28,10 @@ concrete CatBul of Cat = open ResBul, Prelude, (R = ParamX) in {
|
|||||||
-- Sentence
|
-- Sentence
|
||||||
|
|
||||||
Cl = {s : ResBul.Tense => Anteriority => Polarity => Order => Str} ;
|
Cl = {s : ResBul.Tense => Anteriority => Polarity => Order => Str} ;
|
||||||
|
Slash = {
|
||||||
|
s : ResBul.Tense => Anteriority => Polarity => Order => Str ;
|
||||||
|
c2 : Str
|
||||||
|
} ;
|
||||||
Imp = {s : Polarity => GenNum => Str} ;
|
Imp = {s : Polarity => GenNum => Str} ;
|
||||||
|
|
||||||
-- Question
|
-- Question
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ concrete SentenceBul of Sentence = CatBul ** open Prelude, ResBul in {
|
|||||||
verb ++ compl
|
verb ++ compl
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
SlashV2 np v2 =
|
||||||
|
mkClause (np.s ! Nom) np.a (predV v2) ** {c2 = v2.c2} ;
|
||||||
|
|
||||||
EmbedS s = {s = "," ++ "֌" ++ s.s} ;
|
EmbedS s = {s = "," ++ "֌" ++ s.s} ;
|
||||||
EmbedQS qs = {s = qs.s ! QIndir} ;
|
EmbedQS qs = {s = qs.s ! QIndir} ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user