From 1eb0fcba11147582b6a1fdbb2db0aae3479718b6 Mon Sep 17 00:00:00 2001
From: aarne
+
+Writing GF grammars in the cloud, without installing GF.
+
+
+Want to try without downloading?
+
+Using GF translation with an existing grammar.
+
+Using GF for translation and generation
@@ -43,6 +52,7 @@ GF sources.
$ gf FoodIta.gf FoodEng.gf
+Alternatively, start GF with gf and give the GF command import FoodIta.gf FoodEng.gf.
@@ -81,8 +91,8 @@ Add words to the Food
grammars and try the above commands again. For instance, add the following lines:
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
and start GF again with the same command. Now you can even translate
this bread is very Italian.
@@ -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 pgh-http
- $ 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
Binary files /dev/null and b/gf-book/gf-book-cover.png 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 @@
-
+
Grammatical Framework: Programming with Multilingual Grammars
-
-Aarne Ranta
-**Web page work in progress**
-Grammatical Framework: Programming with Multilingual Grammars
+Aarne Ranta
+
This is the web page of the book
++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): +
+ +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.
+Forthcoming at http://www-csli.stanford.edu/pubs/
+
@Book{ranta-2011,
author = {Aarne Ranta},
@@ -69,19 +96,24 @@ Forthcoming at 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)"
}
-
+
Slides for teaching the book chapter by chapter are forthcoming. The following should be useful before that.
+Demos
+
-[ ForDevelopers +[ Wiki | People | Publications | QuickRefCard @@ -41,6 +42,7 @@ December 2010