diff options
| author | aarne <aarne@chalmers.se> | 2012-09-12 12:52:03 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2012-09-12 12:52:03 +0000 |
| commit | acb3fa961e6a9e548addabf34796f7645832c884 (patch) | |
| tree | 02c7cd92ee65ea7e45fb477692f6813d4c1a35fa /src/www/gfmorpho/README | |
| parent | 38db61e34f53c6245f38915d272362ca34711d91 (diff) | |
First version of a web server for morphological paradigms.
Diffstat (limited to 'src/www/gfmorpho/README')
| -rw-r--r-- | src/www/gfmorpho/README | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/www/gfmorpho/README b/src/www/gfmorpho/README new file mode 100644 index 000000000..2090bb5d3 --- /dev/null +++ b/src/www/gfmorpho/README @@ -0,0 +1,23 @@ +A service for using smart paradigms on the web. + +Works with a cgi script running a Haskell program that calls GF to interprete a query string as a "cc" command on a specified Paradigms file. For instance, if the +user submits the query + + Eng N baby + +the program executes the command + + cc -table -unqual ParadigmsEng.mkN "baby" + +The resulting output is converted into an HTML table. + +The file gfmorpho.html gives some more information. Open issues in addition to those mentioned there are: + +- GFMorpho.hs creates the temporary files _gfcommand.tmp and _gfmorpho.tmp which need to be world-writable; they should be created more properly and removed after use +- gfmorpho.cgi defines the variable GF_LIB_PATH to reside in /Users/aarne, and must be edited for other environments +- to work for all languages mentioned, one has to compile some incomplete GF grammars not standardly compiled: + + GF/lib/src$ runghc Make alltenses lang langs=Amh,Ara,Lat,Mlt,Tur + +(c) Aarne Ranta 2012 under LGPL/BSD. + |
