mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Added swedish version of the peacekeeping grammar.
This commit is contained in:
3
examples/peacekeeping/swedish/PeaceCat_Swe.gf
Normal file
3
examples/peacekeeping/swedish/PeaceCat_Swe.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete PeaceCat_Swe of PeaceCat = CatSwe ** PeaceCatI with (Cat = CatSwe);
|
||||
5
examples/peacekeeping/swedish/PeaceLexCommon_Swe.gf
Normal file
5
examples/peacekeeping/swedish/PeaceLexCommon_Swe.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete PeaceLexCommon_Swe of PeaceLexCommon =
|
||||
PeaceCat_Swe ** PeaceLexCommonI with (Lang = LangSwe) ;
|
||||
|
||||
37
examples/peacekeeping/swedish/PeaceLexExt_Swe.gf
Normal file
37
examples/peacekeeping/swedish/PeaceLexExt_Swe.gf
Normal file
@@ -0,0 +1,37 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete PeaceLexExt_Swe of PeaceLexExt =
|
||||
PeaceCat_Swe ** open LexiconSwe, ParadigmsSwe in {
|
||||
|
||||
lin
|
||||
|
||||
-- Adjectives
|
||||
dangerous_A = regA "farlig" ;
|
||||
dead_A = regA "död" ;
|
||||
hungry_A = regA "hungrig" ;
|
||||
large_A = big_A ;
|
||||
sick_A = regA "sjuk" ;
|
||||
|
||||
-- Nouns
|
||||
air_N = regN "luft" ;
|
||||
arm_N = regN "arm" ;
|
||||
building_N = mk2N "byggnad" "byggnader" ;
|
||||
car_N = regN "bil" ;
|
||||
corpse_N = mk2N "lik" "lik" ;
|
||||
doctor_N = mkN "doktor" "doktorn" "doktorer" "doktorerna";
|
||||
enemy_N = mk2N "fiende" "fiender" ;
|
||||
food_N = regN "mat";
|
||||
friend_N = mkN "vän" "vännen" "vänner" "vännerna" ;
|
||||
landmine_N = regN "landmina" ;
|
||||
medicine_N = mk2N "medicin" "mediciner";
|
||||
skin_N = mk2N "skinn" "skinn" ;
|
||||
soldier_N = mk2N "soldat" "soldater" ;
|
||||
weapon_N = mkN "vapen" "vapnet" "vapen" "vapnen" ;
|
||||
|
||||
-- Verbs
|
||||
cough_V = regV "hostar" ;
|
||||
need_V2 = dirV2 (regV "behöver");
|
||||
own_V2 = dirV2 (regV "äger") ;
|
||||
show_V3 = dirdirV3 (regV "visar") ;
|
||||
|
||||
}
|
||||
5
examples/peacekeeping/swedish/PeaceSyntax_Swe.gf
Normal file
5
examples/peacekeeping/swedish/PeaceSyntax_Swe.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete PeaceSyntax_Swe of PeaceSyntax = PeaceCat_Swe ** PeaceSyntaxI with
|
||||
(Lang = LangSwe) ;
|
||||
|
||||
3
examples/peacekeeping/swedish/Peace_Swe.gf
Normal file
3
examples/peacekeeping/swedish/Peace_Swe.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete Peace_Swe of Peace = PeaceSyntax_Swe, PeaceLexCommon_Swe, PeaceLexExt_Swe ** {}
|
||||
Reference in New Issue
Block a user