diff --git a/doc/gf-history.html b/doc/gf-history.html index c75f2a080..43490850d 100644 --- a/doc/gf-history.html +++ b/doc/gf-history.html @@ -14,7 +14,12 @@ Changes in functionality since May 17, 2005, release of GF Version 2.2
-21/12 (AR) Overloading rules for GF version 2.7: +
-21/12 (BB) VoiceXML 2.0 dialog systems can now be generated from GF grammars.
+21/12 (BB)
+VoiceXML 2.0 dialog systems can now be generated from GF grammars.
Use pg -printer=vxml.
-21/12 (BB) JavaScript code for linearization and type annotation can now be
+21/12 (BB)
+JavaScript code for linearization and type annotation can now be
generated from a multilingual GF grammar. Use pm -printer=js.
-5/12 (BB) A new tool for generating C linearization libraries
+5/12 (BB)
+A new tool for generating C linearization libraries
from a GFCC file. make gfcc2c in src
compiles the tool. The generated
code includes header files in lib/c and should be linked
@@ -73,11 +81,12 @@ of lock-fielded categories are used.
-17/11 (AR) Operation overloading: an oper can have many types,
+17/11 (AR)
+Operation overloading: an oper can have many types,
from which one is picked at compile time. The types must have different
argument lists. Exact match with the arguments given to the oper
is required. An example is given in
-Overload.gf.
+Constructors.gf.
The purpose of overloading is to make libraries easier to use, since
only one name for each grammatical operation is needed: predication, modification,
coordination, etc. The concrete syntax is, at this experimental level, not
diff --git a/examples/big/BigEnglish.gf b/examples/big/BigEnglish.gf
index 0998daea6..f7cfe9cf6 100644
--- a/examples/big/BigEnglish.gf
+++ b/examples/big/BigEnglish.gf
@@ -1,6 +1,8 @@
--# -path=.:alltenses:prelude
concrete BigEnglish of BigEnglishAbs =
- English,
+ GrammarEng,
+--- IrregEng,
+ ExtraEng,
BigLexEng
** {} ;
diff --git a/examples/big/BigEnglishAbs.gf b/examples/big/BigEnglishAbs.gf
index 719cee2f4..28ea2759c 100644
--- a/examples/big/BigEnglishAbs.gf
+++ b/examples/big/BigEnglishAbs.gf
@@ -1,6 +1,8 @@
--# -path=.:alltenses:prelude
abstract BigEnglishAbs =
- EnglishAbs,
+ Grammar,
+--- IrregEngAbs,
+ ExtraEngAbs,
BigLexEngAbs
** {} ;
diff --git a/examples/big/BigLexEng.gf b/examples/big/BigLexEng.gf
index 8f2e2ea25..2343171a6 100644
--- a/examples/big/BigLexEng.gf
+++ b/examples/big/BigLexEng.gf
@@ -175,7 +175,7 @@ lin aloud_Adv = proAdv "aloud" ;
lin alphabet_N = regN "alphabet" ;
lin alphabetic_A = longA "alphabetic" ;
lin alphanumeric_A = longA "alphanumeric" ;
-lin already_Adv = mkAdv "already" ;
+--lin already_Adv = mkAdv "already" ;
lin also_Adv = mkAdv "also" ;
lin altar_N = regN "altar" ;
lin alter_V = (regV "alter") ;
@@ -208,7 +208,7 @@ lin analogous_A2to = longA2 "analogous" "to" ;
lin analogue_N = regN "analogue" ;
lin analogy_N2with = prepN2 "analogy" "with" ;
lin analyse_V2 = prepV2 (regV "analyse") "" ;
-lin analysis_N = irregN "analysis" "analysis" ;
+lin analysis_N = irregN "analysis" "analyses" ;
lin analytic_A = longA "analytic" ;
lin anaphor_N = regN "anaphor" ;
lin anaphora_N = regN "anaphora" ;
@@ -271,7 +271,7 @@ lin appear_V2 = prepV2 (regV "appear") "" ;
lin appear_V = (regV "appear") ;
lin appear_V2 = prepV2 (regV "appear") "" ;
lin append_V3to = dirprepV3 (regV "append") "to" ;
-lin appendix_N = irregN "appendix" "appendix" ;
+lin appendix_N = irregN "appendix" "appendices" ;
lin apple_N = regN "apple" ;
lin applicable_A = longA "applicable" ;
lin applicable_A2to = longA2 "applicable" "to" ;
@@ -423,7 +423,7 @@ lin authorize_V2 = prepV2 (regV "authorize") "" ;
lin automate_V2 = prepV2 (regV "automate") "" ;
lin automatic_A = longA "automatic" ;
lin automatically_Adv = mkAdv "automatically" ;
-lin automaton_N = irregN "automaton" "automaton" ;
+lin automaton_N = irregN "automaton" "automata" ;
lin autonomous_A = longA "autonomous" ;
lin autonomy_N = regN "autonomy" ;
lin autumn_N = regN "autumn" ;
@@ -447,7 +447,7 @@ lin axe_N = regN "axe" ;
lin axiom_N = regN "axiom" ;
lin axiomatic_A = longA "axiomatic" ;
lin axiomatize_V2 = prepV2 (regV "axiomatize") "" ;
-lin axis_N = irregN "axis" "axis" ;
+lin axis_N = irregN "axis" "axes" ;
lin baby_N = regN "baby" ;
lin back_N = regN "back" ;
lin background_N = regN "background" ;
@@ -456,7 +456,7 @@ lin backtrack_V = (regV "backtrack") ;
lin backward_A = longA "backward" ;
lin backwards_Adv = proAdv "backwards" ;
lin bacterial_A = longA "bacterial" ;
-lin bacterium_N = irregN "bacterium" "bacterium" ;
+lin bacterium_N = irregN "bacterium" "bacteria" ;
lin bad_A = longA "bad" ;
lin bag_N = regN "bag" ;
lin bake_V2 = prepV2 (regV "bake") "" ;
@@ -485,8 +485,8 @@ lin basic_A = longA "basic" ;
lin basically_Adv = mkAdv "basically" ;
lin basin_N = regN "basin" ;
lin basis_N = irregN "basis" "basis" ;
-lin basis_N2for = irregN2 "basis" "basis" "for" ;
-lin basis_N2of = irregN2 "basis" "basis" "of" ;
+lin basis_N2for = irregN2 "basis" "bases" "for" ;
+lin basis_N2of = irregN2 "basis" "bases" "of" ;
lin basket_N = regN "basket" ;
lin bat_N = regN "bat" ;
lin batch_N = regN "batch" ;
@@ -2192,9 +2192,9 @@ lin food_N = massN "food" ;
lin fool_N = regN "fool" ;
lin fool_V2 = prepV2 (regV "fool") "" ;
lin foolish_A = longA "foolish" ;
-lin foot_N = irregN "foot" "foot" ;
+lin foot_N = irregN "foot" "feet" ;
lin football_N = regN "football" ;
-lin for_Prep = mkPrep "for" ;
+-- lin for_Prep = mkPrep "for" ;
lin foray_N = regN "foray" ;
lin forbid_V2 = prepV2 forbid_V "" ;
lin force_N = regN "force" ;
@@ -2281,7 +2281,7 @@ lin fund_N = regN "fund" ;
lin fundamental_A = longA "fundamental" ;
lin funeral_N = regN "funeral" ;
lin funereal_A = longA "funereal" ;
-lin fungus_N = irregN "fungus" "fungus" ;
+lin fungus_N = irregN "fungus" "fungi" ;
lin funny_A = regA "funny" ;
lin fur_N = regN "fur" ;
lin furnish_V3with =dirprepV3 (regV "furnish") "with" ;
@@ -2330,7 +2330,7 @@ lin generous_A2to = longA2 "generous" "to" ;
lin genitive_A = longA "genitive" ;
lin genius_N = regN "genius" ;
lin gentle_A = regA "gentle" ;
-lin gentleman_N = irregN "gentleman" "gentleman" ;
+lin gentleman_N = irregN "gentleman" "gentlemen" ;
lin gently_Adv = mkAdv "gently" ;
lin genuine_A = longA "genuine" ;
lin genus_N = regN "genus" ;
@@ -2375,7 +2375,7 @@ lin goddess_N = regN "goddess" ;
lin gold_N = regN "gold" ;
lin golden_A = regA "golden" ;
lin good_A = longA "good" ;
-lin goose_N = irregN "goose" "goose" ;
+lin goose_N = irregN "goose" "geese" ;
lin gore_N = regN "gore" ;
lin gorilla_N = regN "gorilla" ;
lin gory_A = regA "gory" ;
@@ -2464,7 +2464,7 @@ lin hail_N = regN "hail" ;
lin hair_N = massN "hair" ;
lin half_Adv = mkAdv "half" ;
lin half_A = longA "half" ;
-lin half_N = irregN "half" "half" ;
+lin half_N = irregN "half" "halves" ;
lin hall_N = regN "hall" ;
lin halt_N = regN "halt" ;
lin halt_V2 = prepV2 (regV "halt") "" ;
@@ -2627,7 +2627,7 @@ lin hungry_A = regA "hungry" ;
lin hungry_A2for = regA2 "hungry" "for" ;
lin hunt_N = regN "hunt" ;
lin hunt_V2 = prepV2 (regV "hunt") "" ;
-lin huntsman_N = irregN "huntsman" "huntsman" ;
+lin huntsman_N = irregN "huntsman" "huntsmen" ;
lin hurry_V = (regV "hurry") ;
lin hurry_N = regN "hurry" ;
lin hurt_V2 = prepV2 hurt_V "" ;
@@ -2637,7 +2637,7 @@ lin hut_N = regN "hut" ;
lin hybrid_A = longA "hybrid" ;
lin hydrogen_N = regN "hydrogen" ;
lin hygiene_N = regN "hygiene" ;
-lin hypothesis_N = irregN "hypothesis" "hypothesis" ;
+lin hypothesis_N = irregN "hypothesis" "hypotheses" ;
lin hypothesize_V2 = prepV2 (regV "hypothesize") "" ;
lin hypothetical_A = longA "hypothetical" ;
lin ice_N = massN "ice" ;
@@ -2764,7 +2764,7 @@ lin indefinite_A = regA "indefinite" ;
lin independence_N = massN "independence" ;
lin independent_A = longA "independent" ;
lin indeterminacy_N = regN "indeterminacy" ;
-lin index_N = irregN "index" "index" ;
+lin index_N = irregN "index" "indices" ;
lin index_V2 = prepV2 (regV "index") "" ;
lin india_PN = regPN "india" ;
lin indian_A = regA "indian" ;
@@ -3029,7 +3029,7 @@ lin kiss_V = (regV "kiss") ;
lin kitchen_N = regN "kitchen" ;
lin knee_N = regN "knee" ;
lin kneel_V = useV IrregEng.kneel_V ;
-lin knife_N = irregN "knife" "knife" ;
+lin knife_N = irregN "knife" "knives" ;
lin knob_N = regN "knob" ;
lin knock_N = regN "knock" ;
lin knock_V2 = prepV2 (regV "knock") "" ;
@@ -3082,7 +3082,7 @@ lin laze_V = (regV "laze") ;
lin lazy_A = regA "lazy" ;
lin lead_N = regN "lead" ;
lin lead_V2 = prepV2 lead_V "" ;
-lin leaf_N = irregN "leaf" "leaf" ;
+lin leaf_N = irregN "leaf" "leaves" ;
lin league_N = regN "league" ;
lin lean_V2on = prepV2 (regV "lean") "on" ;
lin leap_V = (regV "leap") ;
@@ -3177,7 +3177,7 @@ lin live_A = regA "live" ;
lin live_V2 = prepV2 (regV "live") "" ;
lin load_N = regN "load" ;
lin load_V2 = prepV2 (regV "load") "" ;
-lin loaf_N = irregN "loaf" "loaf" ;
+lin loaf_N = irregN "loaf" "loaves" ;
lin loan_V3to =dirprepV3 (regV "loan") "to" ;
lin lobster_N = regN "lobster" ;
lin local_A = longA "local" ;
@@ -3249,7 +3249,7 @@ lin male_A = longA "male" ;
lin malign_V2 = prepV2 (regV "malign") "" ;
lin malignant_A = longA "malignant" ;
lin mammal_N = regN "mammal" ;
-lin man_N = irregN "man" "man" ;
+lin man_N = irregN "man" "men" ;
lin man_V2 = prepV2 (regV "man") "" ;
lin manage_V2 = prepV2 (regV "manage") "" ;
lin manage_VV = mkVV (regV "manage") ;
@@ -3296,7 +3296,7 @@ lin material_N = regN "material" ;
lin mathematical_A = longA "mathematical" ;
lin mathematician_N = regN "mathematician" ;
lin mathematics_N = massN "mathematics" ;
-lin matrix_N = irregN "matrix" "matrix" ;
+lin matrix_N = irregN "matrix" "matrices" ;
lin matter_N = regN "matter" ;
lin matter_V = (regV "matter") ;
lin mature_A = regA "mature" ;
@@ -3528,7 +3528,7 @@ lin nigeria_PN = regPN "nigeria" ;
lin night_N = regN "night" ;
lin nip_V2 = prepV2 (regV "nip") "" ;
lin noble_A = regA "noble" ;
-lin nobleman_N = irregN "nobleman" "nobleman" ;
+lin nobleman_N = irregN "nobleman" "noblemen" ;
lin nod_V2 = prepV2 (regV "nod") "" ;
lin nod_V = (regV "nod") ;
lin node_N = regN "node" ;
diff --git a/examples/big/BigLexEngAbs.gf b/examples/big/BigLexEngAbs.gf
index 83819bc6b..dae14482b 100644
--- a/examples/big/BigLexEngAbs.gf
+++ b/examples/big/BigLexEngAbs.gf
@@ -175,7 +175,7 @@ fun aloud_Adv : Adv ;
fun alphabet_N : N ;
fun alphabetic_A : A ;
fun alphanumeric_A : A ;
-fun already_Adv : Adv ;
+--fun already_Adv : Adv ;
fun also_Adv : Adv ;
fun altar_N : N ;
fun alter_V : V ;
@@ -2194,7 +2194,7 @@ fun fool_V2 : V2 ;
fun foolish_A : A ;
fun foot_N : N ;
fun football_N : N ;
-fun for_Prep : Prep ;
+-- fun for_Prep : Prep ;
fun foray_N : N ;
fun forbid_V2 : V2 ;
fun force_N : N ;
diff --git a/examples/big/BigSwedish.gf b/examples/big/BigSwedish.gf
index 15d6d3b95..552d5c4f7 100644
--- a/examples/big/BigSwedish.gf
+++ b/examples/big/BigSwedish.gf
@@ -1,6 +1,7 @@
--# -path=.:alltenses:prelude
concrete BigSwedish of BigSwedishAbs =
- Swedish,
+ GrammarSwe,
+ ExtraSwe,
BigLexSwe
** {} ;
diff --git a/examples/big/BigSwedishAbs.gf b/examples/big/BigSwedishAbs.gf
index 32f0a3def..9c4ca20c5 100644
--- a/examples/big/BigSwedishAbs.gf
+++ b/examples/big/BigSwedishAbs.gf
@@ -1,4 +1,5 @@
abstract BigSwedishAbs =
- SwedishAbs,
+ Grammar,
+ ExtraSweAbs,
BigLexSweAbs
** {} ;
diff --git a/examples/big/README b/examples/big/README
new file mode 100644
index 000000000..20a064be9
--- /dev/null
+++ b/examples/big/README
@@ -0,0 +1,9 @@
+BigEngLex.gf adapted from a word list by Alan Black & al.
+http://www.cs.cmu.edu/~awb/pub/map/MAP3.1.tar.gz
+Not to be used for military purposes.
+
+Translation to GF has introduced some errors, e.g. in
+inflection, which have not yet been corrected.
+
+AR 2006.
+
diff --git a/examples/index.html b/examples/index.html
index 13a0b8af2..693727bcb 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -7,24 +7,12 @@
Here are some examples of GF grammars.
animal
@@ -34,6 +22,11 @@ example-based grammar writing using the
resource grammar library.
+big
+grammars built from the resource by extending the
+lexicon with several thousands of words. Still very buggy.
+
bronzeage
defines a set of grammars using the
Swadesh list
@@ -71,7 +64,6 @@ is an illustration of the
in particular of multimodal grammars that combine
speech with mouse clicks.
GF Quick start
@@ -83,6 +75,6 @@ speech with mouse clicks.
GF resource grammar library.
GF Grammar Examples
Author: Aarne Ranta <aarne (at) cs.chalmers.se>
-Last update: Fri Mar 10 11:05:35 2006
+Last update: Fri Dec 22 15:07:56 2006
-
-
-
-
-
-
-
This directory
More examples