mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 00:39:32 -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>
|
||||
|
||||
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
|
||||
multilingual treebanks. Example uses:
|
||||
<pre>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageEng of Bronzeage = CatEng, SwadeshEng ** BronzeageI with
|
||||
(Lang = LangEng),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageFin of Bronzeage = CatFin, SwadeshFin ** BronzeageI with
|
||||
(Lang = LangFin),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageFre of Bronzeage = CatFre, SwadeshFre ** BronzeageI with
|
||||
(Lang = LangFre),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageGer of Bronzeage = CatGer, SwadeshGer ** BronzeageI with
|
||||
(Lang = LangGer),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageIta of Bronzeage = CatIta, SwadeshIta ** BronzeageI with
|
||||
(Lang = LangIta),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageNor of Bronzeage = CatNor, SwadeshNor ** BronzeageI with
|
||||
(Lang = LangNor),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageSpa of Bronzeage = CatSpa, SwadeshSpa ** BronzeageI with
|
||||
(Lang = LangSpa),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:resource-1.0/present:prelude:compiled
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete BronzeageSwe of Bronzeage = CatSwe, SwadeshSwe ** BronzeageI with
|
||||
(Lang = LangSwe),
|
||||
|
||||
@@ -14,7 +14,7 @@ To build the run-time grammar:
|
||||
Before this, you have to have compiled the libraries:
|
||||
|
||||
cd <whatever you need>GF/lib/resource-1.0
|
||||
make langs
|
||||
make present
|
||||
make install
|
||||
|
||||
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
|
||||
|
||||
spoken-language translation (requires ATK),
|
||||
|
||||
si -lang=BronzeageEng -tr | p -mcfg -lang=BronzeageEng | tb
|
||||
|
||||
random generation,
|
||||
|
||||
gr | tb
|
||||
|
||||
@@ -240,4 +240,4 @@ abstract Swadesh = Cat ** {
|
||||
wash_V : V2 ;
|
||||
wipe_V : V2 ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -242,4 +242,4 @@ concrete SwadeshEng of Swadesh = CatEng
|
||||
wash_V = dirV2 (regV "wash") ;
|
||||
wipe_V = dirV2 (regV "wipe") ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,10 +16,12 @@ This works in eight languages.
|
||||
Notice that the compilation of the grammars uses precompiled
|
||||
resources, located in
|
||||
|
||||
GF/lib/compiled
|
||||
GF/lib/
|
||||
|
||||
To produce them, use 'make' and 'make install' in GF/lib/resource-1.0.
|
||||
|
||||
AR 7/11/2005 -- 23/2/2006
|
||||
You moreover have to set your GF_LIB_PATH to point to your GF/lib/.
|
||||
|
||||
|
||||
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
|
||||
(Multimodal = MultimodalEng),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:compiled:prelude
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramFin of Tram = TramI with
|
||||
(Multimodal = MultimodalFin),
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
--# -path=.:compiled: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
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramFre of Tram = TramI with
|
||||
(Multimodal = MultimodalFre),
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
--# -path=.:compiled:prelude
|
||||
-- --# -path=.:resource-1.0/abstract:resource-1.0/common:resource-1.0/mathematical:resource-1.0/multimodal:resource-1.0/german:prelude
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramGer of Tram = TramI with
|
||||
(Multimodal = MultimodalGer),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:compiled:prelude
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramIta of Tram = TramI with
|
||||
(Multimodal = MultimodalIta),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:compiled:prelude
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramNor of Tram = TramI with
|
||||
(Multimodal = MultimodalNor),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:compiled:prelude
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramSpa of Tram = TramI with
|
||||
(Multimodal = MultimodalSpa),
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
--# -path=.:compiled: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
|
||||
--# -path=.:present:multimodal:mathematical:prelude
|
||||
|
||||
concrete TramSwe of Tram = TramI with
|
||||
(Multimodal = MultimodalSwe),
|
||||
|
||||
Reference in New Issue
Block a user