1
0
forked from GitHub/gf-rgl

(Extend) Rename WhatSSC to EmbedSSlash and change type to SSlash -> SC

This commit is contained in:
Inari Listenmaa
2019-04-20 10:27:59 +02:00
parent dc819e2320
commit 40c8c5f923
9 changed files with 32 additions and 12 deletions

View File

@@ -5,7 +5,8 @@ concrete ExtendAra of Extend =
GenNP, ApposNP, ICompAP, DetNPMasc, DetNPFem,
EmptyRelSlash, PredAPVP,
ComplDirectVS, ComplDirectVQ, -- because of Utt
VPS, MkVPS, PredVPS, BaseVPS, ConsVPS, ConjVPS
VPS, MkVPS, PredVPS, BaseVPS, ConsVPS, ConjVPS,
EmbedSSlash
]
with (Grammar=GrammarAra)
** open
@@ -46,6 +47,9 @@ lin
-- : ClSlash -> RCl -- he lives in
EmptyRelSlash = RelSlash (IdRP ** {s = \\_ => []}) ;
-- : SSlash -> SC
EmbedSSlash = Grammar.EmbedS ;
lincat
VPS = {s : PerGenNum => Str} ; -- finite VP's with tense and polarity
[VPS] = {s1,s2 : PerGenNum => Str} ;

View File

@@ -42,7 +42,7 @@ concrete SentenceAra of Sentence = CatAra ** open
-- SlashVS np vs sslash = TODO
EmbedS s = {s = "أَنْ" ++ s.s ! Verbal} ;
EmbedS s = {s = "مَا" ++ s.s ! Verbal} ;
EmbedQS qs = {s = qs.s ! QIndir} ;
EmbedVP vp = {s = uttVP VPPerf vp ! Masc} ; -- TODO: use VPGer once it's more stable