kr.angelov
03b067782c
a partial support for def rules in the C runtime
...
The def rules are now compiled to byte code by the compiler and then to
native code by the JIT compiler in the runtime. Not all constructions
are implemented yet. The partial implementation is now in the repository
but it is not activated by default since this requires changes in the
PGF format. I will enable it only after it is complete.
2014-08-11 10:59:10 +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
b9ffc8ac00
a few changes in the Nerc that I have forgoten to push
2014-07-01 17:32:25 +00:00
kr.angelov
3843f5505e
fix warnings in the compilation of the Java binding
2014-07-01 17:31:29 +00:00
kr.angelov
7d713d1687
now the named entities recognizer returns dictionary entries if the name is known
2014-06-17 06:57:12 +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
c2d79790a3
forgoten Completer.java
2014-04-11 07:52:10 +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
be62b047f4
added preliminary API for custom literals from Java. Not functional yet
2014-04-08 13:54:49 +00:00
kr.angelov
baef6eee90
Expr and ExprProb are now serializable objects
2014-04-07 12:52:51 +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
b038f0c341
more in src/runtime/java/INSTALL
2014-02-27 21:21:19 +00:00
kr.angelov
a305944175
another fix for building the Java binding
2014-02-27 21:20:19 +00:00
kr.angelov
54a354e022
added file with instructions for compiling the Java binding
2014-02-27 20:20:59 +00:00
kr.angelov
d7b8f9d9a1
update the Eclipse project for jpgf with settings needed for Windows
2014-02-27 19:28:25 +00:00
kr.angelov
87527c5f04
load/unload in the Java binding
2013-12-10 16:06:34 +00:00
kr.angelov
6028a63b42
loading and unloading of languages in the C runtime and in the Python bindings
2013-12-10 15:00:52 +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
e68067a83c
update the project files for the Java binding
2013-11-27 12:34:33 +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
d7dfa01bb0
add additional options for compiling the Java binding on Windows (suggested by Normunds)
2013-11-15 07:48:02 +00:00
kr.angelov
cbfa65c7ae
the 'Release' configuration in Eclipse is renamed to 'Release (posix)'. In addition now there is 'Release (mingw)' for Windows.
2013-11-07 08:36:17 +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
3f3c5d968a
make MorphoAnalysis serializable
2013-10-11 08:10:58 +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
kr.angelov
835a15a343
fix in the Java binding
2013-10-09 19:37:57 +00:00
kr.angelov
b058fdd17d
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
kr.angelov
0d9d926131
fixes in the Java binding after the refactoring of GuString
2013-10-04 19:53:19 +00:00
kr.angelov
2f78333e28
GuString is now an ordinary C string - it makes live easier. In addition PgfSymbolKS, PgfExprFun and PgfLiteralStr now keep their strings as embedded flexible arrays. The latest change gives us the same compactness as the old representation but it is a lot easier to use.
2013-10-04 12:04:39 +00:00
kr.angelov
96399838b7
space leak in the Java binding
2013-10-03 21:00:45 +00:00
kr.angelov
5f0b5ecf35
added BSD licenses to the Java binding and the android UI
2013-09-16 06:54:55 +00:00
kr.angelov
d88084a2d5
enable the PGF JIT compiler for Android
2013-09-12 09:05:43 +00:00
kr.angelov
4e328d1f33
added exhaustive generation in the Java binding
2013-09-06 07:21:38 +00:00
kr.angelov
993522eb5a
added version readPGF in Java which takes as argument InputStream. This makes it easier to load grammars from the assets folder in Android
2013-09-05 12:12:01 +00:00
kr.angelov
83ca6c4f9f
remove the read and write modules from libgu. this simplifies the i/o layer
2013-09-05 11:20:39 +00:00
kr.angelov
cbc2ac1326
add gu and pgf in the library path for building the Java binding
2013-09-04 20:30:43 +00:00