forked from GitHub/gf-rgl
resource = resource-1.0
This commit is contained in:
26
resource-0.9/swedish/TypesSwe.gf
Normal file
26
resource-0.9/swedish/TypesSwe.gf
Normal file
@@ -0,0 +1,26 @@
|
||||
--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 ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user