1
0
forked from GitHub/gf-core
Commit Graph

1889 Commits

Author SHA1 Message Date
John J. Camilleri 450368f9bb First attempt at adding support for complete in PGF2 (gives segmentation faults) 2021-05-03 13:19:08 +02:00
John J. Camilleri 60bc752a6f Add note about type-checking dynamic expressions in PGF2 Haddock
Closes #72
2021-04-30 14:59:20 +02:00
krangelov 8fbfc0b4a9 bracketedLinearize now reports the binding spots just like the Haskell binding 2021-02-26 14:58:31 +01:00
krangelov 655173932e fix type signature 2021-01-20 20:38:19 +01:00
krangelov 04f6f113f0 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core 2021-01-20 20:16:26 +01:00
krangelov bac619f025 fix gu_map_next 2021-01-20 20:15:40 +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
Liyana 4364b1d9fb Replaced Control.Monad.Error with Control.Monad.Except 2020-11-10 17:11:41 +08:00
Liyana dc6dd988bc Replaced inlinePerformIO with accursedUnutterablePerformIO 2020-11-10 17:01:47 +08: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
krangelov 9806232532 fix the build after the change in the morphological API 2020-03-05 12:24:01 +01:00
krangelov 88f76ef671 lookup_morpho, lookup_cohorts and fullform_lexicon now report the usual conditional probability. This turns out to be more useful for part of speech tagging 2020-03-05 12:04:42 +01:00
krangelov f22bd70585 The APIs for callbacks and the bracketed strings now use a string for the analysis intead of an integer. This is now consistent with lookupMorpho and friends 2020-03-05 11:58:21 +01:00
krangelov 2ab9fee8e4 Python 3 literal callbacks will receive offsets in number of characters instead of bytes 2020-01-17 12:41:54 +01:00