mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
fixes before beta3 release
This commit is contained in:
@@ -7,6 +7,19 @@ Grammatical Framework Download and Installation
|
|||||||
|
|
||||||
==Latest release==
|
==Latest release==
|
||||||
|
|
||||||
|
- GF 3.0 beta3 MacOS X binary package (Intel Mac with MacOS X Leopard)
|
||||||
|
[GF-3.0-beta2-i386-apple-leopard.tgz]
|
||||||
|
|
||||||
|
- [GF 3.0 beta2 Windows package gf-3.0-beta2.zip] (includes libraries)
|
||||||
|
|
||||||
|
- [GF 3.0 beta2 sources GF-3.0-beta2.tgz] (both system and library)
|
||||||
|
|
||||||
|
- [GF libraries v 1.4 gf-lib-1.4.tgz] (compiled resource grammar libraries)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
==Previous release==
|
||||||
|
|
||||||
- [GF 3.0 beta2 Linux binary package GF-3.0-beta2-i686-pc-linux-gnu.tgz] (Intel, Ubuntu)
|
- [GF 3.0 beta2 Linux binary package GF-3.0-beta2-i686-pc-linux-gnu.tgz] (Intel, Ubuntu)
|
||||||
|
|
||||||
- GF 3.0 beta2 MacOS X binary package:
|
- GF 3.0 beta2 MacOS X binary package:
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ oper
|
|||||||
|
|
||||||
that_Subj = M.mkSubj "that" ;
|
that_Subj = M.mkSubj "that" ;
|
||||||
|
|
||||||
comma_and_Conj = M.mkConj [] ", and" plural ;
|
comma_and_Conj = mkConj [] ", and" plural ;
|
||||||
comma_or_Conj = M.mkConj [] ", or" singular ;
|
comma_or_Conj = mkConj [] ", or" singular ;
|
||||||
slash_Conj = M.mkConj [] "/" singular ;
|
slash_Conj = mkConj [] "/" singular ;
|
||||||
|
|
||||||
whose_IDet = M.mkIDet "whose" singular ;
|
whose_IDet = M.mkIDet "whose" singular ;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:minimal:present
|
--# -path=.:present
|
||||||
|
|
||||||
concrete BronzeageEng of Bronzeage = SwadeshEng ** BronzeageI with
|
concrete BronzeageEng of Bronzeage = SwadeshEng ** BronzeageI with
|
||||||
(Syntax = SyntaxEng) ** open ResEng in {
|
(Syntax = SyntaxEng) ** open ResEng in {
|
||||||
|
|||||||
16
examples/tutorial/resource-foods/Foods.gf
Normal file
16
examples/tutorial/resource-foods/Foods.gf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
abstract Foods = {
|
||||||
|
|
||||||
|
flags startcat=Phrase ;
|
||||||
|
|
||||||
|
cat
|
||||||
|
Phrase ; Item ; Kind ; Quality ;
|
||||||
|
|
||||||
|
fun
|
||||||
|
Is,Isnt : Item -> Quality -> Phrase ;
|
||||||
|
This, That, These, Those : Kind -> Item ;
|
||||||
|
QKind : Quality -> Kind -> Kind ;
|
||||||
|
Wine, Cheese, Fish, Pizza : Kind ;
|
||||||
|
Very : Quality -> Quality ;
|
||||||
|
Fresh, Warm, Italian, Expensive, Delicious, Boring : Quality ;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:../foods:present:prelude
|
--# -path=.:present
|
||||||
|
|
||||||
incomplete concrete FoodsI of Foods = open Syntax, LexFoods in {
|
incomplete concrete FoodsI of Foods = open Syntax, LexFoods in {
|
||||||
lincat
|
lincat
|
||||||
@@ -8,6 +8,7 @@ incomplete concrete FoodsI of Foods = open Syntax, LexFoods in {
|
|||||||
Quality = AP ;
|
Quality = AP ;
|
||||||
lin
|
lin
|
||||||
Is item quality = mkUtt (mkCl item quality) ;
|
Is item quality = mkUtt (mkCl item quality) ;
|
||||||
|
Isnt item quality = mkUtt (mkS negativePol (mkCl item quality)) ;
|
||||||
This kind = mkNP this_Quant kind ;
|
This kind = mkNP this_Quant kind ;
|
||||||
That kind = mkNP that_Quant kind ;
|
That kind = mkNP that_Quant kind ;
|
||||||
These kind = mkNP this_Quant plNum kind ;
|
These kind = mkNP this_Quant plNum kind ;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:../foods:present
|
--# -path=.:present
|
||||||
|
|
||||||
concrete FoodsSwe of Foods = FoodsI with
|
concrete FoodsSwe of Foods = FoodsI with
|
||||||
(Syntax = SyntaxSwe),
|
(Syntax = SyntaxSwe),
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
resource MakeStructuralEng = open CatEng, ParadigmsEng, ResEng, MorphoEng, Prelude in {
|
resource MakeStructuralEng = open CatEng, ParadigmsEng, ResEng, MorphoEng, Prelude in {
|
||||||
|
|
||||||
oper
|
oper
|
||||||
mkConj : Str -> Str -> Number -> Conj = \x,y,n ->
|
-- mkConj : Str -> Str -> Number -> Conj = \x,y,n ->
|
||||||
{s1 = x ; s2 = y ; n = n ; lock_Conj = <>} ;
|
-- {s1 = x ; s2 = y ; n = n ; lock_Conj = <>} ;
|
||||||
mkSubj : Str -> Subj = \x ->
|
mkSubj : Str -> Subj = \x ->
|
||||||
{s = x ; lock_Subj = <>} ;
|
{s = x ; lock_Subj = <>} ;
|
||||||
mkNP : Str -> Number -> NP = \s,n ->
|
mkNP : Str -> Number -> NP = \s,n ->
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
concrete StructuralEng of Structural = CatEng **
|
concrete StructuralEng of Structural = CatEng **
|
||||||
open MorphoEng, ResEng, ParadigmsEng, (C = ConstructX), Prelude in {
|
open MorphoEng, ResEng, ParadigmsEng, MakeStructuralEng,
|
||||||
|
(C = ConstructX), Prelude in {
|
||||||
|
|
||||||
flags optimize=all ;
|
flags optimize=all ;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
--# -path=.:../abstract:../romance:../common:prelude
|
--# -path=.:../abstract:../romance:../common:prelude
|
||||||
|
|
||||||
concrete StructuralFre of Structural = CatFre **
|
concrete StructuralFre of Structural = CatFre **
|
||||||
open PhonoFre, MorphoFre, ParadigmsFre, IrregFre, (X = ConstructX), Prelude in {
|
open PhonoFre, MorphoFre, ParadigmsFre, IrregFre, (X = ConstructX),
|
||||||
|
MakeStructuralFre,
|
||||||
|
Prelude in {
|
||||||
|
|
||||||
flags optimize=all ; coding=utf8 ;
|
flags optimize=all ; coding=utf8 ;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
concrete StructuralSwe of Structural = CatSwe **
|
concrete StructuralSwe of Structural = CatSwe **
|
||||||
open MorphoSwe, ParadigmsSwe, (X = ConstructX), Prelude in {
|
open MorphoSwe, ParadigmsSwe, MakeStructuralSwe,
|
||||||
|
(X = ConstructX), Prelude in {
|
||||||
|
|
||||||
flags optimize=all ;
|
flags optimize=all ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user