Commit Graph

80 Commits

Author SHA1 Message Date
krasimir 4221757895 bugfix in the java binding 2015-04-16 13:53:03 +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 3e8e477652 update the nerc for the changes in the grammar 2014-12-11 21:54:34 +00:00
kr.angelov e41ec32ba9 make sure that neither I nor I'm is recognized as name in English 2014-12-09 08:49:22 +00:00
kr.angelov 386ec87405 bugfix for unknown words 2014-12-08 19:38:03 +00:00
kr.angelov d4b8281226 fix for the unknown words 2014-12-08 15:42:14 +00:00
kr.angelov 3fd53b907e added a callback for unknown words 2014-12-08 15:18:01 +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 584d589041 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 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 064cf03005 a few changes in the Nerc that I have forgoten to push 2014-07-01 17:32:25 +00:00
kr.angelov 7aa8bf4150 fix warnings in the compilation of the Java binding 2014-07-01 17:31:29 +00:00
kr.angelov fe49ddf16d now the named entities recognizer returns dictionary entries if the name is known 2014-06-17 06:57:12 +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 f72fe45c32 forgoten Completer.java 2014-04-11 07:52:10 +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 a90756aeda added preliminary API for custom literals from Java. Not functional yet 2014-04-08 13:54:49 +00:00
kr.angelov e3d49bea01 Expr and ExprProb are now serializable objects 2014-04-07 12:52:51 +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 ddf36bcd62 more in src/runtime/java/INSTALL 2014-02-27 21:21:19 +00:00
kr.angelov 60bfacf7c2 another fix for building the Java binding 2014-02-27 21:20:19 +00:00
kr.angelov aeeabe3f0e added file with instructions for compiling the Java binding 2014-02-27 20:20:59 +00:00
kr.angelov b87104aa89 update the Eclipse project for jpgf with settings needed for Windows 2014-02-27 19:28:25 +00:00
kr.angelov 97d56065c4 load/unload in the Java binding 2013-12-10 16:06:34 +00:00
kr.angelov 0ece8f19ab loading and unloading of languages in the C runtime and in the Python bindings 2013-12-10 15:00:52 +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 eeec31cbab update the project files for the Java binding 2013-11-27 12:34:33 +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 2dadc3aa4c add additional options for compiling the Java binding on Windows (suggested by Normunds) 2013-11-15 07:48:02 +00:00
kr.angelov 89ff9a0db4 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 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 4d50c08714 make MorphoAnalysis serializable 2013-10-11 08:10:58 +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