Commit Graph

5384 Commits

Author SHA1 Message Date
virk.shafqat
052c75a71c PersianRG 2011-06-13 18:23:30 +00:00
aarne
525bf8f410 Finnish SDP paradigm ported to lower-case by using Predef.toUpper 2011-06-02 16:12:01 +00:00
aarne
7d3949a270 Predef functions toUpper, toLower, isUpper 2011-06-02 16:10:46 +00:00
aarne
b30b5b6882 "Urd in Phrasebook Makefile; correct form of adj Spa.spanish_A" 2011-06-02 10:30:32 +00:00
jordi.saludes
50cdc9e354 provide both genders for Plural in Cat/mkPronoun 2011-06-02 08:53:35 +00:00
aarne
adfc2b6796 adapted parse/English to new uncontracted polarity 2011-06-02 09:26:33 +00:00
aarne
bbc2a7c538 ported the change in English NPCase and Polarity to SUMO 2011-06-02 08:30:06 +00:00
aarne
20966efd85 factored English uncontracted negation to one constant, ExtraEng.UncNeg : Pol 2011-06-02 08:05:31 +00:00
aarne
5782bea01d patches in Spanish adjectives by Inari 2011-06-02 07:24:20 +00:00
jordi.saludes
7445a5fda6 Fixed A's in Cat phrasebook nationalities 2011-06-01 15:50:21 +00:00
virk.shafqat
3a20957aaa addedSymbolicPnb 2011-05-20 23:23:08 +00:00
virk.shafqat
198ba1a151 refinementsTextUrd11-19-05 2011-05-19 18:19:34 +00:00
virk.shafqat
9e38856a1e refinementsTextUrd-11-05-19 2011-05-19 15:57:12 +00:00
virk.shafqat
ab120fc83f refinements-2011-05-19 2011-05-19 15:19:15 +00:00
virk.shafqat
96d8cc4c04 refinementsUrdPhrasebook-2011-05-13 2011-05-13 21:51:16 +00:00
aarne
026c5cddf5 fixing case in ParseEng 2011-05-13 16:25:58 +00:00
aarne
ecdcf07140 addition to Urdu phrasebook 2011-05-13 11:14:47 +00:00
virk.shafqat
17d5a3ffbb refinementsUrdPhrbook-2011-05-12 2011-05-12 16:24:00 +00:00
virk.shafqat
9a31b52556 refinementsUrdPnb-2011-05-11 2011-05-11 00:11:52 +00:00
virk.shafqat
e52f51007f refinementsPnb-2011-05-10 2011-05-10 15:27:57 +00:00
virk.shafqat
3796ffc0f8 refinementsUrd-2011-05-10 2011-05-10 14:53:08 +00:00
virk.shafqat
c9019e9741 refinements-2011-05-10 2011-05-10 14:33:08 +00:00
hallgren
7f91547576 gfse: you can now add concrete syntax for arbitrary languages
Before, you had to pick a language from a list of supported languages, but now
you can also pick Other and change the language code afterwards.
2011-05-06 15:24:45 +00:00
aarne
e8da38c814 Urdu phrasebook (not complete) 2011-05-06 12:29:46 +00:00
aarne
20517f98dc fixed problems in persian transliteration pointed out by Elnaz 2011-05-06 12:11:45 +00:00
aarne
d3c98a4cdd added Punjabi to langs compiled with lib/src/Make 2011-05-06 09:09:41 +00:00
aarne
6028088291 updated Synopsis with Afrikaans, Punjabi, and additional modules 2011-05-06 09:00:07 +00:00
aarne
f0bd6dc69f api for Afrikaans 2011-05-06 08:38:39 +00:00
virk.shafqat
458675a8e8 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
aarne
72b63e34bd transliteration via configuration file: ps -to=file or ps -from=file 2011-05-02 14:53:46 +00:00
hallgren
cfc60feeab Ctrl-C shouldn't terminate the GF shell
This quick fix should make Ctrl-C in the GF shell behave more like it does in
other shells: even if no command is running, Ctrl-C now just gives you a new
prompt instead of terminating the shell.
2011-04-20 14:30:49 +00:00
aarne
09716eac28 Scandinavian IndefArt in substantival position fixed 2011-04-20 08:27:03 +00:00
hallgren
0df6ae1575 GFI.hs: some refactoring for readability
Also some minor changes in how Ctrl-C is handled and how CPU time is measured.
2011-04-15 15:05:44 +00:00
aarne
b4696d307b added book in the documentation 2011-04-15 12:07:59 +00:00
hallgren
ac54480e82 gfse: use "gf -server" mode instead of upload.cgi
Work in progress on making the online grammar editor use the new "gf -server"
mode instead of the old upload.cgi script. A first benefit is that the
editor now calls the server to check the syntax of lin & lincat definitions.
(But the links to minibar/gfshell/quiz are not available at the moment.)
2011-04-13 15:30:42 +00:00
hallgren
3488632558 Added a preliminary "gf -server" mode.
The command "gf -server" now starts a simple HTTP server on port 41295,
providing a simple web API to the GF compiler. It currently support the
follwing operations:

  * creating new temporary directories for grammar uploads,
  * uploading grammars files for use in the GF shell,
  * executing GF shell commands, and
  * accessing static files.

