1
0
forked from GitHub/gf-core
Commit Graph

7685 Commits

Author SHA1 Message Date
kr.angelov 162fd5e512 an initial Python binding to the C runtime 2012-12-12 11:29:39 +00:00
kr.angelov 1376df457d started an official API to the C runtime 2012-12-12 11:25:58 +00:00
hallgren f39466f787 partial evaluator work
* Evaluate operators once, not every time they are looked up
* Remember the list of parameter values instead of recomputing it from the
  pattern type every time a table selection is made.
* Quick fix for partial application of some predefined functions.
2012-12-11 15:37:41 +00:00
john.j.camilleri 60f8a6b647 Syntax editor: unwrap feature 2012-12-11 15:09:16 +00:00
john.j.camilleri acd2f73c8c Syntax editor: link to about page 2012-12-11 09:48:44 +00:00
john.j.camilleri 64d463dddf Syntax editor: add about.html (and a Makefile for generating it) 2012-12-11 09:42:57 +00:00
kr.angelov 3182e382dc bugfix for robust parsing with multi-word units 2012-12-11 12:57:22 +00:00
hallgren d0d4583bb8 GF home page: link to the Resource Grammar Library coverage map by Tommi Nieminen 2012-12-10 15:17:55 +00:00
hallgren ab97deae57 Compute.ConcreteNew: add missing case for variant functions
Also adding a test case in the test suite for this.
2012-12-10 13:25:32 +00:00
aarne a4cba91ee6 passive auxiliary to estar in Cat and Spa. 2012-12-10 12:41:03 +00:00
aarne 309c6358f5 added functions to Ron and Chi needed for YAQL 2012-12-09 19:01:19 +00:00
aarne 2e4116c8ed superlative agreement and position in PhrasebookFre 2012-12-07 15:37:37 +00:00
john.j.camilleri 36d2f165ea Syntax editor: change startcat when wrapping top node 2012-12-07 15:32:31 +00:00
aarne 9cd8f4e016 fixed external case for countries in PhrasebookFin 2012-12-07 15:25:27 +00:00
aarne 25838cc895 added missing adverb to infinitives in Fin and Rus (but something is still omitted in Rus) 2012-12-07 14:27:22 +00:00
hallgren f64009fbb3 update debian/changelog 2012-12-07 14:22:14 +00:00
hallgren e966a4ccc8 Make -new-comp the default and bump the version number to 3.3.11-darcs
* -new-comp (the new partial evaluator) is now chosen by default when you run
  cabal install (or cabal configure). To revert to using the old partial
  evaluator by default, use "cabal install -f-new-comp" (or
  "cabal configure -f-new-comp").

* Regardless of the configured default, you can choose which partial evaluator
  to use when you invoke gf by using the -new-comp or -old-comp command line
  option.

* The cc command in the GF shell uses the chosen partial evaluator by default,
  but you can override this by using "cc -new" or "cc -old".

