mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
removed "one" from Lex; updated README
This commit is contained in:
@@ -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
|
-- file GF/lib/resource-1.0/README
|
||||||
-- created Thu Dec 1 22:21:21 CET 2005
|
-- created Thu Dec 1 22:21:21 CET 2005
|
||||||
-- by A. Ranta, aarne@cs.chalmers.se
|
-- by A. Ranta, aarne@cs.chalmers.se
|
||||||
@@ -20,7 +25,9 @@ The main changes from 0.9 to 1.0 are
|
|||||||
goal.
|
goal.
|
||||||
|
|
||||||
3. Some constructions have been dropped out or modified. This concerns
|
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
|
4. Judging from the English implementation, there is a promise to get
|
||||||
a lighter and more efficient resource library, just because of
|
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.
|
When will it be ready? Hopefully around February 2005.
|
||||||
|
|
||||||
|
---------- later history and status:
|
||||||
|
|
||||||
LICENSE: This library is free software licensed under GNU General
|
13/1/2006 All of English, most of Scandinavian/Swedish, and TestGer
|
||||||
Public License (GPL), see LICENSE.
|
have now been implemented. Most abstract/ modules have been documented
|
||||||
|
using gfdoc.
|
||||||
Author (c) Aarne Ranta 2005.
|
|
||||||
@@ -37,7 +37,7 @@ abstract Lex = Cat ** {
|
|||||||
|
|
||||||
always_AdV : AdV ;
|
always_AdV : AdV ;
|
||||||
|
|
||||||
one_Numeral, forty_Numeral : Numeral ;
|
forty_Numeral : Numeral ;
|
||||||
|
|
||||||
in_Prep, of_Prep : Prep ;
|
in_Prep, of_Prep : Prep ;
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ concrete LexEng of Lex = CatEng ** open ResEng, Prelude in {
|
|||||||
whichSg_IDet = {s = "which" ; n = Sg} ;
|
whichSg_IDet = {s = "which" ; n = Sg} ;
|
||||||
whichPl_IDet = {s = "which" ; n = Pl} ;
|
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} ;
|
forty_Numeral = {s = table {NCard => "forty" ; NOrd => "fortieth"} ; n = Pl} ;
|
||||||
|
|
||||||
in_Prep = {s = "in"} ;
|
in_Prep = {s = "in"} ;
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ concrete VerbEng of Verb = CatEng ** open ResEng in {
|
|||||||
UseComp comp = insertObj comp.s (predAux auxBe) ;
|
UseComp comp = insertObj comp.s (predAux auxBe) ;
|
||||||
|
|
||||||
AdvVP vp adv = insertObj (\\_ => adv.s) vp ;
|
AdvVP vp adv = insertObj (\\_ => adv.s) vp ;
|
||||||
|
|
||||||
|
--- This rule destroys parsing...
|
||||||
---- AdVVP adv vp = insertAdV adv.s vp ;
|
---- AdVVP adv vp = insertAdV adv.s vp ;
|
||||||
|
|
||||||
ReflV2 v = insertObj (\\a => v.c2 ++ reflPron ! a) (predV v) ;
|
ReflV2 v = insertObj (\\a => v.c2 ++ reflPron ! a) (predV v) ;
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ concrete LexSwe of Lex = CatSwe ** open ResSwe, Prelude in {
|
|||||||
|
|
||||||
only_Predet = {s = \\_ => "bara"} ;
|
only_Predet = {s = \\_ => "bara"} ;
|
||||||
all_Predet = {s = gennumForms "all" "allt" "alla"} ;
|
all_Predet = {s = gennumForms "all" "allt" "alla"} ;
|
||||||
this_Quant = {s = genderForms "denna" "detta" ; n = Sg ; det = DDef Indef} ;
|
this_Quant = {s = \\_ => genderForms "denna" "detta" ; n = Sg ; det = DDef Indef} ;
|
||||||
these_Quant = {s = \\_ => "dessa" ; n = Pl ; det = DDef Indef} ;
|
these_Quant = {s = \\_,_ => "dessa" ; n = Pl ; det = DDef Indef} ;
|
||||||
|
|
||||||
i_Pron = mkNP "jag" "mig" "min" "mitt" "mina" SgUtr P1 ;
|
i_Pron = mkNP "jag" "mig" "min" "mitt" "mina" SgUtr P1 ;
|
||||||
he_Pron = mkNP "han" "honom" "hans" "hans" "hans" SgUtr P3 ;
|
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} ;
|
whichSg_IDet = {s = genderForms "vilken" "vilket" ; n = Sg ; det = DDef Indef} ;
|
||||||
whichPl_IDet = {s = \\_ => "vilka" ; n = Pl ; 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 = {
|
forty_Numeral = {
|
||||||
s = table {
|
s = table {
|
||||||
NCard _ => "fyrtio" ;
|
NCard _ => "fyrtio" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user