Commit Graph

3940 Commits

Author SHA1 Message Date
hallgren
40b84d25e3 Documentation fixes
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files.
+ Add program update_html that finds all .t2t documents and updates the
  corresponding .html file. It can be invoked with 'make html'.
+ Add style to some .html documents
2010-12-22 16:57:53 +00:00
hallgren
59b36e0e4a PGF web service: make the generated index.html for pgf-http a bit more informative 2010-12-22 15:06:02 +00:00
hallgren
6eb3d8ae9c gf-server.cabal: update description of fastcgi flag 2010-12-22 15:05:10 +00:00
hallgren
ee018154c8 gf-server.cabal: make hsql-mysql optional like fastcgi
content-service depends on hsql-mysql, which depends on a C library, so like
fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22 14:59:49 +00:00
hallgren
5b68ac537f gf-server.cabal: Change the default for the flag fastcgi to False
If you want the fastcgi server, use cabal install -ffastcgi.

This is to avoid problems when you only want to compile pgf-http and the
fastcgi library fails to install, which it usually does, since it depends on
a C library which is not installed automatically with cabal.
2010-12-22 14:49:17 +00:00
hallgren
505d99ec37 PGF web service: Use Content-Type text/javascript from JSON output
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
2010-12-22 14:47:35 +00:00
aarne
c5b9637695 removed GF/deprecated 2010-12-22 14:11:55 +00:00
aarne
ce15ec7b78 moved parts of doc to deprecated/doc 2010-12-22 14:08:42 +00:00
krasimir
fb722fe8e2 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
aarne
5cd1dc9f88 updated GF/index.html 2010-12-22 13:06:03 +00:00
krasimir
d28242c03e tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
aarne
eb478cecb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne
27664de321 making synopsis work for structural words, etc 2010-12-21 23:23:20 +00:00
hallgren
4bab82398c Add build-binary-dist.sh 2010-12-21 22:18:48 +00:00
krasimir
0aab9833f7 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
aarne
e1e0bf1a22 remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren
ad736fc7b1 download/index-3.2.t2t: first version of download page for GF release 3.2 2010-12-20 21:56:10 +00:00
hallgren
82d32af410 css/style.css: a style sheet for GF web pages 2010-12-20 21:54:51 +00:00
hallgren
721fae10a2 index.html: changes for release 3.1.6
It's a bit late. I don't know why these changes haven't been recorded before...
2010-12-20 21:35:38 +00:00
hallgren
74fe9d1352 New demo: translation quiz. Remove outdated demos/index.txt 2010-12-20 17:33:34 +00:00
hallgren
9cb4b5db83 gf.cabal: version 3.1.91, remove pgf-http
The version of cabal distributed with Ubuntu 10.10 is too old to handle
executables that refer to the library in the same package, so to not make it
too complicated for Ubuntu users to compile GF from source, pgf-http is no
longer part of the main gf.cabal. :-(
2010-12-17 16:59:35 +00:00
hallgren
e8e13a6315 Add -optimize-pgf to Makefile for Foods.pgf 2010-12-17 16:47:25 +00:00
hallgren
65b717c362 minibar.html: omit explicit grammars_url option
The grammars will then by default be fetched from the same server as
minibar.html. This means that everything will be served locally when accessing
minibar through a locally running pgf-http.
2010-12-17 16:43:11 +00:00
hallgren
9ad094577a minibar/support.js: fix comment typos and add links 2010-12-17 16:42:08 +00:00
hallgren
2e6269ddb4 pgf-http now uses $datadir/www instead of ./www as the document root
Along with the changes to Setup.hs it should now be enough to do

	cabal install
	pgf-http
	open http://localhost:41296/

to run the PGF service locally and play with some example grammars in minibar.
2010-12-17 16:35:59 +00:00
hallgren
7ebdacc884 RunHTTP.hs: remove hardcoded document root
The document root is now part of the arguments passed to runHTTP.
2010-12-17 16:33:54 +00:00
hallgren
c51d1f9833 Install minibar and some example grammars along with pgf-http
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
2010-12-17 16:29:22 +00:00
krasimir
71e0ec4d41 bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir
e4b2b8541f bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories 2010-12-17 09:09:07 +00:00
aarne
2057c9f284 fixes in QueryFre 2010-12-16 16:27:13 +00:00
aarne
f390b2a338 some fixes in QuerySwe; a first version of QueryFre 2010-12-16 15:53:07 +00:00
aarne
61e4e9ac20 updated documentation of pg -printer formats 2010-12-14 22:05:53 +00:00
aarne
9c86b62212 documented the pgf -printer values for help 2010-12-14 20:40:17 +00:00
aarne
4a5d8d9f55 option cc -list added 2010-12-14 17:42:42 +00:00
krasimir
505e34aea7 PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir
c571e6ef33 now every parse state keeps reference only to the concrete and the abstract syntaxes but not to the whole PGF 2010-12-14 17:20:53 +00:00
hallgren
13bddae588 numerals: add language flags
to help minibar pick the right default language
2010-12-14 16:41:28 +00:00
hallgren
42259d2957 Update version number to 3.1.90 to indicate that we are getting close to the 3.2 release 2010-12-14 15:43:35 +00:00
aarne
e7fbe756a3 work-around in Tree.expr2tree to make Paraphrase work 2010-12-14 14:36:05 +00:00
aarne
a8a3c62f60 type checking of oper types with let expressions 2010-12-14 14:35:41 +00:00
krasimir
7d58efb660 optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary 2010-12-14 08:46:22 +00:00
krasimir
0c4f5030c7 update the testsuite for the parser to the latest API 2010-12-13 17:53:06 +00:00
aarne
9b5223a06b fixed the failure to partial-evaluate pre in right-associative context 2010-12-11 16:27:35 +00:00
gdetrez
1ed5b52a03 In the haskell code, we make the binary representation of the doubles compliant with IEEE 754.
The default binary representation in haskell's Data.Binary package is
homemade and quite complicated. Making it compliant with IEEE 754 will
make it easyer for the java runtimes (and probably others) to load the
PGF.
2010-10-19 18:34:29 +00:00
aarne
96433c2914 preparing resource api for multilingual documentation 2010-12-10 08:48:26 +00:00
hallgren
8bb09fd64a minibar/support.js: add an errorcallback parameter to ajax_http_get 2010-12-09 16:38:16 +00:00
aarne
9adfac7ff1 no pro drop for polite forms in PhrasebookPol 2010-12-08 15:26:25 +00:00
aarne
f6e088770f ProDrop in PhrasebookPol 2010-12-08 14:01:34 +00:00
krasimir
73a10e1a66 some more functions in GF.Data.TrieMap 2010-12-08 12:51:37 +00:00
aarne
55bd1cb8d0 CompCN in Hindustani and Pnb by Shafqat 2010-12-08 10:59:48 +00:00