mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-26 03:08:55 -06:00
directories of precompiled libraries under lib
This commit is contained in:
@@ -14,6 +14,12 @@ Changes in functionality since May 17, 2005, release of GF Version 2.2
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
25/2 (AR) The flag <tt>preproc</tt> of the <tt>i</tt> command (and thereby
|
||||||
|
to <tt>gf</tt> itself) causes GF to apply a preprocessor to each sourcefile
|
||||||
|
it reads.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
|
||||||
8/2 (AR) The command <tt>tb = tree_bank</tt> for creating and testing against
|
8/2 (AR) The command <tt>tb = tree_bank</tt> for creating and testing against
|
||||||
multilingual treebanks. Example uses:
|
multilingual treebanks. Example uses:
|
||||||
<pre>
|
<pre>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageEng of Bronzeage = CatEng, SwadeshEng ** BronzeageI with
|
concrete BronzeageEng of Bronzeage = CatEng, SwadeshEng ** BronzeageI with
|
||||||
(Lang = LangEng),
|
(Lang = LangEng),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageFin of Bronzeage = CatFin, SwadeshFin ** BronzeageI with
|
concrete BronzeageFin of Bronzeage = CatFin, SwadeshFin ** BronzeageI with
|
||||||
(Lang = LangFin),
|
(Lang = LangFin),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageFre of Bronzeage = CatFre, SwadeshFre ** BronzeageI with
|
concrete BronzeageFre of Bronzeage = CatFre, SwadeshFre ** BronzeageI with
|
||||||
(Lang = LangFre),
|
(Lang = LangFre),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageGer of Bronzeage = CatGer, SwadeshGer ** BronzeageI with
|
concrete BronzeageGer of Bronzeage = CatGer, SwadeshGer ** BronzeageI with
|
||||||
(Lang = LangGer),
|
(Lang = LangGer),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageIta of Bronzeage = CatIta, SwadeshIta ** BronzeageI with
|
concrete BronzeageIta of Bronzeage = CatIta, SwadeshIta ** BronzeageI with
|
||||||
(Lang = LangIta),
|
(Lang = LangIta),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageNor of Bronzeage = CatNor, SwadeshNor ** BronzeageI with
|
concrete BronzeageNor of Bronzeage = CatNor, SwadeshNor ** BronzeageI with
|
||||||
(Lang = LangNor),
|
(Lang = LangNor),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageSpa of Bronzeage = CatSpa, SwadeshSpa ** BronzeageI with
|
concrete BronzeageSpa of Bronzeage = CatSpa, SwadeshSpa ** BronzeageI with
|
||||||
(Lang = LangSpa),
|
(Lang = LangSpa),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:resource-1.0/present:prelude:compiled
|
--# -path=.:present:prelude
|
||||||
|
|
||||||
concrete BronzeageSwe of Bronzeage = CatSwe, SwadeshSwe ** BronzeageI with
|
concrete BronzeageSwe of Bronzeage = CatSwe, SwadeshSwe ** BronzeageI with
|
||||||
(Lang = LangSwe),
|
(Lang = LangSwe),
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ To build the run-time grammar:
|
|||||||
Before this, you have to have compiled the libraries:
|
Before this, you have to have compiled the libraries:
|
||||||
|
|
||||||
cd <whatever you need>GF/lib/resource-1.0
|
cd <whatever you need>GF/lib/resource-1.0
|
||||||
make langs
|
make present
|
||||||
make install
|
make install
|
||||||
|
|
||||||
To work with the grammar
|
To work with the grammar
|
||||||
@@ -25,6 +25,10 @@ Once in GF, you can do translation,
|
|||||||
|
|
||||||
p -mcfg -lang=BronzeageEng "Don't eat that thick snake!" | tb
|
p -mcfg -lang=BronzeageEng "Don't eat that thick snake!" | tb
|
||||||
|
|
||||||
|
spoken-language translation (requires ATK),
|
||||||
|
|
||||||
|
si -lang=BronzeageEng -tr | p -mcfg -lang=BronzeageEng | tb
|
||||||
|
|
||||||
random generation,
|
random generation,
|
||||||
|
|
||||||
gr | tb
|
gr | tb
|
||||||
|
|||||||
@@ -16,10 +16,12 @@ This works in eight languages.
|
|||||||
Notice that the compilation of the grammars uses precompiled
|
Notice that the compilation of the grammars uses precompiled
|
||||||
resources, located in
|
resources, located in
|
||||||
|
|
||||||
GF/lib/compiled
|
GF/lib/
|
||||||
|
|
||||||
To produce them, use 'make' and 'make install' in GF/lib/resource-1.0.
|
To produce them, use 'make' and 'make install' in GF/lib/resource-1.0.
|
||||||
|
You moreover have to set your GF_LIB_PATH to point to your GF/lib/.
|
||||||
AR 7/11/2005 -- 23/2/2006
|
|
||||||
|
|
||||||
|
AR 7/11/2005 -- 25/2/2006
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
concrete TramEng of Tram = TramI with
|
concrete TramEng of Tram = TramI with
|
||||||
(Multimodal = MultimodalEng),
|
(Multimodal = MultimodalEng),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
concrete TramFin of Tram = TramI with
|
concrete TramFin of Tram = TramI with
|
||||||
(Multimodal = MultimodalFin),
|
(Multimodal = MultimodalFin),
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
-- --# -path=.:resource-1.0/abstract:resource-1.0/french:resource-1.0/common:resource-1.0/multimodal:resource-1.0/romance:prelude:resource-1.0/mathematical
|
|
||||||
|
|
||||||
concrete TramFre of Tram = TramI with
|
concrete TramFre of Tram = TramI with
|
||||||
(Multimodal = MultimodalFre),
|
(Multimodal = MultimodalFre),
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
-- --# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/mathematical:resource-1.0/multimodal:resource-1.0/german:prelude
|
|
||||||
|
|
||||||
concrete TramGer of Tram = TramI with
|
concrete TramGer of Tram = TramI with
|
||||||
(Multimodal = MultimodalGer),
|
(Multimodal = MultimodalGer),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
concrete TramIta of Tram = TramI with
|
concrete TramIta of Tram = TramI with
|
||||||
(Multimodal = MultimodalIta),
|
(Multimodal = MultimodalIta),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
concrete TramNor of Tram = TramI with
|
concrete TramNor of Tram = TramI with
|
||||||
(Multimodal = MultimodalNor),
|
(Multimodal = MultimodalNor),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
concrete TramSpa of Tram = TramI with
|
concrete TramSpa of Tram = TramI with
|
||||||
(Multimodal = MultimodalSpa),
|
(Multimodal = MultimodalSpa),
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
--# -path=.:compiled:prelude
|
--# -path=.:present:multimodal:mathematical:prelude
|
||||||
|
|
||||||
-- --# -path=.:resource-1.0/abstract:resource-1.0/swedish:resource-1.0/common:resource-1.0/multimodal:resource-1.0/scandinavian:prelude:resource-1.0/mathematical
|
|
||||||
|
|
||||||
concrete TramSwe of Tram = TramI with
|
concrete TramSwe of Tram = TramI with
|
||||||
(Multimodal = MultimodalSwe),
|
(Multimodal = MultimodalSwe),
|
||||||
|
|||||||
Reference in New Issue
Block a user