mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
added IDet and IDetCN
This commit is contained in:
@@ -35,7 +35,7 @@ concrete CatBul of Cat = open ResBul, Prelude, (R = ParamX) in {
|
||||
QCl = {s : ResBul.Tense => Anteriority => Polarity => QForm => Str} ;
|
||||
IP = {s : Str ; gn : GenNum} ;
|
||||
IComp = {s : Str} ;
|
||||
IDet = {s : DGender => Case => Str; n : Number; countable : Bool; spec : Species} ;
|
||||
IDet = {s : GenNum => Str; n : Number} ;
|
||||
|
||||
-- Verb
|
||||
|
||||
|
||||
@@ -29,10 +29,13 @@ concrete QuestionBul of Question = CatBul ** open ResBul, Prelude in {
|
||||
gn = ip.gn
|
||||
} ;
|
||||
|
||||
-- IDetCN idet num ord cn = {
|
||||
-- s = \\c => idet.s ++ num.s ++ ord.s ++ cn.s ! idet.n ! c ;
|
||||
-- gn = idet.gn
|
||||
-- } ;
|
||||
IDetCN idet num ord cn = {
|
||||
s = idet.s ! gennum cn.g idet.n ++
|
||||
num.s ! dgenderSpecies cn.g Indef Nom ++
|
||||
ord.s ! aform (gennum cn.g num.n) Indef Nom ++
|
||||
cn.s ! NF idet.n Indef ;
|
||||
gn = gennum cn.g idet.n
|
||||
} ;
|
||||
|
||||
CompIAdv a = a ;
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ concrete StructuralBul of Structural = CatBul **
|
||||
here7to_Adv = ss ["äî òóê"] ;
|
||||
here7from_Adv = ss ["îò òóê"] ;
|
||||
how_IAdv = ss "êàê" ;
|
||||
how8many_IDet = mkDeterminerPl ["êîëêî ìíîãî"] ;
|
||||
how8many_IDet = {s = \\_ => "êîëêî"; n = Pl} ;
|
||||
if_Subj = ss "àêî" ;
|
||||
in8front_Prep = ss "ïðåä" ;
|
||||
i_Pron = mkNP "àç" "ìåí" "ìîé" "ìîÿ" "ìîÿò" "ìîÿ" "ìîÿòà" "ìîå" "ìîåòî" "ìîè" "ìîèòå" (GSg Masc) P1 ;
|
||||
@@ -138,10 +138,8 @@ concrete StructuralBul of Structural = CatBul **
|
||||
when_Subj = ss "when" ;
|
||||
-}
|
||||
where_IAdv = ss "êúäå" ;
|
||||
{-
|
||||
whichPl_IDet = mkDeterminer Pl ["which"] ;
|
||||
whichSg_IDet = mkDeterminer Sg ["which"] ;
|
||||
-}
|
||||
whichPl_IDet = {s = table GenNum ["êîé";"êîÿ";"êîå";"êîè"]; n = Pl} ;
|
||||
whichSg_IDet = {s = table GenNum ["êîé";"êîÿ";"êîå";"êîè"]; n = Sg} ;
|
||||
whoSg_IP = mkIP "êîé" (GSg Masc) ;
|
||||
whoPl_IP = mkIP "êîè" GPl ;
|
||||
why_IAdv = ss "çàùî" ;
|
||||
|
||||
Reference in New Issue
Block a user