progress with scandinavian

This commit is contained in:
aarne
2005-12-07 11:32:04 +00:00
parent 141fa43eb8
commit 0dfd8c1517
20 changed files with 414 additions and 316 deletions

View File

@@ -1,4 +1,4 @@
instance DiffSwe of DiffScand = {
instance DiffSwe of DiffScand = open ResScand, Prelude in {
-- Parameters.
@@ -6,7 +6,17 @@ instance DiffSwe of DiffScand = {
Gender = Utr | Neutr ;
oper
utrum = Utr ; neutrum = Neutr ;
utrum = Utr ;
neutrum = Neutr ;
gennum : Gender -> Number -> GenNum = \g,n ->
case <g,n> of {
<Utr,Sg> => SgUtr ;
<Neutr,Sg> => SgNeutr ;
_ => Plg
} ;
detDef : Species = Def ;
-- Strings.
@@ -14,4 +24,19 @@ instance DiffSwe of DiffScand = {
conjThan = "än" ;
infMark = "att" ;
artIndef : Gender => Str = table {
Utr => "en" ;
Neutr => "ett"
} ;
verbHave =
mkVerb "ha" "har" "ha" "hade" "haft" "havd" "havt" "havda" ;
auxFut = "ska" ; -- "skall" in ExtSwe
auxCond = "skulle" ;
negation : Polarity => Str = table {
Pos => [] ;
Neg => "inte"
} ;
}