summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2011-04-15 12:07:59 +0000
committeraarne <aarne@chalmers.se>2011-04-15 12:07:59 +0000
commit1eb0fcba11147582b6a1fdbb2db0aae3479718b6 (patch)
tree3b1529f370e4e9be45333bb5fd11abdcc5b45f85
parent99388d116d98ff00490cea2b1ad9de9f2a98a730 (diff)
added book in the documentation
-rw-r--r--doc/gf-quickstart.html16
-rw-r--r--gf-book/gf-book-cover.pngbin0 -> 56576 bytes
-rw-r--r--gf-book/index.html53
-rw-r--r--gf-book/index.txt28
-rw-r--r--index.html4
5 files changed, 84 insertions, 17 deletions
diff --git a/doc/gf-quickstart.html b/doc/gf-quickstart.html
index 45b1bd198..acbfc8947 100644
--- a/doc/gf-quickstart.html
+++ b/doc/gf-quickstart.html
@@ -26,6 +26,15 @@ We assume that you have downloaded and installed GF, so that
the command <tt>gf</tt> works for you. See download and install
instructions <a href="../download/index.html">here</a>.
+<h2>Want to try without downloading?</h2>
+
+<a href="../demos/phrasebook/">Using GF translation</a> with an existing grammar.
+
+<p>
+
+<a href="../demos/gfse/">Writing GF grammars</a> in the cloud, without installing GF.
+
+
<h2>Using GF for translation and generation</h2>
@@ -43,6 +52,7 @@ GF sources.
<pre>
$ gf FoodIta.gf FoodEng.gf
</pre>
+Alternatively, start GF with <tt>gf</tt> and give the GF command <tt>import FoodIta.gf FoodEng.gf</tt>.
<li> <b>Translation</b>. Try your first translation by giving the GF command
<pre>
@@ -81,8 +91,8 @@ Add words to the <tt>Food</tt>
grammars and try the above commands again. For instance, add the following lines:
<pre>
Bread : Kind ; -- in Food.gf
- Black = {s = "bread"} ; -- in FoodEng.gf
- Black = {s = "pane"} ; -- in FoodIta.gf
+ Bread = {s = "bread"} ; -- in FoodEng.gf
+ Bread = {s = "pane"} ; -- in FoodIta.gf
</pre>
and start GF again with the same command. Now you can even translate
<i>this bread is very Italian</i>.
@@ -118,7 +128,7 @@ You can use this in Haskell and Java programs, and also on web services, such as
The quickest way to provide a GF web service is to start the program <tt>pgh-http</tt>
<pre>
- $ pgh-http
+ $ pgf-http
Starting HTTP server, open http://localhost:41296/ in your web browser
Options {documentRoot = "/home/aarne/.cabal/share/gf-server-1.0/www", port = 41296}
diff --git a/gf-book/gf-book-cover.png b/gf-book/gf-book-cover.png
new file mode 100644
index 000000000..5c2653521
--- /dev/null
+++ b/gf-book/gf-book-cover.png
Binary files differ
diff --git a/gf-book/index.html b/gf-book/index.html
index 9c7a805fe..95e9afc25 100644
--- a/gf-book/index.html
+++ b/gf-book/index.html
@@ -1,27 +1,50 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
-<META NAME="generator" CONTENT="http://txt2tags.sf.net">
+<META NAME="generator" CONTENT="http://txt2tags.org">
<TITLE>Grammatical Framework: Programming with Multilingual Grammars</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
-<P ALIGN="center"><CENTER><H1>Grammatical Framework: Programming with Multilingual Grammars</H1>
-<FONT SIZE="4">
-<I>Aarne Ranta</I><BR>
-**Web page work in progress**
-</FONT></CENTER>
+<CENTER>
+<H1>Grammatical Framework: Programming with Multilingual Grammars</H1>
+<FONT SIZE="4"><I>Aarne Ranta</I></FONT><BR>
+</CENTER>
<P>
+<center><img width=200mm src="gf-book-cover.png"></center>
+</P>
+<P>
This is the web page of the book
</P>
+
<UL>
<LI>Aarne Ranta,
<I>Grammatical Framework: Programming with Multilingual Grammars</I>,
CSLI Publications,
Stanford,
- 2011 (to appear).
+ 2011,
+ ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth).
</UL>
+<H2>Publisher's information</H2>
+
+<P>
+Forthcoming at <A HREF="http://www-csli.stanford.edu/pubs/">http://www-csli.stanford.edu/pubs/</A>
+</P>
+<P>
+Direct order (demonstrably available 15 April 2011):
+</P>
+<P>
+ <A HREF="http://press.uchicago.edu/ucp/books/book/distributed/G/bo12469871.html">http://press.uchicago.edu/ucp/books/book/distributed/G/bo12469871.html</A>
+</P>
+<P>
+Amazon order (may be still not active):
+</P>
+<P>
+ <A HREF="http://www.amazon.com/Grammatical-Framework-Programming-Multilingual-Information/dp/1575866269/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1302811905&amp;sr=8-2">http://www.amazon.com/Grammatical-Framework-Programming-Multilingual-Information/dp/1575866269/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1302811905&amp;sr=8-2</A>
+</P>
+
<H2>Book description</H2>
+
<P>
Grammars of natural languages are complex systems, and their
computer implementation requires both programming skills and
@@ -57,11 +80,15 @@ interest for languages. At the same time, its novel and advanced
material makes it interesting for senior researchers in computer science,
linguistics, and related fields.
</P>
+
<H2>Publisher's information</H2>
+
<P>
Forthcoming at <A HREF="http://www-csli.stanford.edu/pubs/">http://www-csli.stanford.edu/pubs/</A>
</P>
+
<H2>How to cite</H2>
+
<PRE>
@Book{ranta-2011,
author = {Aarne Ranta},
@@ -69,19 +96,24 @@ Forthcoming at <A HREF="http://www-csli.stanford.edu/pubs/">http://www-csli.stan
Programming with Multilingual Grammars}},
publisher = {{CSLI Publications}},
year = {2011},
- note = "to appear"
+ address = "Stanford",
+ note = "ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth)"
}
</PRE>
-<P></P>
+
<H2>Table of Contents</H2>
+
<P>
<A HREF="toc-gf-book.txt">Preliminary Table of Contents</A>
</P>
+
<H2>Supporting material</H2>
+
<P>
Slides for teaching the book chapter by chapter are forthcoming.
The following should be useful before that.
</P>
+
<UL>
<LI><A HREF="../doc/tutorial/gf-tutorial.html">GF Tutorial</A>: programmer-oriented,
covering parts of chapters 2-8
@@ -95,6 +127,7 @@ The following should be useful before that.
<P>
Demos
</P>
+
<UL>
<LI><A HREF="http://www.grammaticalframework.org:41296/minibar/minibar.html">on-line translator</A> (Section 7.12)
<LI><A HREF="http://www.grammaticalframework.org/demos/resource-api/editor.html">syntax editor</A> (Section 7.13)
@@ -122,6 +155,6 @@ Author's email: aarne'at'chalmers'dot'se
Author's home page: <A HREF="http://www.cse.chalmers.se/~aarne/">http://www.cse.chalmers.se/~aarne/</A>
</P>
-<!-- html code generated by txt2tags 2.4 (http://txt2tags.sf.net) -->
+<!-- html code generated by txt2tags 2.6 (http://txt2tags.org) -->
<!-- cmdline: txt2tags -thtml index.txt -->
</BODY></HTML>
diff --git a/gf-book/index.txt b/gf-book/index.txt
index a53ae9882..9c877164f 100644
--- a/gf-book/index.txt
+++ b/gf-book/index.txt
@@ -1,6 +1,10 @@
Grammatical Framework: Programming with Multilingual Grammars
Aarne Ranta
-**Web page work in progress**
+
+%!postproc(html): "#BOOKCOVER" '<center><img width=200mm src="gf-book-cover.png"></center>'
+
+
+#BOOKCOVER
This is the web page of the book
@@ -8,7 +12,24 @@ This is the web page of the book
//Grammatical Framework: Programming with Multilingual Grammars//,
CSLI Publications,
Stanford,
- 2011 (to appear).
+ 2011,
+ ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth).
+
+
+
+
+==Publisher's information==
+
+Forthcoming at http://www-csli.stanford.edu/pubs/
+
+Direct order (demonstrably available 15 April 2011):
+
+ http://press.uchicago.edu/ucp/books/book/distributed/G/bo12469871.html
+
+Amazon order (may be still not active):
+
+ http://www.amazon.com/Grammatical-Framework-Programming-Multilingual-Information/dp/1575866269/ref=sr_1_2?ie=UTF8&s=books&qid=1302811905&sr=8-2
+
==Book description==
@@ -59,7 +80,8 @@ Forthcoming at http://www-csli.stanford.edu/pubs/
Programming with Multilingual Grammars}},
publisher = {{CSLI Publications}},
year = {2011},
- note = "to appear"
+ address = "Stanford",
+ note = "ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth)"
}
```
diff --git a/index.html b/index.html
index 35d1da3ae..2d6bf2bf0 100644
--- a/index.html
+++ b/index.html
@@ -24,10 +24,11 @@ December 2010
| <A HREF="doc/tutorial/gf-tutorial.html">Tutorial</A>
| <A HREF="doc/gf-quickstart.html">QuickStart</A>
| <A HREF="http://groups.google.com/group/gf-dev">UserGroup</A>
+| <A HREF="gf-book">Book</A><font size=-1 color=red><i>New!</i></font>
]
</font>
<P>
-[ <A HREF="http://code.google.com/p/grammatical-framework/wiki/SideBar?tm=6">ForDevelopers</A>
+[ <A HREF="http://code.google.com/p/grammatical-framework/wiki/SideBar?tm=6">Wiki</A>
| <A HREF="doc/gf-people.html">People</A>
| <A HREF="doc/gf-bibliography.html">Publications</A>
| <A HREF="doc/gf-reference.html">QuickRefCard</A>
@@ -41,6 +42,7 @@ December 2010
<div class=news2>
<dl>
+<dt>2011-04-15: The <a href="gf-book">GF Book</a> is available.
<dt>2011-01-13: <a href="http://www.molto-project.eu/node/1177">Phrasedroid
available on the Android Market</a>.
<dt>2011-01-04: GF is part of the