1
0
forked from GitHub/gf-core

Added peacekeeping example back in. Doesn't compile yet.

This commit is contained in:
bjorn
2008-08-15 20:21:12 +00:00
parent 65a25ad181
commit 0f51f5187c
35 changed files with 785 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
--# -path=.:present:prelude
concrete PeaceCat_Swe of PeaceCat = CatSwe ** PeaceCatI with (Lang = LangSwe);

View File

@@ -0,0 +1,5 @@
--# -path=.:present:prelude
concrete PeaceLexCommon_Swe of PeaceLexCommon =
PeaceCat_Swe ** PeaceLexCommonI with (Lang = LangSwe) ;

View File

@@ -0,0 +1,48 @@
--# -path=.:present:prelude
concrete PeaceLexExt_Swe of PeaceLexExt =
PeaceCat_Swe ** open ParadigmsSwe, IrregSwe,
LexiconSwe, StructuralSwe 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" ;
face_N = regN "ansikte" ;
food_N = regN "mat";
friend_N = mkN "vän" "vännen" "vänner" "vännerna" ;
ground_N = mk2N "mark" "marker";
knife_N = regN "kniv" ;
landmine_N = regN "landmina" ;
map_N = regN "karta" ;
medicine_N = mk2N "medicin" "mediciner";
police8officer_N = mk2N "polis" "poliser" ;
skin_N = mk2N "skinn" "skinn" ;
soldier_N = mk2N "soldat" "soldater" ;
toy_N = regN "leksak" ;
translation8machine_N = mk2N "översättningsmaskin" "översättningsmaskiner";
weapon_N = mkN "vapen" "vapnet" "vapen" "vapnen" ;
-- Verbs
cooperate_V2 = mkV2 (regV "samarbetar") (mkPrep "med") ;
cough_V = regV "hostar" ;
drop_V2 = dirV2 (regV "släpper") ;
hurt_V = partV göra_V "ont" ; -- FIXME: "Gör ont ditt ben?"
need_V2 = dirV2 (regV "behöver");
own_V2 = dirV2 (regV "äger") ;
show_V3 = dirdirV3 (regV "visar") ;
}

View File

@@ -0,0 +1,12 @@
--# -path=.:..:present:prelude
concrete PeacePhrases_Swe of PeacePhrases =
PeaceCat_Swe ** open CommonScand, PeaceRes in {
lin
Hello = stop "hej" ;
GoodMorning = stop ["god morgon"] ;
GoodEvening = stop ["god kväll"] ;
WhatIsNamePron p = stop (["vad heter"] ++ p.s!NPNom) ;
}

View File

@@ -0,0 +1,8 @@
--# -path=.:..:present:prelude
concrete PeaceSpoken_Swe of PeaceSpoken =
Peace_Swe ** {
flags startcat = PhraseSpoken ;
}

View File

@@ -0,0 +1,5 @@
--# -path=.:present:prelude
concrete PeaceSyntax_Swe of PeaceSyntax = PeaceCat_Swe ** PeaceSyntaxI with
(Lang = LangSwe) ;

View File

@@ -0,0 +1,10 @@
--# -path=.:..:present:prelude
concrete Peace_Swe of Peace =
PeaceSyntax_Swe, PeaceLexCommon_Swe,
PeaceLexExt_Swe, PeacePhrases_Swe
** {
flags startcat = PhraseWritten ;
}