diff --git a/lib/resource-1.0/README b/lib/resource-1.0/README index a5c4ec710..16296762b 100644 --- a/lib/resource-1.0/README +++ b/lib/resource-1.0/README @@ -1,3 +1,8 @@ +LICENSE: This library is free software licensed under GNU General +Public License (GPL), see LICENSE. + +Author (c) Aarne Ranta 2005-2006. + -- file GF/lib/resource-1.0/README -- created Thu Dec 1 22:21:21 CET 2005 -- by A. Ranta, aarne@cs.chalmers.se @@ -20,7 +25,9 @@ The main changes from 0.9 to 1.0 are goal. 3. Some constructions have been dropped out or modified. This concerns - in particular the determiner structure in the module Noun. + in particular the determiner structure in the module Noun. Also the + number of verb subcategorization patterns is lower: predication can + be done by adding adverbs instead. 4. Judging from the English implementation, there is a promise to get a lighter and more efficient resource library, just because of @@ -33,8 +40,8 @@ the new. When will it be ready? Hopefully around February 2005. +---------- later history and status: -LICENSE: This library is free software licensed under GNU General -Public License (GPL), see LICENSE. - -Author (c) Aarne Ranta 2005. +13/1/2006 All of English, most of Scandinavian/Swedish, and TestGer +have now been implemented. Most abstract/ modules have been documented +using gfdoc. \ No newline at end of file diff --git a/lib/resource-1.0/abstract/Lex.gf b/lib/resource-1.0/abstract/Lex.gf index e0cbbd4c2..5f926dc60 100644 --- a/lib/resource-1.0/abstract/Lex.gf +++ b/lib/resource-1.0/abstract/Lex.gf @@ -37,7 +37,7 @@ abstract Lex = Cat ** { always_AdV : AdV ; - one_Numeral, forty_Numeral : Numeral ; + forty_Numeral : Numeral ; in_Prep, of_Prep : Prep ; diff --git a/lib/resource-1.0/english/LexEng.gf b/lib/resource-1.0/english/LexEng.gf index 2c826c858..544f44fae 100644 --- a/lib/resource-1.0/english/LexEng.gf +++ b/lib/resource-1.0/english/LexEng.gf @@ -38,7 +38,6 @@ concrete LexEng of Lex = CatEng ** open ResEng, Prelude in { whichSg_IDet = {s = "which" ; n = Sg} ; whichPl_IDet = {s = "which" ; n = Pl} ; - one_Numeral = {s = table {NCard => "one" ; NOrd => "first"} ; n = Sg} ; forty_Numeral = {s = table {NCard => "forty" ; NOrd => "fortieth"} ; n = Pl} ; in_Prep = {s = "in"} ; diff --git a/lib/resource-1.0/english/VerbEng.gf b/lib/resource-1.0/english/VerbEng.gf index 8083fb3c1..096bd0f43 100644 --- a/lib/resource-1.0/english/VerbEng.gf +++ b/lib/resource-1.0/english/VerbEng.gf @@ -19,6 +19,8 @@ concrete VerbEng of Verb = CatEng ** open ResEng in { UseComp comp = insertObj comp.s (predAux auxBe) ; AdvVP vp adv = insertObj (\\_ => adv.s) vp ; + +--- This rule destroys parsing... ---- AdVVP adv vp = insertAdV adv.s vp ; ReflV2 v = insertObj (\\a => v.c2 ++ reflPron ! a) (predV v) ; diff --git a/lib/resource-1.0/swedish/LexSwe.gf b/lib/resource-1.0/swedish/LexSwe.gf index e0f77f7c0..0de73ab6b 100644 --- a/lib/resource-1.0/swedish/LexSwe.gf +++ b/lib/resource-1.0/swedish/LexSwe.gf @@ -33,8 +33,8 @@ concrete LexSwe of Lex = CatSwe ** open ResSwe, Prelude in { only_Predet = {s = \\_ => "bara"} ; all_Predet = {s = gennumForms "all" "allt" "alla"} ; - this_Quant = {s = genderForms "denna" "detta" ; n = Sg ; det = DDef Indef} ; - these_Quant = {s = \\_ => "dessa" ; n = Pl ; det = DDef Indef} ; + this_Quant = {s = \\_ => genderForms "denna" "detta" ; n = Sg ; det = DDef Indef} ; + these_Quant = {s = \\_,_ => "dessa" ; n = Pl ; det = DDef Indef} ; i_Pron = mkNP "jag" "mig" "min" "mitt" "mina" SgUtr P1 ; he_Pron = mkNP "han" "honom" "hans" "hans" "hans" SgUtr P3 ; @@ -50,15 +50,6 @@ concrete LexSwe of Lex = CatSwe ** open ResSwe, Prelude in { whichSg_IDet = {s = genderForms "vilken" "vilket" ; n = Sg ; det = DDef Indef} ; whichPl_IDet = {s = \\_ => "vilka" ; n = Pl ; det = DDef Indef} ; - one_Numeral = { - s = table { - NCard Utr => "en" ; - NCard Neutr => "ett" ; - NOrd SupStrong => "först" ; - NOrd SupWeak => "första" - } ; - n = Sg - } ; forty_Numeral = { s = table { NCard _ => "fyrtio" ;