The plan is that these flags will be romeved in a future version.
2012-12-07 14:01:42 +00:00
aarne a2e5415e78 LexiconEng: fruits -> fruit 2012-12-07 13:53:00 +00:00
aarne 014e622663 Exist with Adv in German, also wie viel 2012-12-07 13:44:51 +00:00
aarne 40d9c5bfdf Exist with Adv in Swe 2012-12-07 13:35:03 +00:00
john.j.camilleri fe2fb1c51b Syntax editor: various small improvements...
- separate tree edit buttons from option buttons
- fix bug when wrapping on freshly imported ast
- add interface for import & export of ast
- cleaner internal implementation of Editor.add_refinement
- small style updates
2012-12-07 12:55:17 +00:00
aarne b4098a8f1a Idiom.ExistNPAdv and ExistIPAdv added 2012-12-07 09:40:00 +00:00
hallgren 7d0f649f29 Compute.ConcreteNew: bug fix for indirectly defined pattern macros
More changes are probably needed to make pattern macros first class values.
Also includes minor changes related to variants and error messages.
2012-12-06 16:44:03 +00:00
john.j.camilleri 44138ff8ce Syntax editor: wrap now handles multiple possible positions for subtree 2012-12-04 15:45:41 +00:00
virk.shafqat 01cdd10e07 linearizeUrd 2012-12-04 12:26:41 +00:00
aarne 57e4d67f1d alternative for Chi.with_Prep 2012-12-04 10:43:03 +00:00
aarne 74af56f0ae MiniresourceChi added as a cloud demo grammars 2012-11-27 13:27:07 +00:00
john.j.camilleri cf0051bbb3 Syntax editor: add wrap feature 2012-12-03 14:02:47 +00:00
kr.angelov 1863e4c3d6 added experimental script for chunking in the C runtime 2012-12-03 10:07:54 +00:00
kr.angelov 2da23e9872 added INSTALL file and updated README file for the C runtime 2012-12-03 09:09:08 +00:00
aarne 2a5d9ee5e9 make ParseFin compilable 2012-12-02 19:43:41 +00:00
aarne d34adff894 produce error message instead of failure of irrefutable pattern Ok ty_C in GrammarToPGF, to help find compilation errors; the ones I've found are because an inherited abstract excludes something that the inherited concrete does not exclude. 2012-12-02 19:40:45 +00:00
aarne 33ba636798 Dutch additions enabling YAQL 2012-12-02 09:25:53 +00:00
john.j.camilleri 596cd4d473 Syntax editor: internal optimizations by pre-computing certain stuff 2012-11-30 15:08:46 +00:00
john.j.camilleri 589e1e4f08 Syntax editor: in-place replacement of functions
When at a non-leaf node, refinements with identical type signatures
are highlighting and can re placed without destroying the children.
If not, the refinement is greyed and the user is asked to clear
the current subtree first if they wish to replace it.
This aspect of the UI should be polished, but at least it is obvious.
Also, some substantial optimizations can still be made to cache
the processed type signatures (which determine what can be replaced
in-place)
2012-11-30 10:56:42 +00:00
hallgren 7b87169c76 minibar: add a button to get detailed grammar info
After pressing the "i" button to view grammar info, there is now a
"More info" button to get more detailed information about all categories and
functions in the grammar.
2012-11-29 19:15:30 +00:00
hallgren c9522c0a37 minibar: add tool tips to some of the buttons
Also move the functions title and attr from editor/editor.js to js/support.js.
Also mention recent changes in minibar/about.html.
2012-11-29 16:05:42 +00:00
john.j.camilleri d9b0895e57 Syntax editor: internal improvements. re-introduce initialize_from function 2012-11-29 15:40:18 +00:00
john.j.camilleri a2c0030415 Syntax editor/minibar integration fix 2012-11-29 15:18:02 +00:00
kr.angelov 818ea0d4d6 updated statistical model 2012-11-28 12:44:20 +00:00
kr.angelov 2db296db30 Pakistani is now properly capitalized in the English dictionary 2012-11-28 12:43:45 +00:00
kr.angelov ee8f296089 translations for several words in the Bulgarian dictionary 2012-11-28 12:42:23 +00:00
kr.angelov 23873c8214 added familiar_A2 in DictEng, DictEngBul and DictEngGer 2012-11-28 12:40:20 +00:00
kr.angelov 0d35636348 bugfix for composite adjectivial phrases in Bulgarian 2012-11-28 12:37:24 +00:00
virk.shafqat f7b91b46dd samllfixinIdionHin 2012-11-28 11:02:18 +00:00
virk.shafqat 8b83710ed2 buginStructuralHinfixed 2012-11-27 18:24:27 +00:00
hallgren bf1ce93220 Convert some documentation to UTF-8
Using

	%!encoding:utf-8

in txt2tags files ensures that the generated HTML includes an appropriate
charset declaration. This way we avoid relying on browser defaults, which can
be wrong.
2012-11-27 16:03:29 +00:00
hallgren a6ac00023d some documentation updates and fixes
doc/Makefile: add a rule to regenerate gf-help-full.txt
gf-help-full.txt: updated (new parse tree visualization options)
demo & cloud index: clarifications
minibar documentation: better layout on mobile devices
GF 3.4 release notes: reorganized & updated
2012-11-27 14:11:47 +00:00
virk.shafqat 838010f7ed DictHinMathandDictUrdMath 2012-11-27 14:08:45 +00:00
virk.shafqat ebe553f4f8 ParseHinandExtraUrd 2012-11-27 14:00:14 +00:00