summaryrefslogtreecommitdiff
path: root/doc/gf-quickstart.html
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-09-03 08:42:10 +0000
committeraarne <aarne@cs.chalmers.se>2007-09-03 08:42:10 +0000
commitf46317e01023beb0e24459cfc0cd1c8379ede086 (patch)
tree1923d45a50069d4a6cdc739a9663635006aa1d0d /doc/gf-quickstart.html
parentc99fdc5f79b722209b7064a29224251a1e61f0d9 (diff)
updated quick start
Diffstat (limited to 'doc/gf-quickstart.html')
-rw-r--r--doc/gf-quickstart.html29
1 files changed, 16 insertions, 13 deletions
diff --git a/doc/gf-quickstart.html b/doc/gf-quickstart.html
index 40e860f45..dd430e38d 100644
--- a/doc/gf-quickstart.html
+++ b/doc/gf-quickstart.html
@@ -9,7 +9,7 @@
<p>
Aarne Ranta
<p>
-20 May, 2005
+3 September, 2007
<p>
@@ -19,7 +19,8 @@ Aarne Ranta
This Quick Start shows two examples of how GF can be used.
We assume that you have downloaded and installed GF, so that
-the command <tt>gf</tt> works for you.
+the command <tt>gf</tt> works for you. See download and install
+instructions <a href="../tmp-download.html">here</a>.
@@ -29,34 +30,36 @@ When you have downloaded and installed GF:
<ol>
<li> Copy the files
-<a href="tutorial/old/Paleolithic.gf"><tt>Paleolithic.gf</tt></a>,
-<a href="tutorial/old/PaleolithicEng.gf"><tt>PaleolithicEng.gf</tt></a>, and
-<a href="tutorial/old/PaleolithicIta.gf"><tt>PaleolithicIta.gf</tt></a>.
+<a href="../examples/tutorial/food/Food.gf"><tt>Food.gf</tt></a>,
+<a href="../examples/tutorial/food/Food.gf"><tt>FoodEng.gf</tt></a>, and
+<a href="../examples/tutorial/food/Food.gf"><tt>FoodIta.gf</tt></a>.
+Or go to <tt>GF/examples/tutorial/food/</tt>, if you have downloaded the
+GF sources.
<li> Start GF with the command
<pre>
- gf PaleolithicIta.gf PaleolithicEng.gf
+ gf FoodIta.gf FoodEng.gf
</pre>
<li> <b>Translation</b>. Try your first translation by giving the GF command
<pre>
- t PaleolithicEng PaleolithicIta "the boy eats the snake"
+ parse "this cheese is very very Italian" | tree_bank
</pre>
<li> <b>Generation</b>. Random-generate sentences in two languages:
<pre>
- gr | l -multi
+ generate_random | l -multi
</pre>
-<li> <b>Grammar development</b>. Add words to the <tt>Paleolithic</tt>
+<li> <b>Grammar development</b>. Add words to the <tt>Food</tt>
grammars and try the above commands again. For instance, add the following lines:
<pre>
- Black : A ; -- in Paleolithic.gf
- Black = {s = "black"} ; -- in PaleolithicEng.gf
- Black = {s = "nero"} ; -- in PaleolithicIta.gf
+ Bread : Kind ; -- in Food.gf
+ Black = {s = "bread"} ; -- in FoodEng.gf
+ Black = {s = "pane"} ; -- in FoodIta.gf
</pre>
and start GF again with the same command. Now you can even translate
-<i>the boy eats the black snake</i>.
+<i>this bread is very Italian</i>.
</ol>
To lear more on GF commands and
grammar development, go to the