mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
skeleton for questions in Slovenian
This commit is contained in:
@@ -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} ;
|
||||||
|
|||||||
@@ -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],
|
||||||
|
|||||||
@@ -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} ;
|
||||||
|
|||||||
2
lib/src/slovenian/QuestionSlv.gf
Normal file
2
lib/src/slovenian/QuestionSlv.gf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
concrete QuestionSlv of Question = CatSlv ** open ResSlv in {
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user