kr.angelov
5c9ee467a9
a major reimplementation of the linearizer in the C runtime
2012-12-19 09:07:05 +00:00
jordi.saludes
1e8fcd8b1f
Make distinct Masc~Fem,Pl in artDef Cat.
2012-12-18 21:14:03 +00:00
jordi.saludes
d50df6d404
must_VV in Cat should have the genitive "de" attached.
2012-12-17 21:28:24 +00:00
kr.angelov
008c18a8a7
fixed accidental bug in pgf-parse.c
2012-12-18 15:42:04 +00:00
hallgren
3755ea673a
partial evaluator bug fix
...
Int was missing from the list of predefined canonical constants.
2012-12-18 13:03:20 +00:00
kr.angelov
dc809da91f
the C runtime now can read abstract expressions with literals and meta variables
2012-12-18 12:29:30 +00:00
kr.angelov
51d301d83c
updated statistical model
2012-12-17 10:31:04 +00:00
kr.angelov
a3f28fb521
some fixes in DictEng
2012-12-17 10:24:46 +00:00
normundsg
ce34c399e0
Some fixes to the Russian Phrasebook
2012-12-17 09:57:13 +00:00
kr.angelov
32905c8363
debugging infrastructure in the reasoner
2012-12-14 21:25:00 +00:00
kr.angelov
5cec2d5a50
bugfix for the reasoner in the C runtime
2012-12-14 21:24:17 +00:00
kr.angelov
b367dfd80f
a bit more flexible API for parsing in Python
2012-12-14 16:00:52 +00:00
kr.angelov
8aefd1e072
The first prototype for exhaustive generation in the C runtime. The trees are always listed in decreasing probability order. There is also an API for generation from Python
2012-12-14 15:32:49 +00:00
hallgren
79711380a2
Add language extension for ghc<7.4
...
FlexibleInstances does not imply TypeSynonymInstances, apparently.
2012-12-14 14:21:46 +00:00
hallgren
950832dbba
More work on the new partial evaluator
...
The work done by the partial evaluator is now divied in two stages:
- A static "term traversal" stage that happens only once per term and uses
only statically known information. In particular, the values of lambda bound
variables are unknown during this stage. Some tables are transformed to
reduce the cost of pattern matching.
- A dynamic "function application" stage, where function bodies can be
evaluated repeatedly with different arguments, without the term traversal
overhead and without recomputing statically known information.
Also the treatment of predefined functions has been reworked to take advantage
of the staging and better handle partial applications.
2012-12-14 14:00:21 +00:00
kr.angelov
e1bab39458
bugfix in the lexer from the C runtime. the input sentence doesn't have to terminate with whitespace
2012-12-13 16:45:44 +00:00
kr.angelov
6bc32db1c3
added simple error handling in the Python test
2012-12-13 16:44:39 +00:00
kr.angelov
81428c768c
added a simple test for the Python binding
2012-12-13 16:19:56 +00:00
kr.angelov
eebd9e92c9
a bugfix for building questions in the Bulgarian resource grammar
2012-12-13 15:52:55 +00:00
kr.angelov
cc7ea9260b
an initial API for parsing and linearization from Python
2012-12-13 15:39:07 +00:00
kr.angelov
2ba632dc9f
a top-level API for parsing in the C runtime
2012-12-13 14:44:33 +00:00
kr.angelov
60942c440a
bugfix: the outside probability of a PgfItemConts must always be initialized to zero
2012-12-13 11:11:45 +00:00
kr.angelov
fe51a7fb98
bugfix: pgf_read_expr no longer requires a semicolon at the end of an abstract expression
2012-12-13 11:09:26 +00:00
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