Krasimir Angelov
|
8f3dbe150d
|
restore the package name
|
2023-01-24 20:20:16 +01:00 |
|
Krasimir Angelov
|
0bfb3794c1
|
temporary rename the package to test the build action for macOS
|
2023-01-24 20:13:33 +01:00 |
|
Krasimir Angelov
|
efe92fb5be
|
upgrade to haskell/actions/setup@v2
|
2023-01-24 19:10:46 +01:00 |
|
Krasimir Angelov
|
62506dc59d
|
upgrade to actions/checkout@v3
|
2023-01-24 19:03:10 +01:00 |
|
Krasimir Angelov
|
6fb064e82c
|
switch to setuptools
|
2023-01-23 22:23:35 +01:00 |
|
Krasimir Angelov
|
a912da9b13
|
fix bracketed linearization for metavariables
|
2023-01-23 21:37:06 +01:00 |
|
Krasimir Angelov
|
e895ccdaee
|
an attempt to fix the compilation on Windows
|
2023-01-23 19:13:34 +01:00 |
|
Krasimir Angelov
|
dae9009c86
|
report the right function in the bracket even if there is no lin
|
2023-01-16 13:33:02 +01:00 |
|
Krasimir Angelov
|
7d189aa933
|
fix for BIND in bracketedLinearize
|
2022-12-17 17:01:04 +01:00 |
|
Krasimir Angelov
|
82039c22d3
|
added bracketed linearize
|
2022-12-17 10:21:43 +01:00 |
|
Krasimir Angelov
|
04a263d7d4
|
fix bracketed linearization in case of nonExist
|
2022-12-10 20:18:23 +01:00 |
|
Krasimir Angelov
|
a3111f3be7
|
fix after the introduction of name patterns
|
2022-12-10 20:17:10 +01:00 |
|
Krasimir Angelov
|
00227014b8
|
simpler but working name allocator
|
2022-12-10 18:43:26 +01:00 |
|
Krasimir Angelov
|
8f7e4c084c
|
an API to create unique function names
|
2022-12-05 08:11:43 +01:00 |
|
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 |
|
Krasimir Angelov
|
01c46479c6
|
another attempt to fix compilation
|
2022-08-17 10:22:12 +02:00 |
|
Krasimir Angelov
|
b378834756
|
try to restrict the GHC version for now
|
2022-08-17 10:14:25 +02:00 |
|
Krasimir Angelov
|
464c0001c4
|
remove the version limit for base
|
2022-08-17 09:56:32 +02:00 |
|
Krasimir Angelov
|
24cac8e41a
|
update the Makefile to use the new style cabal
|
2022-08-17 09:54:32 +02:00 |
|
Krasimir Angelov
|
6d81306320
|
Try to remove the upper version for base
|
2022-08-17 09:49:37 +02:00 |
|
Krasimir Angelov
|
c8f37680f5
|
trying to fix the compilation on github
|
2022-08-17 09:44:04 +02:00 |
|
Krasimir Angelov
|
62344d1325
|
manually copy the logo to the www directory. Copying in Setup.hs doesn't work with the new Cabal
|
2022-08-16 21:03:44 +02:00 |
|
Krasimir Angelov
|
3bdd9dc022
|
add missing MonadFail constraint for newer GHC
|
2022-08-16 20:06:51 +02:00 |
|
Krasimir Angelov
|
6c0e4bc08e
|
switch to the new style cabal
|
2022-08-16 20:05:55 +02:00 |
|
krangelov
|
3acb7d2da4
|
silence harmless warnings
|
2022-08-12 10:54:43 +02:00 |
|
krangelov
|
08fb29e6b8
|
fix the reference counting for pgf.BIND
|
2022-08-12 10:51:56 +02:00 |
|
Krasimir Angelov
|
ada8ff8faa
|
bugfix which makes lookupCohorts fast again
|
2022-07-30 18:22:58 +02:00 |
|
Krasimir Angelov
|
a42cec2107
|
support for BIND tokens in the Python bindings
|
2022-07-16 20:29:36 +02:00 |
|
Krasimir Angelov
|
eb41d2661f
|
bugfix in readContext
|
2022-07-14 15:56:11 +02:00 |
|
Krasimir Angelov
|
9ded2096fd
|
readExpr/readType/readContext can now identify local variables
|
2022-07-14 15:10:28 +02:00 |
|
Krasimir Angelov
|
3ba3f24e3a
|
disable macos-javascript as well
|
2022-07-14 11:52:59 +02:00 |
|
Krasimir Angelov
|
826a346e19
|
building the JavaScript binding is disabled until someone takes care of it
|
2022-07-14 11:50:35 +02:00 |
|
Krasimir Angelov
|
bc47a01223
|
another try
|
2022-07-14 11:46:19 +02:00 |
|
Krasimir Angelov
|
4d3e414776
|
another try
|
2022-07-14 11:37:36 +02:00 |
|
Krasimir Angelov
|
833a86960b
|
fix the binding after the API change
|
2022-07-14 11:25:00 +02:00 |
|
Krasimir Angelov
|
4d0f33e3c3
|
make it possible to replace the probabilities while reading a new .pgf
|
2022-07-14 11:04:45 +02:00 |
|
Krasimir Angelov
|
f1cad40394
|
lookupMorpho/lookupCohorts now report only lexical items
|
2022-07-12 14:02:08 +02:00 |
|
Krasimir Angelov
|
5b8212020f
|
finished the implementation of lookupCohorts
|
2022-07-12 12:46:50 +02:00 |
|
Krasimir Angelov
|
e546c2a0ce
|
added a simple implementation for priority queues.
|
2022-07-08 16:19:11 +02:00 |
|
Krasimir Angelov
|
b509d22482
|
show match positions for ma -all|-longest|-best
|
2022-07-07 19:37:06 +02:00 |
|
Krasimir Angelov
|
acc6f85041
|
fix to show all prefixes in lookupCohorts
|
2022-07-07 19:29:26 +02:00 |
|
Krasimir Angelov
|
cfd9fbc5ed
|
better documentation for "ma"
|
2022-07-07 14:18:29 +02:00 |
|
Krasimir Angelov
|
6c9f0cfe9c
|
make also filterLongest and filterBest available from the shell
|
2022-07-07 14:11:31 +02:00 |
|
Krasimir Angelov
|
a66693770c
|
started with lookupCohorts
|
2022-07-07 14:03:07 +02:00 |
|
Krasimir Angelov
|
c783da51a4
|
bugfix in lookupMorpho
|
2022-07-06 19:25:37 +02:00 |
|
Krasimir Angelov
|
c3c1cf2a64
|
on POSIX systems use mprotect to protect the data from accidental changes
|
2022-07-05 15:59:06 +02:00 |
|
Krasimir Angelov
|
73d4e326f7
|
consolidation of free blocks
|
2022-07-05 13:21:53 +02:00 |
|
Krasimir Angelov
|
96304a52d1
|
added checks to control compilation with emscripten
|
2022-07-04 14:26:04 +02:00 |
|
Krasimir Angelov
|
feb9b3373f
|
fix the type cast, to avoid warnings on some platforms
|
2022-07-04 14:25:17 +02:00 |
|
Krasimir Angelov
|
1862ba5cec
|
Define custom isdigit version. The expression parser now uses the custom isspace and isdigit
|
2022-07-04 14:24:06 +02:00 |
|
Krasimir Angelov
|
4d446fcd3f
|
Merge branch 'master' of github.com:GrammaticalFramework/gf-core
|
2022-07-04 10:42:59 +02:00 |
|