Commit Graph

69 Commits

Author SHA1 Message Date
kr.angelov
11d7b1324f added inflection_sv.xml 2013-11-06 14:46:57 +00:00
kr.angelov
74cb2d1860 use the inflection_cmn.xml in the Android translator 2013-11-06 11:00:39 +00:00
aarne
0180ae3929 restored old language codes in android/.../Translator.java (committed by accident in previous patch) 2013-11-05 17:36:21 +00:00
aarne
6bc1baa7f7 linearization by chunks in the GF shell: a new command 'lc' needed because 'l' requires type checking and trees with metavariable function heads don't type check. This will hopefully be a temporary command. 2013-11-05 17:28:47 +00:00
kr.angelov
81ef6714db A simple type checker in the C runtime. Dependent types are not supported yet but HOAS is implemented. The API is accessible from Python as well 2013-11-04 17:10:46 +00:00
aarne
63806bf87e left AR's translation project names in android/.../Translator.java as comments instead of leaving the changes uncommitted 2013-11-01 13:46:51 +00:00
kr.angelov
f2d0d28812 add the forgoten close_arrow.png 2013-10-31 19:04:53 +00:00
kr.angelov
1156ed66cb trim the input string in the conversation view for better lexical matching 2013-10-31 18:04:02 +00:00
kr.angelov
0b74410b01 make the input mode in the Android translator persistent 2013-10-31 17:34:01 +00:00
kr.angelov
7d55b4c685 update the TAG for the MainActivity 2013-10-31 14:18:39 +00:00
kr.angelov
70180a00d5 store the source and target languages for the Android UI in a preference file 2013-10-31 14:16:37 +00:00
kr.angelov
f4aac34cf8 when the phone is in silent mode the UI should not use the TTS 2013-10-31 13:38:39 +00:00
kr.angelov
bd7b9b0168 fix the parsing error in the Android app 2013-10-31 13:22:53 +00:00
kr.angelov
0f10297346 fix inflection_en.xml 2013-10-28 12:37:37 +00:00
kr.angelov
4c28dc8de0 added dummy inflection template for Chinese. It needs better names for the different inflection forms 2013-10-23 15:23:54 +00:00
kr.angelov
244708e0a9 the first version of the Android's morphology browser 2013-10-23 15:10:13 +00:00
kr.angelov
add86fcf1d add keyboard input in the android app 2013-10-12 12:28:23 +00:00
kr.angelov
685ccbda8b synchronize the target languages in the main activity with the one in the lexicon activity 2013-10-11 08:16:51 +00:00
kr.angelov
167f3f4af3 better lexicon view 2013-10-11 08:15:33 +00:00
aarne
24c64d918e added 'make ParseFre' and 'make ParseEngFre' to lib/src/Makefile; added the script french/MkWikt.hs 2013-10-10 23:32:05 +00:00
kr.angelov
fe44835820 an improvised dictionary mode in the Android translator 2013-10-10 15:39:52 +00:00
kr.angelov
3014b1672b lexer.c is now exluded from the makefile for Android since the new runtime doesn't need lexing 2013-10-09 12:11:37 +00:00
kr.angelov
2c1e049153 remove libjpgf.so from darcs 2013-10-08 14:13:00 +00:00
kr.angelov
227b9ef0a8 rename the Android translator from GFVoiceExample to GFTranslator 2013-10-08 14:10:17 +00:00
kr.angelov
547803f3b6 a quick hack in the Android translation for parsing Chinese 2013-10-08 14:08:40 +00:00
kr.angelov
2780ea839b ensure that the grammar is loaded only once even if the main activity is recreated 2013-10-07 11:50:58 +00:00
kr.angelov
f42bd89676 ensure that the grammar is loaded only once 2013-10-07 11:26:53 +00:00
kr.angelov
872a14d7ca in case of parse error report the token on Android 2013-10-07 10:11:41 +00:00
kr.angelov
6aa3ade82a remove the binaries for the grammar, the .so file and .jar file in the Android App. These should be compiled from sources 2013-10-07 09:58:47 +00:00
kr.angelov
5324ce5de3 remove the custom background in activity_main.xml since it is not backward compatible with older versions of Android 2013-10-07 09:57:24 +00:00
kr.angelov
2623d53963 remove the grammar copying from the Android UI since now we can load grammars from InputStream 2013-10-04 20:31:58 +00:00
bringert
6adc9f7be4 Add new Android voice translator sample app
This adds a simple voice translator Android app that uses
the JNI bindings to the PGF C runtime.

Caveats:

- Since the C runtime doesn't compile for Android right now,
  I've bundled an old copy, along with its Java bindings.
  That should be removed once the C runtime compiels for Android
  again.

- Adding an automated build would be nice.

- Replacing the grammar requires editing a Java file, that should 
  really be more dynamic.
2013-10-04 16:26:46 +00:00
kr.angelov
f984bfeb24 a major refactoring in the C runtime. GuList is now removed and replaced with GuSeq. The GuSeq/GuBuf API is simplified 2013-09-17 12:45:00 +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
6080a625f7 fix in Android.mk to make sure that the Android build will always see the ARM headers of GNU lightning 2013-09-12 12:55:55 +00:00
kr.angelov
d51b976d29 remove the logging from libgu 2013-09-12 09:30:02 +00:00
kr.angelov
d88084a2d5 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
fec8720f31 remove the string internalization since it slows down grammar loading with little benefit 2013-09-05 13:34:49 +00:00
kr.angelov
8e2de541b6 move src/runtime/android to src/ui/android/jni 2013-09-05 12:19:59 +00:00
kr.angelov
94e84a3a77 updated files src/ui/android 2013-09-04 13:34:44 +00:00
krasimir
1e4ec3c7d2 fix the grammar browser in the editor 2011-03-08 12:32:51 +00:00
krasimir
93dcac2819 the user can now upload their own grammars in the editor 2011-03-07 21:05:29 +00:00
krasimir
cdebaef7ef The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
krasimir
9b9dbfb1d6 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
krasimir
4a8d0598d1 forgot to add ContentService.java in the GF Editor 2010-11-17 10:46:00 +00:00
krasimir
c1d91b7f50 fix the history management in the editor 2010-11-07 16:17:15 +00:00
krasimir
cd0a9982bd preliminary UI for storage/retrieval/search of documents in the GF editor 2010-11-01 09:25:22 +00:00
krasimir
aa6fd7b13f WebUI: show error when depth/limit has invalid value 2010-10-13 12:53:42 +00:00
krasimir
44336bf6d6 improved Web UI for queries 2010-10-13 12:31:38 +00:00
krasimir
95733f0b1b the exhaustive/random generator now knows how to handle computable functions in the types 2010-10-11 17:18:28 +00:00