Commit Graph

5650 Commits

Author SHA1 Message Date
Krasimir Angelov 1e4ab95e41 added option -output-format=java for producing code for embedded grammars in Java 2017-08-29 20:53:47 +02:00
Krasimir Angelov b7b7a7c91c the embedded grammars now work with both the pure Haskell and the Haskell binding API 2017-08-29 18:44:50 +02:00
Krasimir Angelov e9e5952eac implemented visitor pattern in Java 2017-08-29 17:55:30 +02:00
Krasimir Angelov 77e9f40bde added signatures for missing API functions in Java. The implementation is still missing 2017-08-29 15:36:27 +02:00
Krasimir Angelov 2f4ed21109 rename unApply to unApp in the Java binding to be consistent with Haskell & Python 2017-08-29 14:03:17 +02:00
Krasimir Angelov 20b72f477a added bracketedLinearize in the Haskell binding 2017-08-29 11:58:12 +02:00
Krasimir Angelov d4026a64f4 tabularLinearize in the Haskell binding 2017-08-28 15:09:34 +02:00
Krasimir Angelov a0fc2f28e8 more in the runtime documentation 2017-08-28 14:23:47 +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
Krasimir Angelov dfc32b9616 lookupSentence is now available from Python 2017-08-20 20:21:33 +02:00
Krasimir Angelov 0a3b822313 ????
Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF
2017-08-18 21:27:40 +02:00
Krasimir Angelov 1f3c9d0b17 the parser is not forced to respect the linref while parsing discontious phrases 2017-08-18 21:23:58 +02:00
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 8484dabd5b Disable detailed version info from darcs
TODO: get version info from git instead.
2017-08-11 15:33:21 +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
aarne d51cbb0f1a 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 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 27bb1398b4 add lookup.c to Android.mk 2017-05-13 11:23:19 +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