Commit Graph

519 Commits

Author SHA1 Message Date
Krasimir Angelov
1ff8dd88e8 fix gu_encode_double 2017-09-13 17:20:00 +02:00
Krasimir Angelov
febf01a9be corrections in the PGF writer 2017-09-13 14:05:26 +02:00
Krasimir Angelov
df992c31fd added gu_out_u16be, gu_out_u64be and gu_out_f64be in libgu. The later is using gu_encode_double which is probably still wrong. Corrected gu_in_le and gu_in_f64be. 2017-09-13 10:23:28 +02:00
Krasimir Angelov
3e55aa4424 added function pgf_write 2017-09-13 09:30:52 +02:00
Krasimir Angelov
09e5278690 added PGF writer to the C runtime 2017-09-13 09:23:55 +02:00
Krasimir Angelov
527d97fdd2 fix the type signatures for the linearizer callbacks 2017-09-08 22:58:42 +02:00
Krasimir Angelov
16172be940 the C runtime should also install data.h in order to make it possible to access the internal structures 2017-09-07 21:34:39 +02:00
Krasimir Angelov
301b100988 word completion in the C parser now returns information about the function which generates the token 2017-09-06 14:37:51 +02:00
Krasimir Angelov
15d014abb8 the parser in the C runtime can now detect incomplete sentences just like the parser in the Haskell runtime. This is also reflected in all bindings. 2017-09-06 12:38:42 +02:00
Krasimir Angelov
30b7ba04c7 added exprFunctions in the Haskell binding 2017-09-05 10:07:43 +02:00
Krasimir Angelov
85cf2d9f5a added exprSize in the Haskell binding 2017-09-05 09:50:29 +02:00
Krasimir Angelov
71c4b4a246 instance Eq Expr in the Haskell binding 2017-09-04 14:49:44 +02:00
Krasimir Angelov
d5a7945ba0 complete details for the "ai" command in the C shell 2017-09-01 09:57:00 +02:00
Krasimir Angelov
5a37660811 added function treeProbability in the Haskell binding 2017-09-01 08:46:52 +02:00
Krasimir Angelov
b9c04fd612 graphvizWordAlignment in the C runtime 2017-08-31 13:03:11 +02:00
Krasimir Angelov
eaf9f0c3ac the C runtime now supports the same customizations for GraphViz as the Haskell runtime 2017-08-31 10:58:49 +02:00
Krasimir Angelov
cd53269f96 bugfix for hasLinearization in the Haskell binding 2017-08-30 18:11:59 +02:00
Krasimir Angelov
00388039f1 a nicer pretty printing for the PGF format 2017-08-22 21:13:21 +02:00
Krasimir Angelov
82153bf271 fix the id for fidStart in the C runtime 2017-08-22 20:28:59 +02:00
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
Thomas Hallgren
c642421fa9 configure.ac: use a Cabal-friendly version number
and replace the outdated URL
2017-08-17 11:58:23 +02:00
Thomas Hallgren
2d85550e54 Final changes before the release of GF 3.9 2017-08-11 21:11:24 +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
5f4c441361 add install pragma for CMake 2017-04-19 20:21:20 +00:00
krasimir
1bfeab104c more changes to make the C runtime compilable with MSVC 2017-04-19 18:59:42 +00:00
krasimir
5c93f2fba5 in libgu mark explicitly all functions that belong to the API 2017-04-19 12:30:40 +00:00
krasimir
7d72d99c2f explicitly classify all functions in libpgf as either internal or API functions 2017-04-19 09:34:23 +00:00