Commit Graph

8652 Commits

Author SHA1 Message Date
Krasimir Angelov a6aa6c2a5a constant time and space grammar embedding 2022-11-16 09:43:09 +01:00
Krasimir Angelov 045f708a76 use pgf_free_concr_revision instead of pgf_free_revision 2022-11-14 20:58:49 +01:00
Krasimir Angelov 3b77edb8d0 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2022-11-12 19:46:22 +01:00
Krasimir Angelov fd3c31b74d fix space leak during the first transaction 2022-11-12 19:45:47 +01:00
Krasimir Angelov 9214f2a074 fix compilation with older GHC versions 2022-11-10 19:19:19 +01:00
Krasimir Angelov 5ca00ded84 added version constraints 2022-11-10 15:44:34 +01:00
Krasimir Angelov fda1353148 add consistant version numbers 2022-11-10 15:33:51 +01:00
Krasimir Angelov 43934e04de don't save the history in -run and -server modes to avoid space leaks 2022-11-04 22:53:44 +01:00
Krasimir Angelov a88c412e87 "create lin/lincat" should be able to see funs & cats in the current transaction 2022-11-04 22:03:29 +01:00
Krasimir Angelov 58910975ad fix compilation for Python < 3.10 2022-10-26 07:40:21 +02:00
Krasimir Angelov d784e2584b A lower-level transaction API and a transaction command in the shell 2022-10-24 10:44:40 +02:00
Krasimir Angelov 4b2e5d2f4c guard for missing linearization 2022-10-24 10:42:11 +02:00
Krasimir Angelov 39ac59c2b9 bugfixes related to old pointers 2022-10-24 10:37:38 +02:00
Krasimir Angelov d8aab2962c check for lins without funs 2022-10-21 13:41:41 +02:00
Krasimir Angelov 7ef4fe7555 basic linearization API 2022-10-19 14:33:38 +02:00
Krasimir Angelov 073459ad56 bugfix 2022-10-10 15:17:54 +02:00
Krasimir Angelov be721f3415 PGF.embed can now augment existing modules 2022-10-08 17:21:36 +02:00
Krasimir Angelov 706b74a15b bugfix: check for 0 before free_ref 2022-10-08 08:08:30 +02:00
Krasimir Angelov 35d6a12074 fix a space leak 2022-10-07 23:30:26 +02:00
Krasimir Angelov b39f481316 check for zero epsilon or backref pointers 2022-10-04 12:04:18 +02:00
Krasimir Angelov e2a7974853 partial support for epsilon rules 2022-10-04 11:44:22 +02:00
Krasimir Angelov 693ca7ffa5 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic 2022-10-03 11:55:37 +02:00
Krasimir Angelov 2accfa57f1 bugfix: the viterbi prob. of a state is computable only after we know the chunks 2022-10-03 11:54:17 +02:00
Krasimir Angelov 0bc7e8ea2e reuse PgfParser::before instead of the new PgfParser::fetch_state 2022-10-03 11:51:34 +02:00
Krasimir Angelov c15b5271a9 fix the printing of meta items 2022-10-03 11:48:40 +02:00
Krasimir Angelov 9f2cbe70fe fix the printer for the debug output after the last change 2022-10-03 11:47:36 +02:00
Krasimir Angelov f05b0ff82a pgf_expr_prob is now compatible with the parse model 2022-09-30 15:56:07 +02:00
Krasimir Angelov 855fa7ebf3 use TextSpots for correct extraction of unknown words 2022-09-30 11:58:09 +02:00
Krasimir Angelov 6b63c2f779 faster expression extraction 2022-09-30 11:34:04 +02:00
Krasimir Angelov 106d963d39 fix the printing of ExprItem 2022-09-30 10:45:14 +02:00
Krasimir Angelov 74f4317b98 detect chunks with more than one words 2022-09-29 18:49:31 +02:00
Krasimir Angelov cd280272f3 bottom up prediction and maximal chunks 2022-09-23 11:33:16 +02:00
Krasimir Angelov f8cfed15b4 add PGF_INTERNAL_DECL 2022-09-21 11:26:19 +02:00
Krasimir Angelov e600d5e623 PGF_INTERNAL_DECL -> PGF_INTERNAL 2022-09-21 11:24:30 +02:00
Krasimir Angelov 3e0cc91a02 first rudimentary version of a parser 2022-09-16 12:34:46 +02:00
Krasimir Angelov bcb1076dda don't try to translate empty sentences 2022-09-16 12:29:27 +02:00
Krasimir Angelov 1219b365a9 sync with the changes in http-slim 2022-09-09 12:33:10 +02:00
Krasimir Angelov a5468359ce switch to using http-slim 2022-09-09 09:43:02 +02:00
Krasimir Angelov 8c705d54b8 switch to using http-slim 2022-09-09 09:42:19 +02:00
Krasimir Angelov 173128bd46 Merge branch 'master' into majestic 2022-08-24 20:31:10 +02:00
Krasimir Angelov 8fd5c1e176 Merge branch 'master' into majestic 2022-08-24 20:09:28 +02:00
Krasimir Angelov dc8dce90a0 added a Setup script to compile without cabal-install 2022-08-24 14:00:22 +02:00
Krasimir Angelov e9bbd38f68 gf --version now prints the shared folder to be used by the RGL 2022-08-24 12:02:10 +02:00
Krasimir Angelov 3fac8415ca forgot to mention sudo 2022-08-24 12:00:43 +02:00
Krasimir Angelov 1294269cd6 workaround for the Nix madness 2022-08-24 11:57:47 +02:00
Krasimir Angelov bcd9184ede initial adaptation to the new runtime 2022-08-19 17:26:59 +02:00
Krasimir Angelov 743c473526 linearization for chunks 2022-08-19 16:37:56 +02:00
Krasimir Angelov a27e2dbbb4 fix a leak of stable pointers 2022-08-19 11:34:27 +02:00
Krasimir Angelov 44c78e8cc7 remove dead code 2022-08-17 10:33:54 +02:00
Krasimir Angelov aec123bb7d fix compilation on Mac as well. 2022-08-17 10:30:37 +02:00