skeleton for questions in Slovenian

This commit is contained in:
krasimir
2016-05-06 09:14:27 +00:00
parent 73c76ec927
commit ae20d6454a
5 changed files with 11 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ lincat
Cl = {s : P.Tense => P.Anteriority => P.Polarity => Str} ; Cl = {s : P.Tense => P.Anteriority => P.Polarity => Str} ;
Imp = {s : P.Polarity => Gender => Number => Str} ; Imp = {s : P.Polarity => Gender => Number => Str} ;
-- Question
QCl = {s : P.Tense => P.Anteriority => P.Polarity => Str} ;
-- Verb -- Verb
VP = ResSlv.VP ; VP = ResSlv.VP ;
VPSlash = ResSlv.VP ** {c2 : Prep} ; VPSlash = ResSlv.VP ** {c2 : Prep} ;

View File

@@ -7,8 +7,8 @@ concrete GrammarSlv of Grammar =
AdverbSlv, AdverbSlv,
NumeralSlv, NumeralSlv,
SentenceSlv, SentenceSlv,
{- QuestionSlv, QuestionSlv,
RelativeSlv, {- RelativeSlv,
ConjunctionSlv,-} ConjunctionSlv,-}
PhraseSlv, PhraseSlv,
TextX - [Pol,PPos,PNeg], TextX - [Pol,PPos,PNeg],

View File

@@ -4,6 +4,7 @@ concrete PhraseSlv of Phrase = CatSlv ** open Prelude, ResSlv in {
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ; PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
UttS s = s ; UttS s = s ;
UttQS qs = qs ;
UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ; UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ;
UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ; UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ;
UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ; UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc ! Sg} ;

View File

@@ -0,0 +1,2 @@
concrete QuestionSlv of Question = CatSlv ** open ResSlv in {
}

View File

@@ -10,6 +10,9 @@ lin
UseCl t p cl = { UseCl t p cl = {
s = t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p s = t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p
} ; } ;
UseQCl t p cl = {
s = t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p
} ;
} }