This means that GF now depends on some additional networking related packages,
but they should be available and easy to install on all platforms. There is
also a new configuration flag "server" in gf.cabal, so GF will be compiled
without support for server mode if the extra packages are unavailable.

Note that running gf -server while connected to the internet can be a security
risk. To prevent unauthorized access to the rest of the system, it is
advisable to run the server in GF_RESTRICTED mode and as a user with suitably
restricted file permissions.
2011-04-13 14:58:01 +00:00
hallgren
c65f4cdb5c Show configuration options as part of build info
The GF shell welcome message will now include something like

	This is GF version 3.2.1-darcs. 
	Built on darwin/i386 with ghc-7.0, flags: interrupt

where a list of enabled configuration flags are included on the last line.

This is implemented in GF.Infra.BuildInfo by consulting the CPP macros
defined by the respective option in gf.cabal. For this to work,
GF.Infra.BuildInfo obviously has to be updated when new flags are added to
gf.cabal or if the CPP macros are renamed.

(Also, I suspect that if you reconfigure with different flags and rebuild GF
without cleaning first, the BuildInfo module will not be recompiled,
resulting in a misleading welcome message...)
2011-04-13 14:45:21 +00:00
hallgren
dbea5b1a19 GF.Infra.UseIO: add functions readBinaryFile & writeBinaryFile 2011-04-13 14:44:18 +00:00
hallgren
b2ffdd59eb minibar: fix typo 2011-04-11 13:03:46 +00:00
hallgren
ff870aa8f9 minibar: small documentation updates and corrections 2011-04-11 13:00:52 +00:00
hallgren
e10b11a1f0 GF shell restricted mode: found one more writeFile that should be restricted 2011-04-08 13:20:50 +00:00
hallgren
1e1d91056d avoid warning from ghc-7.0
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:57:19 +00:00
hallgren
7f830ec5df avoid warning from ghc-7.0
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
2011-04-06 13:43:29 +00:00
aarne
58acad5689 generate Eq instance for GADT 2011-04-06 12:27:31 +00:00
aarne
393976d889 fixed the printing of predefined and list categories in haskell=gadt 2011-04-06 07:45:35 +00:00
hallgren
7416c9acb3 GFI.hs: refactoring to add a function for executing a single GF shell command.
The intention is to use the new function to implement a web service API to
the GF shell.
2011-04-04 20:06:55 +00:00
hallgren
1677df78c9 Add build info to the GF shell welcome message 2011-04-04 19:52:07 +00:00
hallgren
544010b36f gfse: somewhat simplified configuration/installation 2011-03-28 15:04:43 +00:00
hallgren
45547df48c gfse: added an alternate style sheet with the MOLTO color scheme 2011-03-28 14:46:15 +00:00
hallgren
22a70d2608 minibar: don't force focus to the typed input field after every word
On touch-based devices, the on-screen keyboard kept popping up after every word,
which was very annoying if you were entering a sentence by tapping on the
magnets.
2011-03-22 15:17:48 +00:00