mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 00:52:51 -06:00
language specific extensions started
This commit is contained in:
8
lib/resource-1.0/norwegian/ExtraNor.gf
Normal file
8
lib/resource-1.0/norwegian/ExtraNor.gf
Normal file
@@ -0,0 +1,8 @@
|
||||
concrete ExtraNor of ExtraNorAbs = ExtraScandNor ** open CommonScand, ResNor in {
|
||||
|
||||
lin
|
||||
PossNP np pro = {
|
||||
s = \\c => np.s ! NPNom ++ pro.s ! NPPoss np.a.gn ; ---- c
|
||||
a = np.a
|
||||
} ;
|
||||
}
|
||||
9
lib/resource-1.0/norwegian/ExtraNorAbs.gf
Normal file
9
lib/resource-1.0/norwegian/ExtraNorAbs.gf
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Structures special for Norwegian. These are not implemented in other
|
||||
-- Scandinavian languages.
|
||||
|
||||
abstract ExtraNorAbs = ExtraScandAbs ** {
|
||||
|
||||
fun
|
||||
PossNP : NP -> Pron -> NP ; -- bilen min
|
||||
|
||||
}
|
||||
2
lib/resource-1.0/norwegian/ExtraScandNor.gf
Normal file
2
lib/resource-1.0/norwegian/ExtraScandNor.gf
Normal file
@@ -0,0 +1,2 @@
|
||||
concrete ExtraScandNor of ExtraScandAbs = CatNor ** ExtraScand with
|
||||
(ResScand = ResNor) ;
|
||||
7
lib/resource-1.0/norwegian/Norwegian.gf
Normal file
7
lib/resource-1.0/norwegian/Norwegian.gf
Normal file
@@ -0,0 +1,7 @@
|
||||
--# -path=.:../scandinavian:../abstract:../common:prelude
|
||||
|
||||
concrete Norwegian of NorwegianAbs =
|
||||
LangNor,
|
||||
-- IrregNor,
|
||||
ExtraNor
|
||||
** {} ;
|
||||
5
lib/resource-1.0/norwegian/NorwegianAbs.gf
Normal file
5
lib/resource-1.0/norwegian/NorwegianAbs.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
abstract NorwegianAbs =
|
||||
Lang,
|
||||
--- IrregNorAbs,
|
||||
ExtraNorAbs
|
||||
** {} ;
|
||||
Reference in New Issue
Block a user