summaryrefslogtreecommitdiff
path: root/next-lib/src/swedish/MakeStructuralSwe.gf
blob: 1da7840df1e39c0179cc49745dd6c0c90c938c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--# -path=.:../scandinavian:../common:../abstract

resource MakeStructuralSwe = open CatSwe, ParadigmsSwe, 
  (P=ParadigmsSwe), MorphoSwe, Prelude in {

oper 
  mkConj : Str -> Str -> P.Number -> Conj = \x,y,n -> 
    {s1 = x ; s2 = y ; n = n ; lock_Conj = <>} ;
  mkSubj : Str -> Subj = \x -> 
    {s = x ; lock_Subj = <>} ;
  mkIQuant : Str -> Str -> Str -> DetSpecies -> IQuant = \vilken,vilket,vilka,d ->
    {s = table (P.Number) 
           [table (P.Gender) [vilken;vilket] ; table (P.Gender) [vilka;vilka]] ; 
     det = d ; lock_IQuant = <>} ;

  dDefIndef : DetSpecies = DDef Indef ;
  ---- other DetSpecies

}