removed "one" from Lex; updated README

This commit is contained in:
aarne
2006-01-13 22:48:37 +00:00
parent 1a262ce1f8
commit f48c35dbe2
5 changed files with 17 additions and 18 deletions

View File

@@ -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.

View File

@@ -37,7 +37,7 @@ abstract Lex = Cat ** {
always_AdV : AdV ;
one_Numeral, forty_Numeral : Numeral ;
forty_Numeral : Numeral ;
in_Prep, of_Prep : Prep ;

View File

@@ -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"} ;

View File

@@ -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) ;

View File

@@ -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" ;