Commit Graph

1088 Commits

Author SHA1 Message Date
Thomas Hallgren
0a0eaa01bc Bump version requirements to base>=4.6, Cabal>=1.20
Cabal>=1.20 allows control over parallelism when compiling grammars from
Setup.hs and WebSetup.hs.

base>=4.6 allows conditional compilation with CPP to be eliminated from
a few modules.

base-4.6 corresponds to GHC 7.6.3, which is what you get in
Debian 8 (aka jessie, aka oldstable) from 2015.
2017-08-18 11:55:44 +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
Thomas Hallgren
9a39476e5a src/runtime/java/Makefile: fixes to find jni.h and jni_md.h in more cases 2017-08-11 15:09:28 +02:00
Thomas Hallgren
a0e7e3bf83 A couple of fixes for GHC 8.2.1 compatibility 2017-08-11 10:07:43 +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 Angelov
ed33e53b2e added org.grammaticalframework.pgf.Expr.unStr 2017-08-07 11:48:40 +02:00
Krasimir Angelov
a4b6c8cb1b added the Expr.unMeta method in the Java binding 2017-07-07 11:21:34 +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
ecbe747cbc bugfixes in the Java binding 2017-06-10 19:31:06 +00:00
aarne
9e206496a7 handling combination of &+ and &| 2017-06-02 06:11:44 +00:00
aarne
d1eb0aa657 handling capitalization (&|) in unlexer -bind 2017-06-02 06:06:57 +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
539a1a7d23 a bit more documentation copied from Java 2017-05-31 19:01:04 +00:00
krasimir
957bc999a3 bits of documentation for the .NET binding 2017-05-31 18:48:56 +00:00
krasimir
e1cec06f74 .NET binding to GF by Bjørnar Luteberget 2017-05-31 13:48:36 +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
151184718d bugfix in the Java binding 2017-05-15 08:45:40 +00:00
krasimir
578f84dd4f switch off the debugging mode in the sentence lookup 2017-05-12 11:13:15 +00:00
krasimir
2b911792ee sentence lookup API from Java 2017-05-12 11:12:29 +00:00
krasimir
7db25c5a74 bugfix in the sentence lookup 2017-05-12 10:51:49 +00:00
krasimir
ca891c912b a binding to the sentence lookup from Haskell 2017-05-12 09:32:25 +00:00
krasimir
577b7662d8 the first prototype for sentence lookup 2017-05-12 09:31:47 +00:00
krasimir
ebb085326e just for fun: hashCode for expressions 2017-05-11 13:41:41 +00:00
krasimir
c2c95644bd an API for inspecting expressions in Java 2017-05-11 13:35:56 +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
2cf98147e6 construction of Int and Float literals in the Java binding 2017-05-11 07:44:10 +00:00
krasimir
a77ae5da30 added Expr.apply 2017-05-10 14:41:55 +00:00
krasimir
83117602af bugfix in the Java binding 2017-05-10 13:31:14 +00:00
krasimir
2675aec1f9 a simple optimization for getCategories, getFunctions, getFunctionsByCat in the Java binding 2017-05-10 12:46:32 +00:00
krasimir
6283489260 finished Type.getHypos & added Hypo.getType 2017-05-10 12:19:27 +00:00
krasimir
2f9c1c3764 a partial implementation for Type.getHypos. at least it lets us to count the number of arguments to a function 2017-05-10 08:40:12 +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