Commit Graph

44 Commits

Author SHA1 Message Date
kr.angelov
ab1856046f now the Android App has a translation keyboard which allows the translations to be done from inside another application 2013-11-13 10:45:20 +00:00
kr.angelov
e79f39b774 more compact inflection tables for Swedish 2013-11-06 20:24:36 +00:00
kr.angelov
2aea7ae3d5 added inflection_sv.xml 2013-11-06 14:46:57 +00:00
kr.angelov
b8fd12e5e4 use the inflection_cmn.xml in the Android translator 2013-11-06 11:00:39 +00:00
aarne
027ea81552 restored old language codes in android/.../Translator.java (committed by accident in previous patch) 2013-11-05 17:36:21 +00:00
aarne
aba666c5bc 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
546c7ac859 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
d454165f24 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
e1710542b4 add the forgoten close_arrow.png 2013-10-31 19:04:53 +00:00
kr.angelov
8325802c22 trim the input string in the conversation view for better lexical matching 2013-10-31 18:04:02 +00:00
kr.angelov
594c71f35d make the input mode in the Android translator persistent 2013-10-31 17:34:01 +00:00
kr.angelov
a7a1563b79 update the TAG for the MainActivity 2013-10-31 14:18:39 +00:00
kr.angelov
80143459c6 store the source and target languages for the Android UI in a preference file 2013-10-31 14:16:37 +00:00
kr.angelov
5e584c5c3f when the phone is in silent mode the UI should not use the TTS 2013-10-31 13:38:39 +00:00
kr.angelov
3e556355b0 fix the parsing error in the Android app 2013-10-31 13:22:53 +00:00
kr.angelov
2355e32db8 fix inflection_en.xml 2013-10-28 12:37:37 +00:00
kr.angelov
ecaa05a3db 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
10fa2baa56 the first version of the Android's morphology browser 2013-10-23 15:10:13 +00:00
kr.angelov
99309cf8fd add keyboard input in the android app 2013-10-12 12:28:23 +00:00
kr.angelov
f358d37c4e 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
c40c5022ca better lexicon view 2013-10-11 08:15:33 +00:00
aarne
a0e6576e45 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
482e8ef8cd an improvised dictionary mode in the Android translator 2013-10-10 15:39:52 +00:00
kr.angelov
5dbed2d79b 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
e7749d4a5b remove libjpgf.so from darcs 2013-10-08 14:13:00 +00:00
kr.angelov
977d309e3c rename the Android translator from GFVoiceExample to GFTranslator 2013-10-08 14:10:17 +00:00
kr.angelov
c63ca25a72 a quick hack in the Android translation for parsing Chinese 2013-10-08 14:08:40 +00:00
kr.angelov
7261134ad8 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
5041984e2d ensure that the grammar is loaded only once 2013-10-07 11:26:53 +00:00
kr.angelov
d327697605 in case of parse error report the token on Android 2013-10-07 10:11:41 +00:00
kr.angelov
8efe22542a 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
dee84de3d6 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
c015af71a1 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
a35b286ce0 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
2a49e4e1d6 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
8e1c6cca40 added BSD licenses to the Java binding and the android UI 2013-09-16 06:54:55 +00:00
kr.angelov
c684ab30a7 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
9c3dd1e1e1 remove the logging from libgu 2013-09-12 09:30:02 +00:00
kr.angelov
2105188bd0 enable the PGF JIT compiler for Android 2013-09-12 09:05:43 +00:00
kr.angelov
14f8b96b56 remove the string internalization since it slows down grammar loading with little benefit 2013-09-05 13:34:49 +00:00
kr.angelov
46f2460a92 move src/runtime/android to src/ui/android/jni 2013-09-05 12:19:59 +00:00
kr.angelov
7c000467c9 updated files src/ui/android 2013-09-04 13:34:44 +00:00
krasimir
c0cccb26cb update the package name for the Android UI 2010-07-08 10:26:10 +00:00
krasimir
9953091888 add src/ui folder for both Android and GWT UIs 2010-07-08 10:06:26 +00:00