Commit Graph

6283 Commits

Author SHA1 Message Date
kr.angelov
37e1ced6cf another fix for teyjus 2012-08-30 08:09:30 +00:00
kr.angelov
fe27540c49 the loading of PGF files was broken by the Teyjus patch. Now this is fixed 2012-08-30 07:41:49 +00:00
peter.ljunglof
f78505d88e Use nub' instead of nub in some places, remove some unused nub imports 2012-08-29 21:48:34 +00:00
peter.ljunglof
87260365c7 Added an O(n log n) version of nub
The new nub is called nub', and it replaces the old sortNub which was 
not lazy and did not retain the order between the elements.
2012-08-29 21:45:10 +00:00
peter.ljunglof
7ad4616d9c Emacs only recognizes utf-8, not UTF-8, in file headers 2012-08-29 21:40:49 +00:00
kr.angelov
9cf52d1f56 a few fixes in DictEng, DictEngBul and ParseEng 2012-08-29 11:46:58 +00:00
kr.angelov
fd5220038d A basic infrastructure for generating Teyjus bytecode from the GF abstract syntax 2012-08-29 11:43:02 +00:00
aarne
c9e497179b added Lav in compilation; commented out extensions of Words that are only available for a fraction of languages; fixed a couple of type errors in WordsLav, to be checked 2012-08-28 11:29:54 +00:00
hallgren
ffedf0a165 minibar documentation URL typo fix 2012-08-27 15:00:37 +00:00
hallgren
9ab4c04b5c minibar documentation updates 2012-08-27 14:56:10 +00:00
aarne
6aa7806b10 typo in extmini 2012-08-24 12:31:32 +00:00
aarne
c5cff90a3a in lib/src/, make dict compiles the unilingual dictionaries to alltenses/. 2012-08-24 12:06:48 +00:00
aarne
9506a01aab extended mini resource grammar in examples, with Eng, Ita, Cmn (Mandarin Chinese by Jolene) 2012-08-24 06:30:10 +00:00
Normunds Gruzitis
d217f20c60 A major update to the Latvian resource grammar
The case of the topic part of a clause (~subject) can now depend on the verb, allowing for less frequent agreement.
E.g. "man[Dat] garšo pica[Nom]" ("I like pizza").
The default case for the topic/subject remains the nominative case.
2012-08-23 23:05:16 +00:00
Normunds Gruzitis
d6e3d07db1 Improvements to PhrasebookLav
AHasAge, AHasChildren, AHasRoom, AHasTable, ALike - "almost" done: phrases (cases) are grammatically correct, but the word order has to be changed (TODO in the resource grammar).
2012-08-23 13:12:08 +00:00
hallgren
461b5d2f39 Add 'make deb' to Makefile, for creating Debian packages
Also updated the debian/* files.
It should now be easy to create Debian packages under Ubuntu 11.10 & 12.04.
See also the notes in the Makefile.
2012-08-22 17:25:10 +00:00
Normunds Gruzitis
1e1298b828 First (public) version of PhrasebookLav
Tested on Actions:
- Temp: AHasName, ALike.
- ToDo: AHasAge, AHasChildren, AHasRoom, AHasTable.
- FixMe (in the resource grammar):
+ YouPolMale/YouPolFemale agreement (AHungry, AIll, AMarried, AReady, AScared, AThirsty, ATired);
+ Missing commas in multiple ObjAndObj constructions (AWant);
+ Use (the currently missing) Irreg_Give (AWantGo).
2012-08-18 05:07:10 +00:00
Normunds Gruzitis
3aa95e3fe9 More improvements to the Latvian resource grammar (motivated by PhrasebookLav)
- Few bug-fixes (agreement between Pron and ComplAP; C1 verb paradigm; how8much_IAdv / how8many_IDet).
- Differentiation between male and female pronouns.
- Irregular verbs now can have prefixes.
- Code refactoring.
2012-08-18 04:56:33 +00:00
kr.angelov
20d3862b17 fixes in DictEng and extensions in DictEngBul 2012-08-09 12:09:21 +00:00
Normunds Gruzitis
8b1ea40b45 Some improvements to the Latvian resource grammar
- some missing functions (needed for Phrasebook)
- few bug-fixes (verb paradigms)
- naming, formatting, clean-up
2012-08-08 09:45:15 +00:00
hallgren
ed8119c224 record unrecorded rmdir 2012-08-06 16:55:18 +00:00
hallgren
598d1747c8 Updated the GF Developers Guide
+ The instructions have been modernized and simplified slightly and should now
  work again. (I have not verified it on Windows.)
  Using 'cabal' instead of 'runghc Setup.hs' avoids some problems.
+ Also, download/index.html has simpler installation instructions sufficient
  for many users, so mention it in the main README file.
+ Also adjusted the main Makefile.
2012-08-06 16:14:47 +00:00
kr.angelov
3ef3108314 fix some warnings in teyjus 2012-08-03 12:30:01 +00:00
hallgren
636d0649f8 translator: keep cloud docs and local docs apart
+ show a cloud icon next to the document name if it is stored in the cloud
+ in addition to the name of the current document, remember if it is stored in
  the cloud, so that the right document is loaded next time you open the
  translator.
2012-08-02 12:54:15 +00:00
hallgren
4d526b152a gfse: matching colors in cloud download/upload icons 2012-08-02 12:12:59 +00:00
hallgren
860a014f2e GFServer.hs: binary files can now be uploaded to the cloud
Karel wants to upload PGF files.
2012-08-01 18:10:00 +00:00
hallgren
dca98c3533 gf-cloud-api.html: markup fix 2012-08-01 15:39:30 +00:00
kr.angelov
b34232c6dc the first draft of GF.Compile.Instructions 2012-08-01 09:21:59 +00:00
kr.angelov
2844742afd An initial import of the teyjus source code in the C runtime for GF. The two runtime are still not connected but the source code compiles. 2012-07-31 15:16:04 +00:00
hallgren
8da1bbd17d translator: code cleanup and bug fixes 2012-07-27 15:06:02 +00:00
hallgren
7e68ae7248 translator: remove debug logging 2012-07-25 14:31:39 +00:00
hallgren
63fd9d44e7 translator: per segment translation method selection 2012-07-25 14:27:27 +00:00
john.j.camilleri
01c58b4e23 Significant advances in Maltese verb morphology 2012-07-19 16:19:56 +00:00
john.j.camilleri
4884087c2f RGL Browser: added favicon 2012-07-17 08:01:43 +00:00
john.j.camilleri
0fba4d4c5a RGL Browser: updates 2012-07-11 13:27:00 +00:00
john.j.camilleri
71098e9a73 GFEP: updated readme 2012-07-10 12:16:28 +00:00
john.j.camilleri
58f2d624fd GFEP: added images for ontology grammar plugin 2012-07-10 12:15:28 +00:00
peter.ljunglof
2e8d9d3829 Minor changes in Python export 2012-07-02 21:11:20 +00:00
kr.angelov
696a34bc22 DictEngBul is extended to 5000 words and there are few more functions in ParseEngBul 2012-06-29 09:57:02 +00:00
aarne
e2fdf3747f github news, new languages in the list on index 2012-06-29 09:57:36 +00:00
peter.ljunglof
a82a63cc69 Fixed minor bug in prolog export 2012-06-28 07:01:29 +00:00
peter.ljunglof
035b7731e5 major changes to the prolog export 2012-06-27 23:29:05 +00:00
peter.ljunglof
871eb6eabc cleanup in the python export 2012-06-27 23:27:01 +00:00
hallgren
8444821759 Experiment with parallel grammar checks
Introduced the function

	parallelCheck :: [Check a] -> Check [a]

that runs independent checks in parallel, potentially allowing faster grammar
compilation on multi-core computers, if you run gf with +RTS -N.

However, on my dual core laptop, this seems to slow down compilation somewhat
even though CPU utilization goes up as high as 170% at times.
(This is with GF compiled with GHC 7.0.4.)
2012-06-26 17:01:15 +00:00
hallgren
e3a01cdf49 GF.Infra.CheckM: comment out unused Context argument 2012-06-26 15:08:18 +00:00
hallgren
5b577baf02 Report many type errors instead of stopping after the first one
In GF.Compile.CheckGrammar, use a new topological sorting function that
groups independent judgements, allowing them all to be checked before
continuing or reporting errors.
2012-06-26 14:46:18 +00:00
kr.angelov
852d923786 added VPI category and AdvVPSlash to the Bulgarian RGL 2012-06-26 09:54:06 +00:00
hallgren
0b1a963d7a Fix for warning messages from checkMapRecover
Reimplemented it with the new function accumulateError.

Also keeping the formatting of errors and warnings unchanged for now, to avoid
potentially causing problems in the GF Eclipse Plugin.
2012-06-25 15:55:59 +00:00
aarne
af4886dace removed spurious empty warnings 2012-06-25 14:47:09 +00:00
hallgren
abb1aedd3d GF.Compile.Rename: report many errors instead of stopping after the first one
Using accumulated errors in the Check monad.

TODO: some errors are still not accumulated, but thanks to checkMapRecover
at least one error per judgement is reported.
2012-06-25 14:15:02 +00:00