Commit Graph
100 Commits
Author SHA1 Message Date
kr.angelov c30e2df228 pattern matching in def rules is now supported 2014-08-11 15:53:41 +00:00
kr.angelov d3b9652b81 revert an accidental change that I pushed together with the last patch 2014-08-11 11:44:49 +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 0222d2440c implemented computing with abstract syntax trees. It passes all test cases except those that require def rules. The design is consistent with the STG virtual machine 2014-07-08 19:45:49 +00:00
kr.angelov e0fe6d01c4 bugfix for the typechecker in the C runtime 2014-07-08 19:19:48 +00:00
kr.angelov ada85ae44e an API for visitor patterns on abstract syntax trees from Python. This makes the embedded grammars especially pleasing 2014-07-06 23:48:51 +00:00
kr.angelov 85672af858 small fix for the embedded mode in Python 2014-07-06 19:55:08 +00:00
kr.angelov e52d5bf715 embedded mode for GF grammar in Python. Only generation for now 2014-07-06 19:49:17 +00:00
kr.angelov 7ad2f7dac3 filter out the leading +/* from the parser tree 2014-07-03 18:27:39 +00:00
kr.angelov aa746ad0f6 bugfix in the ParseTreeView 2014-07-03 18:09:34 +00:00
kr.angelov 272a8487f8 scroll bars for the ParseTreeView 2014-07-03 13:42:26 +00:00
kr.angelov e0fa954256 Visualization for parse trees on Android 2014-07-02 11:30:06 +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 9e94fca20b estimate the new values in app.probs as best as I can given the many grammar changes that were not reflected 2014-06-19 10:55:53 +00:00
kr.angelov fa33096e6d a small change in the keyboard layout for Android to make it more user friendly 2014-06-18 09:51:44 +00:00
kr.angelov b41a8a1c16 filter out identical duplicated translations from the Android UI 2014-06-18 09:17:33 +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 b3f8b90f2b fixed memory leak in the Haskell binding to the C runtime 2014-06-16 08:49:13 +00:00
kr.angelov 3d43c2687f swith off the debugging in the android ui 2014-06-12 09:37:40 +00:00
kr.angelov 86201df35c now GF keywords can be used as identifiers if they are quoted 2014-06-12 09:36:32 +00:00
kr.angelov 67f64cb233 now we compile context-free grammars directly to PGF without going via GF source code. This makes it quick and lightweight to compile big grammars such as the Berkley grammar 2014-05-24 07:47:06 +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 333e537e72 small fix in tabularLinearize 2014-05-22 13:33:18 +00:00
kr.angelov 757db06ba0 added tabularLinearize in the python binding 2014-05-22 13:30:14 +00:00
kr.angelov df80a2042b bugfix: the keyboard should not show completions when entering web passwords 2014-05-22 07:25:33 +00:00
kr.angelov 32fe1d8453 the dictionary view in the app now filters out duplicated morphological analyses 2014-05-22 07:10:28 +00:00
kr.angelov e6fa0662e4 forgot to fix the path for AppFre.gf 2014-05-21 09:36:12 +00:00
kr.angelov 75475b579d in verbosity mode the compiler warns about missing paths 2014-05-21 07:33:35 +00:00
kr.angelov f3f0e7abd5 fix the path in the App grammar to the Phrasebook 2014-05-21 07:30:01 +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 58d0cdc943 fix memory leak in the Haskell binding 2014-05-08 08:41:58 +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 3a0da12e3d remove dead code to avoid warnings 2014-04-24 19:21:00 +00:00
kr.angelov aefaed2056 make the input box in the conversation view self-adjustable when entering longer text 2014-04-24 19:18:28 +00:00
kr.angelov 2c9906336d a better solution for restoring the state of the main activity when the device is flipped. This one doesn't require hacks. 2014-04-24 18:50:20 +00:00
kr.angelov 6808c3c982 a small fix to avoid showing * in some translations 2014-04-24 08:03:29 +00:00
kr.angelov 81c2184923 show the alternative translations in color 2014-04-24 08:00:52 +00:00
kr.angelov 5f7ca26002 show the probabilities for the alternative translations 2014-04-24 07:44:47 +00:00
kr.angelov b2f5d97315 bugfix in the word completion in the input method 2014-04-24 07:27:34 +00:00
kr.angelov 80e9b1e6b9 fix typo in the help file 2014-04-24 07:08:06 +00:00
kr.angelov 43706445be finally: the conversation view is now no longer cleared up everytime when the device is flipped 2014-04-23 20:27:46 +00:00
kr.angelov b70cea2673 bugfix in the handling of BIND in the C runtime 2014-04-22 13:53:18 +00:00
kr.angelov 5847f8e18f fix in the renaming 2014-04-22 11:55:22 +00:00
kr.angelov c032781095 rename DGTranslator to Human Language Compiler. Added a new logo 2014-04-22 11:53:16 +00:00
kr.angelov b0b27a1b32 now word completion from Java works. It could be made better 2014-04-17 11:00:27 +00:00
kr.angelov 7c3d97e72a named entities in the Android App 2014-04-11 12:56:31 +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 348c9c4233 bugfix in the C runtime 2014-04-10 07:42:49 +00:00
kr.angelov d9f4c1598c a quick hack to enable the NERC from bindings. This should be made available from the API but for now I just hacked the C runtime 2014-04-10 07:27:07 +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 f99d3033aa bugfix in the C runtime that shows up with only some grammars 2014-04-08 12:41:41 +00:00
kr.angelov e3d49bea01 Expr and ExprProb are now serializable objects 2014-04-07 12:52:51 +00:00
kr.angelov 317d32aa93 fix in the keyboard 2014-04-07 12:42:02 +00:00
kr.angelov 3ff5557389 added alternative_item.xml 2014-04-07 12:41:23 +00:00
kr.angelov 8fa202613f a bit more text in the help 2014-04-07 09:43:20 +00:00
kr.angelov 419aab3025 show alternative translations on Android 2014-04-07 09:14:14 +00:00
kr.angelov bd892b8a1d fix the haskell binding to handle parse errors 2014-04-04 11:46:40 +00:00
kr.angelov 67debbd8c3 now the output from the speech recognizer is editable with the keyboard 2014-04-04 09:04:00 +00:00
kr.angelov 2f6ee53ff6 add activity_help.xml 2014-04-04 07:51:05 +00:00
kr.angelov 2834d0b44d add the forgoten HelpActivity.java 2014-04-04 07:48:50 +00:00
kr.angelov 587b02a63b add touch feedback to the two buttons in the app 2014-04-03 20:30:23 +00:00
kr.angelov 3f99060252 added help view in the android app. The help itself is not very useful right now 2014-04-03 14:22:44 +00:00
kr.angelov 6a8f271ba5 GFTranslator to DGTranslator in a few more places 2014-04-03 14:06:26 +00:00
kr.angelov ba5e918b69 remove the old android icon 2014-04-03 14:02:50 +00:00
kr.angelov b7283ade9c change the project name to DGTranslator 2014-04-03 13:48:08 +00:00
kr.angelov 7a319e0794 a new icon and a new name for the DG Translator 2014-04-03 13:44:14 +00:00
kr.angelov e6f9143c63 bugfix in the keyboard translation 2014-04-03 06:14:15 +00:00
kr.angelov 0a8034c008 fix in the keyboard XMLs 2014-04-02 20:05:16 +00:00
kr.angelov b3ba3d3c1c initial binding to Prolog for the C runtime 2014-04-02 10:03:19 +00:00
kr.angelov 911ae42296 small fixes in the C runtime 2014-03-25 13:57:57 +00:00
kr.angelov 51a9ef72c7 refactor the compilation of CFG and EBNF grammars. Now they are parsed by using GF.Grammar.Parser just like the ordinary GF grammars. Furthermore now GF.Speech.CFG is moved to GF.Grammar.CFG. The new module is used by both the speech conversion utils and by the compiler for CFG grammars. The parser for CFG now consumes a lot less memory and can be used with grammars with more than 4 000 000 productions. 2014-03-21 21:25:05 +00:00
kr.angelov d816c34986 added hasLinearization method in the Python binding 2014-03-20 14:48:47 +00:00
kr.angelov eb1aa24896 fix in the Python binding which was forgoten after a change in the C runtime 2014-03-20 14:48:02 +00:00
kr.angelov a1446b87fa whitespace cleanup in the parser 2014-03-18 10:19:35 +00:00
kr.angelov 7dd5748fa8 bugfix in the compiler for linref of empty record 2014-03-15 11:33:54 +00:00
kr.angelov bde1ff8032 remove accidental trace message 2014-03-13 08:25:19 +00:00
kr.angelov cf1cee3c02 small stylistic changes in the Android App 2014-03-13 08:21:31 +00:00
kr.angelov ae1512c926 compute the right word probability 2014-03-12 15:36:40 +00:00
kr.angelov 80331889e5 the UI for the Android API now has stable word prediction 2014-03-12 14:01:22 +00:00
kr.angelov ebb61fbf1c ensure that negative probabilities are always avoided 2014-03-12 13:11:23 +00:00
kr.angelov 42e185124e remove the unnecessary logging of the completion string 2014-03-12 10:57:11 +00:00
kr.angelov 23f603dabc fixes in the word completion 2014-03-12 10:54:29 +00:00
kr.angelov 178d06d5a2 added word completion in the Android UI 2014-03-07 21:30:54 +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 ba28cfd80e added pgf_lookup_word_prefix which makes it possible to do simple word prediction 2014-03-07 21:24:20 +00:00
kr.angelov ae59508f6a another fix in the keyboard 2014-03-07 14:13:21 +00:00
kr.angelov a8e18c3bdf bugfix in the keyboard 2014-03-07 13:51:28 +00:00
kr.angelov df3406c11f added Devanagari keyboard for Android 2014-03-07 13:42:13 +00:00
kr.angelov 6cb693bdf5 bugfix in pgf-translate 2014-03-07 09:35:57 +00:00
kr.angelov e916c77cb4 bugfix in the android keyboard for multiline documents 2014-03-05 13:42:55 +00:00
kr.angelov 459f3bffa6 bugfix in the Android UI 2014-03-05 12:50:36 +00:00
kr.angelov 4f9afb9343 implementation for pre in the C runtime 2014-03-05 10:17:42 +00:00