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
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
d3016421bb
use gu_string_buf_data in the Java binding to avoid double copying of strings
2017-04-13 13:21:32 +00:00
krasimir
74b0df2b6b
bring the Haskell binding a bit closer to the pure Haskell API
2017-01-26 12:48:22 +00:00
krasimir
f81651aa08
added linearizeAll in the Java API
2017-01-24 10:14:12 +00:00
krasimir
dc67018ab7
added getFunctionProb in the Java and C API
2016-05-30 11:25:59 +00:00
krasimir
e81b39a300
the Java API now also has access to the token's category while doing completion
2016-05-25 12:39:51 +00:00
krasimir
694cdffa72
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
727a94329c
added PGF.inferExpr and Type.toString in the Java binding
2016-04-14 13:12:22 +00:00
krasimir
6f0159e08e
added PGF.compute in the Java binding
2016-04-13 12:57:06 +00:00
krasimir
289957db74
added getFunctionsByCat
2016-04-13 12:49:08 +00:00
krasimir
18a5548b2b
added getCategories() and getFunctions() in the Java binding
2016-04-13 12:02:42 +00:00
krasimir
5dcdf46b90
added Expr.equals method in the Java binding
2015-11-26 15:38:12 +00:00
krasimir
5bcc2741fe
Java API for opening/closing SG databases
2015-09-03 13:52:32 +00:00
krasimir
4b1d958730
silence compilation warnings in the Java binding
2015-09-03 10:11:23 +00:00
krasimir
85e6e017af
merge the states for reasoning and evaluation into a single structure
2015-07-03 11:53:52 +00:00
krasimir
3ebadcbc3b
the callbacks in C now take the concrete syntax as a parameter
2015-05-18 14:41:33 +00:00
kr.angelov
9b7e18c25e
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
3a95d733dd
CAPIT is now naturally supported in the C runtime
2014-10-22 15:05:55 +00:00
kr.angelov
57f7b61c6b
throw away the long obsolete runtime type information in the C runtime
2014-10-09 13:44:26 +00:00
kr.angelov
42dea944d9
added bracketedLinearize in the Java binding
2014-07-02 07:08:01 +00:00
kr.angelov
410b7c78ce
fixed rare memory leak in the Java bindings
2014-07-02 07:06:51 +00:00
kr.angelov
3843f5505e
fix warnings in the compilation of the Java binding
2014-07-01 17:31:29 +00:00
kr.angelov
78d8524138
bugfix in the Java binding. it was causing a crash in the Android app
2014-05-23 10:52:00 +00:00
kr.angelov
802a106b3e
fix the literals API in Java for strings with non-latin characters
2014-05-08 14:56:46 +00:00
kr.angelov
b21f2c04e1
an initial Java/C API for predicting literals. Still not utilized
2014-04-25 08:53:18 +00:00
kr.angelov
a28d0d246f
expose Java API for word completion
2014-04-11 07:50:22 +00:00
kr.angelov
ea40bc151b
change the JVM version to 1.6 in JNI_OnLoad
2014-04-11 07:15:27 +00:00
kr.angelov
77c545fa4f
bugfix in the Java binding
2014-04-10 16:43:40 +00:00
kr.angelov
a9ebeaea44
now fully functional Java API for custom literals
2014-04-10 14:14:31 +00:00
kr.angelov
1a1e7cdb2e
compute the right word probability
2014-03-12 15:36:40 +00:00
kr.angelov
8b8a9a8968
added Java API to the simple word completion
2014-03-07 21:29:26 +00:00
kr.angelov
6b6c331f40
fix in the Java binding after the implementation for pre
2014-03-07 21:28:40 +00:00
kr.angelov
903abb5a4f
rename pgf_lzr_linearize_table to pgf_lzr_get_table
2014-03-04 10:13:23 +00:00
kr.angelov
87527c5f04
load/unload in the Java binding
2013-12-10 16:06:34 +00:00
kr.angelov
9de4812482
better dictionary visualization in the Android App
2013-11-27 22:16:05 +00:00
kr.angelov
3509a8d4cc
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
085808513d
space leak in the Java binding
2013-11-27 12:34:06 +00:00
kr.angelov
85e238f824
the Java binding for lookupMorpho should release the local references created in a loop
2013-11-21 14:29:47 +00:00
kr.angelov
4265a31003
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
5739785c77
bugfix in the Java binding
2013-11-06 14:41:42 +00:00
kr.angelov
c98a9a3266
tabular linearization in the C and Java runtimes
2013-10-23 14:49:28 +00:00
kr.angelov
7b1db5d36e
readExpr in the Java binding
2013-10-11 08:10:04 +00:00
kr.angelov
76014aa2cc
added lookupMorpho in the Java binding
2013-10-09 19:39:50 +00:00