mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-16 14:42:50 -06:00
we now support irregAdv in Swedish
This commit is contained in:
@@ -44,7 +44,9 @@ lin
|
||||
caseInfl Nom ++
|
||||
tr (intagAttr "th" "colspan=5" "genitiv") ++
|
||||
caseInfl Nom
|
||||
)
|
||||
) ++
|
||||
heading1 ("Adverb") ++
|
||||
paragraph (adj.s ! AAdv) ;
|
||||
} where {
|
||||
caseInfl : Case -> Str = \c ->
|
||||
tr (intagAttr "th" "rowspan=3" "obest" ++
|
||||
|
||||
@@ -189,6 +189,8 @@ oper
|
||||
|
||||
invarA : Str -> A ; -- e.g. äkta
|
||||
|
||||
irregAdv : A -> Str -> A ; -- adverb irreg
|
||||
|
||||
---- Adjective with deviant adverb.
|
||||
|
||||
---- deviantAdvA : Str -> A -> A ; -- e.g. bra, god
|
||||
@@ -582,6 +584,8 @@ oper
|
||||
|
||||
invarA s = mk3cA s s s True ;
|
||||
|
||||
irregAdv a adv = lin A {s = table {AAdv => adv; aform => a.s ! aform}; isComp = a.isComp} ;
|
||||
|
||||
mkA2 a p = a ** {c2 = mkComplement p.s ; lock_A2 = <>} ;
|
||||
|
||||
mkAdv x = ss x ** {lock_Adv = <>} ;
|
||||
|
||||
Reference in New Issue
Block a user