John J. Camilleri
d563abb928
Minors
2021-02-13 00:59:15 +01:00
John J. Camilleri
98f6136ebd
Add support for BIND
2021-02-13 00:14:35 +01:00
John J. Camilleri
8cfaa69b6e
Handle record tables, pass FoodSwe in testsuite
2021-02-12 23:51:16 +01:00
John J. Camilleri
9c2d8eb0b2
Add FoodsChi, FoodsHeb to LPGF testsuite
2021-02-09 10:14:40 +01:00
John J. Camilleri
34f0fc0ba7
Fix bug in dynamic parameter handling, compile FoodsBul successfully
2021-02-03 15:41:27 +01:00
John J. Camilleri
132f693713
Minor cleanup
2021-02-03 09:44:15 +01:00
John J. Camilleri
c94bffe435
Generalise testsuite script to use treebank files, add FoodEng
2021-02-02 21:22:36 +01:00
John J. Camilleri
fe15aa0c00
Use canonical GF in LPGF compiler
...
Still contains some hardcoded values, missing cases.
I notice now that LPGF and Canonical GF are almost identical, so maybe we don't need a new LPGF format,
just a linearization-only runtime which works on canonical grammars.
The argument for keeping LGPF is that it would be optimized for size and speed.
2021-02-01 12:28:06 +01:00
John J. Camilleri
270e7f021f
Add binary instances
2021-01-25 14:42:00 +01:00
John J. Camilleri
f24c50339b
Strip down format. More early work on compiler. Add testsuite (doesn't work yet).
2021-01-25 12:10:30 +01:00
John J. Camilleri
cd5881d83a
Early work on LPGF compiler
2021-01-22 15:17:36 +01:00
John J. Camilleri
93b81b9f13
Add first version of LPGF datatype, with linearization function and some hardcoded examples
2021-01-22 14:07:41 +01:00
krangelov
d4ccd2848c
Take a step back and do bottom up prediction only when needed. This solves the problem that some sentences were impossible to parse.
2020-11-17 10:26:00 +01:00
krangelov
f3a8658cc1
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-10-02 19:55:24 +02:00
krangelov
bfb94d1e48
fix parsing with HOAS
2020-10-02 19:34:52 +02:00
John J. Camilleri
d95b3efd6b
Add instructions for uploading PGF2 to Hackage
2020-09-18 10:49:21 +02:00
John J. Camilleri
db8b111e72
Bump PGF2 to 1.2.1
2020-09-18 10:34:45 +02:00
Andreas Källberg
56f94da772
Merge remote-tracking branch 'origin/master' into fix-newer-cabal
2020-09-05 21:11:12 +02:00
krangelov
90fc1d750e
remove the deprecated pgf_print_expr_tuple
2020-08-14 21:03:48 +02:00
krangelov
24beed9a95
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-08-14 20:56:20 +02:00
krangelov
23edeec5a9
added an API for cloning expressions/types/literals
2020-08-14 20:54:15 +02:00
Andreas Källberg
251845f83e
First attempt at fixing incompabilities with newer cabal
2020-08-05 18:48:24 +02:00
John J. Camilleri
deddde953f
Add script for uploading PGF2 documentation to Hackage
...
Hackage's attempt to build the package will fail because of missing C libraries
2020-08-03 14:22:32 +02:00
John J. Camilleri
c53353f087
Updates to PGF2 readme
2020-07-28 22:54:34 +02:00
John J. Camilleri
f00f0cb0ef
Bump pgf2 to 1.2.0
2020-07-28 22:36:49 +02:00
John J. Camilleri
22d5f31d74
Merge remote-tracking branch 'origin/master' into pgf2-hackage
2020-07-28 22:19:15 +02:00
krangelov
d7965d81b4
parseToChart also returns the category
2020-07-26 15:56:21 +02:00
krangelov
a2d7f1369c
filter out empty brackets
2020-07-26 15:55:18 +02:00
krangelov
0cee82f715
the if is actually unnecessary
2020-07-22 16:55:21 +02:00
krangelov
7229033e42
bugfix in bracketedLinearize
2020-07-22 16:26:05 +02:00
John J. Camilleri
38f468eed3
(pgf2) Readme, license, changelog
2020-07-11 21:06:08 +02:00
John J. Camilleri
88a73c1d9e
Bump pgf2 to 1.1.0, update README
2020-07-11 20:00:25 +02:00
krangelov
77a2630ed9
revert to using unconditional probabilities in the different lookup functions
2020-07-11 09:52:43 +02:00
John J. Camilleri
f54e54123c
Merge remote-tracking branch 'origin/master' into pgf2-hackage
...
# Conflicts:
# src/runtime/haskell-bind/pgf2.cabal
2020-07-08 22:07:08 +02:00
John J. Camilleri
2ac796dbbc
Remove PGF from PGF2, clean up PGF2 cabal file.
2020-07-08 21:55:42 +02:00
krangelov
33818076ff
drop the SG library completely.
2020-07-08 21:12:01 +02:00
aarneranta
8a052edca2
an attempt to solve record extension overloading bug, commented out for the moment
2020-07-06 18:01:59 +02:00
John J. Camilleri
ab3c6ec4eb
Update descriptions in Python bindings setup.py
2020-06-17 11:36:31 +02:00
krangelov
165c5a6d9d
bugfix in parsing literals
2020-05-20 19:57:33 +02:00
krangelov
0ad1c352fe
expose lookupCohorts in Python
2020-05-20 16:12:50 +02:00
krangelov
48d3973daa
fix the uggly typo that broke the literals.
2020-05-20 10:15:53 +02:00
krangelov
9a1f982b14
split unknown words by spaces
2020-05-16 08:32:00 +02:00
krangelov
e8653135d4
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2020-05-14 15:05:13 +02:00
krangelov
62bc78380e
lookupCohorts now detects and reports unknown words. Also:
...
- added added two filtering functions: filterLongest and filterBest
- updated the PGF service to work with the new API
2020-05-14 15:03:30 +02:00
aarneranta
65c810f085
accepting gf-ud style abslabels in gf-core ; cnclabels TODO
2020-05-05 15:46:48 +02:00
Johan Dahlin
589c358389
Expose PGF/Concr/Iter/Bracket
...
Expose the remaining types in the module.
These are helpful for example in type annotations.
2020-04-01 21:37:13 -03:00
krangelov
57a1ea5b56
forgot the conversion of the annotation string to jstring
2020-04-01 16:26:03 +02:00
krangelov
762d83c1f0
switch off the debugger
2020-03-25 20:03:06 +01:00
krangelov
733fdac755
restore the sequence ordering after -optimize-pgf
2020-03-15 19:57:47 +01:00
krangelov
00e25d0ccb
an API to access the names of all fields withing a category
2020-03-06 12:29:08 +01:00