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
e650b9c5fc
use gu_string_buf_data in the Java binding to avoid double copying of strings
2017-04-13 13:21:32 +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
3c36318246
added linearizeAll in the Java API
2017-01-24 10:14:12 +00:00
krasimir
3381ae1aa0
added getFunctionProb in the Java and C API
2016-05-30 11:25:59 +00:00
krasimir
69433b9660
the Java API now also has access to the token's category while doing completion
2016-05-25 12:39:51 +00:00
krasimir
fdf4bd3196
change the API for literals in Java and Python. The input sentence is no longer a parameter to the callbacks.
2016-05-20 15:20:02 +00:00
krasimir
627abeb703
added PGF.inferExpr and Type.toString in the Java binding
2016-04-14 13:12:22 +00:00
krasimir
f0014f61a7
added PGF.compute in the Java binding
2016-04-13 12:57:06 +00:00
krasimir
f0ca9cd732
added getFunctionsByCat
2016-04-13 12:49:08 +00:00
krasimir
1019b7faf5
added getCategories() and getFunctions() in the Java binding
2016-04-13 12:02:42 +00:00
krasimir
008ca97428
added Expr.equals method in the Java binding
2015-11-26 15:38:12 +00:00
krasimir
3328dd1f8d
Java API for opening/closing SG databases
2015-09-03 13:52:32 +00:00
krasimir
e97e377b05
silence compilation warnings in the Java binding
2015-09-03 10:11:23 +00:00
krasimir
b3680b6025
merge the states for reasoning and evaluation into a single structure
2015-07-03 11:53:52 +00:00
krasimir
ce05465365
the callbacks in C now take the concrete syntax as a parameter
2015-05-18 14:41:33 +00:00
kr.angelov
9bc5349e62
change in the API for literals
...
The API in the C runtime as well as in the Haskell, Python and Java binding
is changed. Now instead of adding the literal callbacks to the concrete syntax
you need to supply them every time when you need to parse. The main reason is:
- referentially transparent API for Haskell
- when we start using memory mapped files we will not be allowed to change
anything in the grammar data structures. At that point the old API would
be impossible to use.
2014-12-16 10:21:26 +00:00
kr.angelov
00922153aa
CAPIT is now naturally supported in the C runtime
2014-10-22 15:05:55 +00:00
kr.angelov
86e9acc7a7
throw away the long obsolete runtime type information in the C runtime
2014-10-09 13:44:26 +00:00
kr.angelov
abb50f9c73
added bracketedLinearize in the Java binding
2014-07-02 07:08:01 +00:00
kr.angelov
4a7055e994
fixed rare memory leak in the Java bindings
2014-07-02 07:06:51 +00:00
kr.angelov
7aa8bf4150
fix warnings in the compilation of the Java binding
2014-07-01 17:31:29 +00:00
kr.angelov
dbb4fdd0f7
bugfix in the Java binding. it was causing a crash in the Android app
2014-05-23 10:52:00 +00:00
kr.angelov
41c8749b5c
fix the literals API in Java for strings with non-latin characters
2014-05-08 14:56:46 +00:00
kr.angelov
d278965095
an initial Java/C API for predicting literals. Still not utilized
2014-04-25 08:53:18 +00:00
kr.angelov
b82f9a5035
expose Java API for word completion
2014-04-11 07:50:22 +00:00
kr.angelov
65b4ba2459
change the JVM version to 1.6 in JNI_OnLoad
2014-04-11 07:15:27 +00:00
kr.angelov
dbc8a6f579
bugfix in the Java binding
2014-04-10 16:43:40 +00:00
kr.angelov
1ca09448f9
now fully functional Java API for custom literals
2014-04-10 14:14:31 +00:00
kr.angelov
ae1512c926
compute the right word probability
2014-03-12 15:36:40 +00:00
kr.angelov
2132eb6bed
added Java API to the simple word completion
2014-03-07 21:29:26 +00:00
kr.angelov
319308007c
fix in the Java binding after the implementation for pre
2014-03-07 21:28:40 +00:00
kr.angelov
c197de7fbd
rename pgf_lzr_linearize_table to pgf_lzr_get_table
2014-03-04 10:13:23 +00:00
kr.angelov
97d56065c4
load/unload in the Java binding
2013-12-10 16:06:34 +00:00
kr.angelov
f5ec987c5d
better dictionary visualization in the Android App
2013-11-27 22:16:05 +00:00
kr.angelov
b0a74ddc59
added API in the C runtime and the Java binding for checking whether a given function is linearizable in a given language. This is used in the Android UI for better vizualizations
2013-11-27 12:35:11 +00:00
kr.angelov
7a428198c6
space leak in the Java binding
2013-11-27 12:34:06 +00:00
kr.angelov
a50724ca2c
the Java binding for lookupMorpho should release the local references created in a loop
2013-11-21 14:29:47 +00:00
kr.angelov
62dee6c805
added #ifdef to detect MinGW in the Java binding and to import the right header for alloca
2013-11-07 08:08:41 +00:00
kr.angelov
7caf89b382
bugfix in the Java binding
2013-11-06 14:41:42 +00:00
kr.angelov
0882396875
tabular linearization in the C and Java runtimes
2013-10-23 14:49:28 +00:00
kr.angelov
f7fb6fa5bc
readExpr in the Java binding
2013-10-11 08:10:04 +00:00
kr.angelov
c9b2e11782
added lookupMorpho in the Java binding
2013-10-09 19:39:50 +00:00
kr.angelov
f58d684ab4
fix in the Java binding
2013-10-09 19:37:57 +00:00
kr.angelov
8cf03bc5b6
a major redesign in the C runtime. The parser and the linearizer now fully support BIND. The following things are still broken: parseval, word completion, handling 'pre', the robust mode
2013-10-09 12:08:51 +00:00