forked from GitHub/gf-core
added book in the documentation
This commit is contained in:
@@ -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
|
the command <tt>gf</tt> works for you. See download and install
|
||||||
instructions <a href="../download/index.html">here</a>.
|
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>
|
<h2>Using GF for translation and generation</h2>
|
||||||
@@ -43,6 +52,7 @@ GF sources.
|
|||||||
<pre>
|
<pre>
|
||||||
$ gf FoodIta.gf FoodEng.gf
|
$ gf FoodIta.gf FoodEng.gf
|
||||||
</pre>
|
</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
|
<li> <b>Translation</b>. Try your first translation by giving the GF command
|
||||||
<pre>
|
<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:
|
grammars and try the above commands again. For instance, add the following lines:
|
||||||
<pre>
|
<pre>
|
||||||
Bread : Kind ; -- in Food.gf
|
Bread : Kind ; -- in Food.gf
|
||||||
Black = {s = "bread"} ; -- in FoodEng.gf
|
Bread = {s = "bread"} ; -- in FoodEng.gf
|
||||||
Black = {s = "pane"} ; -- in FoodIta.gf
|
Bread = {s = "pane"} ; -- in FoodIta.gf
|
||||||
</pre>
|
</pre>
|
||||||
and start GF again with the same command. Now you can even translate
|
and start GF again with the same command. Now you can even translate
|
||||||
<i>this bread is very Italian</i>.
|
<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>
|
The quickest way to provide a GF web service is to start the program <tt>pgh-http</tt>
|
||||||
<pre>
|
<pre>
|
||||||
$ pgh-http
|
$ pgf-http
|
||||||
Starting HTTP server, open http://localhost:41296/ in your web browser
|
Starting HTTP server, open http://localhost:41296/ in your web browser
|
||||||
|
|
||||||
Options {documentRoot = "/home/aarne/.cabal/share/gf-server-1.0/www", port = 41296}
|
Options {documentRoot = "/home/aarne/.cabal/share/gf-server-1.0/www", port = 41296}
|
||||||
|
|||||||
BIN
gf-book/gf-book-cover.png
Normal file
BIN
gf-book/gf-book-cover.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -1,27 +1,50 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
<META NAME="generator" CONTENT="http://txt2tags.org">
|
||||||
<TITLE>Grammatical Framework: Programming with Multilingual Grammars</TITLE>
|
<TITLE>Grammatical Framework: Programming with Multilingual Grammars</TITLE>
|
||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1>Grammatical Framework: Programming with Multilingual Grammars</H1>
|
<CENTER>
|
||||||
<FONT SIZE="4">
|
<H1>Grammatical Framework: Programming with Multilingual Grammars</H1>
|
||||||
<I>Aarne Ranta</I><BR>
|
<FONT SIZE="4"><I>Aarne Ranta</I></FONT><BR>
|
||||||
**Web page work in progress**
|
</CENTER>
|
||||||
</FONT></CENTER>
|
|
||||||
|
|
||||||
|
<P>
|
||||||
|
<center><img width=200mm src="gf-book-cover.png"></center>
|
||||||
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is the web page of the book
|
This is the web page of the book
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
<LI>Aarne Ranta,
|
<LI>Aarne Ranta,
|
||||||
<I>Grammatical Framework: Programming with Multilingual Grammars</I>,
|
<I>Grammatical Framework: Programming with Multilingual Grammars</I>,
|
||||||
CSLI Publications,
|
CSLI Publications,
|
||||||
Stanford,
|
Stanford,
|
||||||
2011 (to appear).
|
2011,
|
||||||
|
ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth).
|
||||||
</UL>
|
</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&s=books&qid=1302811905&sr=8-2">http://www.amazon.com/Grammatical-Framework-Programming-Multilingual-Information/dp/1575866269/ref=sr_1_2?ie=UTF8&s=books&qid=1302811905&sr=8-2</A>
|
||||||
|
</P>
|
||||||
|
|
||||||
<H2>Book description</H2>
|
<H2>Book description</H2>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
Grammars of natural languages are complex systems, and their
|
Grammars of natural languages are complex systems, and their
|
||||||
computer implementation requires both programming skills and
|
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,
|
material makes it interesting for senior researchers in computer science,
|
||||||
linguistics, and related fields.
|
linguistics, and related fields.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H2>Publisher's information</H2>
|
<H2>Publisher's information</H2>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
Forthcoming at <A HREF="http://www-csli.stanford.edu/pubs/">http://www-csli.stanford.edu/pubs/</A>
|
Forthcoming at <A HREF="http://www-csli.stanford.edu/pubs/">http://www-csli.stanford.edu/pubs/</A>
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H2>How to cite</H2>
|
<H2>How to cite</H2>
|
||||||
|
|
||||||
<PRE>
|
<PRE>
|
||||||
@Book{ranta-2011,
|
@Book{ranta-2011,
|
||||||
author = {Aarne Ranta},
|
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}},
|
Programming with Multilingual Grammars}},
|
||||||
publisher = {{CSLI Publications}},
|
publisher = {{CSLI Publications}},
|
||||||
year = {2011},
|
year = {2011},
|
||||||
note = "to appear"
|
address = "Stanford",
|
||||||
|
note = "ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth)"
|
||||||
}
|
}
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
|
||||||
<H2>Table of Contents</H2>
|
<H2>Table of Contents</H2>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
<A HREF="toc-gf-book.txt">Preliminary Table of Contents</A>
|
<A HREF="toc-gf-book.txt">Preliminary Table of Contents</A>
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<H2>Supporting material</H2>
|
<H2>Supporting material</H2>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
Slides for teaching the book chapter by chapter are forthcoming.
|
Slides for teaching the book chapter by chapter are forthcoming.
|
||||||
The following should be useful before that.
|
The following should be useful before that.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="../doc/tutorial/gf-tutorial.html">GF Tutorial</A>: programmer-oriented,
|
<LI><A HREF="../doc/tutorial/gf-tutorial.html">GF Tutorial</A>: programmer-oriented,
|
||||||
covering parts of chapters 2-8
|
covering parts of chapters 2-8
|
||||||
@@ -95,6 +127,7 @@ The following should be useful before that.
|
|||||||
<P>
|
<P>
|
||||||
Demos
|
Demos
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<UL>
|
<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: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)
|
<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>
|
Author's home page: <A HREF="http://www.cse.chalmers.se/~aarne/">http://www.cse.chalmers.se/~aarne/</A>
|
||||||
</P>
|
</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 -->
|
<!-- cmdline: txt2tags -thtml index.txt -->
|
||||||
</BODY></HTML>
|
</BODY></HTML>
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
Grammatical Framework: Programming with Multilingual Grammars
|
Grammatical Framework: Programming with Multilingual Grammars
|
||||||
Aarne Ranta
|
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
|
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//,
|
//Grammatical Framework: Programming with Multilingual Grammars//,
|
||||||
CSLI Publications,
|
CSLI Publications,
|
||||||
Stanford,
|
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==
|
==Book description==
|
||||||
@@ -59,7 +80,8 @@ Forthcoming at http://www-csli.stanford.edu/pubs/
|
|||||||
Programming with Multilingual Grammars}},
|
Programming with Multilingual Grammars}},
|
||||||
publisher = {{CSLI Publications}},
|
publisher = {{CSLI Publications}},
|
||||||
year = {2011},
|
year = {2011},
|
||||||
note = "to appear"
|
address = "Stanford",
|
||||||
|
note = "ISBN-10: 1-57586-626-9 (Paper), 1-57586-627-7 (Cloth)"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,11 @@ December 2010
|
|||||||
| <A HREF="doc/tutorial/gf-tutorial.html">Tutorial</A>
|
| <A HREF="doc/tutorial/gf-tutorial.html">Tutorial</A>
|
||||||
| <A HREF="doc/gf-quickstart.html">QuickStart</A>
|
| <A HREF="doc/gf-quickstart.html">QuickStart</A>
|
||||||
| <A HREF="http://groups.google.com/group/gf-dev">UserGroup</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>
|
</font>
|
||||||
<P>
|
<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-people.html">People</A>
|
||||||
| <A HREF="doc/gf-bibliography.html">Publications</A>
|
| <A HREF="doc/gf-bibliography.html">Publications</A>
|
||||||
| <A HREF="doc/gf-reference.html">QuickRefCard</A>
|
| <A HREF="doc/gf-reference.html">QuickRefCard</A>
|
||||||
@@ -41,6 +42,7 @@ December 2010
|
|||||||
<div class=news2>
|
<div class=news2>
|
||||||
|
|
||||||
<dl>
|
<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
|
<dt>2011-01-13: <a href="http://www.molto-project.eu/node/1177">Phrasedroid
|
||||||
available on the Android Market</a>.
|
available on the Android Market</a>.
|
||||||
<dt>2011-01-04: GF is part of the
|
<dt>2011-01-04: GF is part of the
|
||||||
|
|||||||
Reference in New Issue
Block a user