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_Fin of PeaceCat = CatFin ** PeaceCatI with (Lang = LangFin);

View File

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

View File

@@ -0,0 +1,44 @@
--# -path=.:present:prelude
concrete PeaceLexExt_Fin of PeaceLexExt =
PeaceCat_Fin ** open ParadigmsFin in {
lin
-- Adjectives
dangerous_A = regA "vaarallinen" ;
dead_A = mkA (nRae "kuollut" "kuolleena") ;
hungry_A = regA "nälkäinen" ;
large_A = regA "iso" ;
sick_A = regA "sairas" ;
-- Nouns
air_N = regN "ilma" ;
arm_N = reg3N "käsi" "käden" "käsiä" ;
building_N = regN "rakennus" ;
car_N = regN "auto" ;
corpse_N = regN "ruumis" ;
doctor_N = regN "lääkäri";
enemy_N = regN "vihollinen";
face_N = regN "naama" ; ---- kasvot
food_N = regN "ruoka";
friend_N = regN "ystävä";
ground_N = regN "maa" ;
knife_N = reg2N "veitsi" "veitsiä" ; ---- veistä
landmine_N = regN "maamiina" ;
map_N = regN "kartta" ;
medicine_N = regN "lääke" ;
police8officer_N = regN "poliisi" ;
skin_N = regN "iho" ;
soldier_N = regN "sotilas" ;
weapon_N = regN "ase";
-- Verbs
cough_V = regV "yskiä" ;
drop_V2 = dirV2 (regV "pudottaa") ;
hurt_V = regV "sattua" ;
need_V2 = dirV2 (regV "tarvita");
own_V2 = dirV2 (regV "omistaa") ;
show_V3 = dirdirV3 (regV "näyttää") ;
}

View File

@@ -0,0 +1,14 @@
--# -path=.:..:present:prelude
concrete PeacePhrases_Fin of PeacePhrases =
PeaceCat_Fin ** open LangFin, ParadigmsFin, PeaceRes in {
lin
Hello = stop "terve" ;
GoodMorning = stop ["hyvää huomenta"] ;
GoodEvening = stop ["hyvää iltaa"] ;
WhatIsNamePron p = quest (PhrUtt NoPConj (UttQS (UseQCl TPres ASimul PPos
(QuestVP whatSg_IP (UseComp (CompNP (DetCN (DetSg (SgQuant (PossPron p)) NoOrd)
(UseN (reg2N "nimi" "nimiä")))))))) NoVoc).s ;
}

View File

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

View File

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

View File

@@ -0,0 +1,10 @@
--# -path=.:..:present:prelude
concrete Peace_Fin of Peace =
PeaceSyntax_Fin, PeaceLexCommon_Fin,
PeaceLexExt_Fin, PeacePhrases_Fin
** {
flags startcat = PhraseWritten ;
optimize = all_subs ;
}