1
0
forked from GitHub/gf-rgl
Files
gf-rgl/resource-0.9/swedish/TypesSwe.gf
2006-06-22 22:25:55 +00:00

27 lines
820 B
Plaintext

--1 Swedish Word Classes and Morphological Parameters
--
-- This is a resource module for Swedish morphology, defining the
-- morphological parameters and word classes of Italian.
-- The morphology is so far only
-- complete w.r.t. the syntax part of the resource grammar.
-- It does not include those parameters that are not needed for
-- analysing individual words: such parameters are defined in syntax modules.
instance TypesSwe of TypesScand = {
param
Gender = Utr | Neutr ;
NounGender = NUtr Sex | NNeutr ;
oper
genNoun = \s -> case s of {NUtr _ => Utr ; NNeutr => Neutr} ;
sexNoun = \s -> case s of {NUtr x => x ; NNeutr => NoMasc} ;
gen2nounGen = \s -> case s of {Utr => NUtr NoMasc ; Neutr => NNeutr} ;
utrum = Utr ; neutrum = Neutr ;
param
AdjFormPos = Strong GenNum | Weak SexNum ;
}