Commit Graph

522 Commits

Author SHA1 Message Date
Krasimir Angelov
8317e09036 the parser in the C runtime now respects linref too 2017-08-22 20:18:20 +02:00
Krasimir Angelov
6e5f2b076d fix for linearization of metavariables 2017-08-21 15:04:46 +02:00
Krasimir Angelov
a8eeb49767 the linearizer API now allows to detect metavariables. This is used for instancein the lookup where the tokens produced from the metavariables are interpreted as distinct from all other tokens. 2017-08-07 16:39:19 +02:00
Krasimir Angelov
a4c19875ed fix the sentence lookup for cases when the top category is undefined. 2017-08-07 14:47:20 +02:00
krasimir
3464e912c1 filtering during the lookup nicely integrates with concretization 2017-06-27 19:30:43 +00:00
krasimir
e8726b1cfa faster lookup 2017-06-23 17:52:43 +00:00
krasimir
2af8ffb269 fix in the lookup debuger 2017-06-01 09:08:42 +00:00
krasimir
20a4887311 reintroduce counts as a prefilter before applying cosine similarity 2017-06-01 09:06:35 +00:00
krasimir
2036606d61 more debug information in the lookup 2017-06-01 08:27:02 +00:00
krasimir
2a8d2806e4 lookup for syntagmatic words 2017-05-30 12:35:02 +00:00
krasimir
bf3557cf90 finally a smoothed and more precise ranking for lookups 2017-05-30 11:42:32 +00:00
krasimir
4c59db0dac another fix for the compilation of the bindings to the runtime 2017-05-26 08:54:12 +00:00
krasimir
8de69b0c31 an optimized string kernel 2017-05-24 19:44:32 +00:00
krasimir
f612311c65 fix in linearizer.h to make the JAVA binding compile 2017-05-23 21:11:11 +00:00
krasimir
cb67a24c99 an optimized expression extraction in the lookup 2017-05-23 21:06:17 +00:00
krasimir
622274180a a naive buf working ranking in the sentence lookup 2017-05-23 14:07:55 +00:00
krasimir
08f9f6fbaf bugfix in the stack handling during lookup 2017-05-16 10:55:00 +00:00
krasimir
578f84dd4f switch off the debugging mode in the sentence lookup 2017-05-12 11:13:15 +00:00
krasimir
7db25c5a74 bugfix in the sentence lookup 2017-05-12 10:51:49 +00:00
krasimir
577b7662d8 the first prototype for sentence lookup 2017-05-12 09:31:47 +00:00
krasimir
a839bdc687 bugfix for print names in the C runtime and expose the functionality from Java 2017-05-11 09:11:30 +00:00
krasimir
7dd171cdcc optimize memory allocation in the lookup by using worker pools 2017-05-04 08:29:51 +00:00
krasimir
a05194a350 remove duplicate entries from the lookup index 2017-05-04 08:21:29 +00:00
krasimir
73e9eb934a merging spines 2017-05-04 07:55:11 +00:00
krasimir
d0269e8513 first steps for sentence lookup in the C runtime 2017-05-03 16:28:20 +00:00
krasimir
1bfeab104c more changes to make the C runtime compilable with MSVC 2017-04-19 18:59:42 +00:00
krasimir
7d72d99c2f explicitly classify all functions in libpgf as either internal or API functions 2017-04-19 09:34:23 +00:00
krasimir
2588a6f016 gu_string_buf -> gu_new_string_buf in libgu 2017-04-13 13:43:48 +00:00
krasimir
9aeb45e1cc full support for Latin1 GF identifiers in the C runtime 2017-04-13 12:57:11 +00:00
krasimir
2551ab740b silence a few warnings on MacOS 2017-04-13 11:07:08 +00:00
krasimir
a8eaa2f2e5 a patch from Bjørnar Luteberget for compatibility with MSVC 2017-04-12 10:24:56 +00:00
krasimir
3467a54965 bring the Haskell binding a bit closer to the pure Haskell API 2017-01-26 12:48:22 +00:00
krasimir
6af632dd18 added mkMeta and unMeta in the Haskell binding 2017-01-26 10:17:02 +00:00
krasimir
8b8812baa2 pgf_generate_all now emits __mock_string__ instead of FOO for String literals. 2016-06-16 08:08:45 +00:00
krasimir
3381ae1aa0 added getFunctionProb in the Java and C API 2016-05-30 11:25:59 +00:00
krasimir
13f9a42ae5 fix the word completion in the C runtime 2016-05-25 12:19:26 +00:00
krasimir
0894f55661 fix the compilation when debugging is switched off 2016-05-25 09:42:24 +00:00
krasimir
faebebc8f4 pgf_generate_all now works with literals as well 2016-05-25 09:36:05 +00:00
krasimir
41a3054e9b when expressions with Float literals are printed, we should use the same format that is used by the linearizer 2016-05-25 09:34:40 +00:00
krasimir
80a96b3a85 an API for oracles in the GF parser 2016-05-10 17:11:39 +00:00
krasimir
983da7adfc more fixes for GNU Lightning for ARM 2016-04-14 13:47:56 +00:00
krasimir
114e95f43b fix in evaluator.c 2016-04-14 13:47:29 +00:00
krasimir
6a0ed34b11 bugfix in GNU Lightning for ARM 2016-04-14 08:26:07 +00:00
krasimir
76a6cc1bb5 bugfix in the JIT compiler for 64bit machines 2016-04-13 14:58:12 +00:00
krasimir
e8e52de6b9 locale independent printing for doubles when they are part of an abstract expression 2016-04-13 14:30:40 +00:00
krasimir
c0344e936a fix for reading PgfExpr with a double literal 2016-04-13 14:08:49 +00:00
krasimir
4a38cc1e7b fix a rather intricate bug where coercions in the PMCFG grammar didn't interact properly with the lazy parser 2016-01-26 14:29:06 +00:00
krasimir
8dda2dfbff added API for reading a list of tuples in the SG module 2015-12-22 13:50:01 +00:00
krasimir
028de0468b pgf_read should close the input file. 2015-12-22 09:29:14 +00:00
krasimir
0b9395fd70 a fix that should solve the segmentation fault on MacOS with the exhaustive generator 2015-12-19 17:30:41 +00:00