forked from GitHub/gf-rgl
parametrizad Scandinavian and added Danish
This commit is contained in:
33
resource/danish/TypesDan.gf
Normal file
33
resource/danish/TypesDan.gf
Normal file
@@ -0,0 +1,33 @@
|
||||
--1 Danish Word Classes and Morphological Parameters
|
||||
--
|
||||
-- This is a resource module for Italian 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 TypesDan of TypesScand = {
|
||||
|
||||
param
|
||||
NounGender = NUtr | NNeutr ;
|
||||
|
||||
oper
|
||||
genNoun = \s -> case s of {NUtr => Utr ; NNeutr => Neutr} ;
|
||||
sexNoun _ = NoMasc ;
|
||||
gen2nounGen = \s -> case s of {Utr => NUtr ; Neutr => NNeutr} ;
|
||||
|
||||
param
|
||||
AdjFormPos = Strong GenNum | Weak ;
|
||||
|
||||
VFin =
|
||||
Pres Mode Voice
|
||||
| Pret Mode Voice
|
||||
| Imper ; --- no passive
|
||||
|
||||
VInf =
|
||||
Inf Voice
|
||||
| Supin Voice
|
||||
| PtPret Case ; ---- number and gender
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user