Commit Graph

4382 Commits

Author SHA1 Message Date
Thomas Hallgren
7b0deda45a Disable detailed version info from darcs
TODO: get version info from git instead.
2017-08-11 15:33:21 +02:00
Thomas Hallgren
97e61c27fb 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
944bb5e61e A couple of fixes for GHC 8.2.1 compatibility 2017-08-11 10:07:43 +02:00
Krasimir Angelov
833fd77f00 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
c08c44a17d fix the sentence lookup for cases when the top category is undefined. 2017-08-07 14:47:20 +02:00
Krasimir Angelov
ec4a11ce25 added org.grammaticalframework.pgf.Expr.unStr 2017-08-07 11:48:40 +02:00
Krasimir Angelov
47a4218d21 added the Expr.unMeta method in the Java binding 2017-07-07 11:21:34 +02:00
krasimir
0cb10ac35b filtering during the lookup nicely integrates with concretization 2017-06-27 19:30:43 +00:00
krasimir
45bff297c2 faster lookup 2017-06-23 17:52:43 +00:00
aarne
6d922dc945 added Arabic question mark to arabic and persian transliterations, as well as the zero-width non-joiner U+200C to persian" 2017-06-14 12:32:17 +00:00
krasimir
24866be6fb bugfixes in the Java binding 2017-06-10 19:31:06 +00:00
aarne
21e6663a3e handling combination of &+ and &| 2017-06-02 06:11:44 +00:00
aarne
4e56a16cab handling capitalization (&|) in unlexer -bind 2017-06-02 06:06:57 +00:00
krasimir
3007072cc4 fix in the lookup debuger 2017-06-01 09:08:42 +00:00
krasimir
8176470e2a reintroduce counts as a prefilter before applying cosine similarity 2017-06-01 09:06:35 +00:00
krasimir
234a0d5e99 more debug information in the lookup 2017-06-01 08:27:02 +00:00
krasimir
8aede6b08a a bit more documentation copied from Java 2017-05-31 19:01:04 +00:00
krasimir
a96eb01fe5 bits of documentation for the .NET binding 2017-05-31 18:48:56 +00:00
krasimir
0b3ac637a5 .NET binding to GF by Bjørnar Luteberget 2017-05-31 13:48:36 +00:00
krasimir
c154cdb649 lookup for syntagmatic words 2017-05-30 12:35:02 +00:00
krasimir
73728265e3 finally a smoothed and more precise ranking for lookups 2017-05-30 11:42:32 +00:00
krasimir
0b2dc074ac another fix for the compilation of the bindings to the runtime 2017-05-26 08:54:12 +00:00
krasimir
9f44fa89f2 an optimized string kernel 2017-05-24 19:44:32 +00:00
krasimir
aa836aa86d fix in linearizer.h to make the JAVA binding compile 2017-05-23 21:11:11 +00:00
krasimir
9ec86417cb an optimized expression extraction in the lookup 2017-05-23 21:06:17 +00:00
krasimir
fc3be2b937 a naive buf working ranking in the sentence lookup 2017-05-23 14:07:55 +00:00
krasimir
3eb7c464c3 bugfix in the stack handling during lookup 2017-05-16 10:55:00 +00:00
krasimir
1454c511cf bugfix in the Java binding 2017-05-15 08:45:40 +00:00
krasimir
df502afc2c add lookup.c to Android.mk 2017-05-13 11:23:19 +00:00
krasimir
9aa10a46bc switch off the debugging mode in the sentence lookup 2017-05-12 11:13:15 +00:00
krasimir
38ad3774e7 sentence lookup API from Java 2017-05-12 11:12:29 +00:00
krasimir
a35e3ebff7 bugfix in the sentence lookup 2017-05-12 10:51:49 +00:00
krasimir
e2b70c07ca a binding to the sentence lookup from Haskell 2017-05-12 09:32:25 +00:00
krasimir
77c472abca the first prototype for sentence lookup 2017-05-12 09:31:47 +00:00
krasimir
58fa086e10 just for fun: hashCode for expressions 2017-05-11 13:41:41 +00:00
krasimir
4b241790e6 an API for inspecting expressions in Java 2017-05-11 13:35:56 +00:00
krasimir
77a91bdd1a bugfix for print names in the C runtime and expose the functionality from Java 2017-05-11 09:11:30 +00:00
krasimir
f5c98af811 construction of Int and Float literals in the Java binding 2017-05-11 07:44:10 +00:00
krasimir
788124a96c added Expr.apply 2017-05-10 14:41:55 +00:00
krasimir
a9a6505eaf bugfix in the Java binding 2017-05-10 13:31:14 +00:00
hallgren
71b4ae3a0a PGFService.hs: fix problem when compiling without C run-time support
The previous patch introduced an indentation problem in the code that is used
when compiling without C run-time support.
2017-05-10 12:59:57 +00:00
krasimir
5f5190b175 a simple optimization for getCategories, getFunctions, getFunctionsByCat in the Java binding 2017-05-10 12:46:32 +00:00
krasimir
4a172bbb3e finished Type.getHypos & added Hypo.getType 2017-05-10 12:19:27 +00:00
krasimir
7455771d64 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
a3768695b3 some extensions in the conceptual editor needed for the SBAR app 2017-05-06 07:46:39 +00:00
hallgren
6a36dacee7 PGFService: add CncLabels support to command=deptree
CncLabels are read from a file in the same directory as the PGF file and
with the same name as the concrete syntax + extension .labels, 
e.g. ResourceDemo.pgf would use labels from

	ResouceDemo.labels	(abslabels)
	ResouceDemoEng.labels	(clclabels)
2017-05-05 14:01:02 +00:00
hallgren
9a3f8d0573 minibar_translations.js: remove dead code 2017-05-05 13:54:43 +00:00
krasimir
5c8b6d060c optimize memory allocation in the lookup by using worker pools 2017-05-04 08:29:51 +00:00
krasimir
c251da29dd remove duplicate entries from the lookup index 2017-05-04 08:21:29 +00:00
krasimir
830a083fd6 merging spines 2017-05-04 07:55:11 +00:00