summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2014-04-22 16:00:54 +0000
committeraarne <aarne@chalmers.se>2014-04-22 16:00:54 +0000
commite6363c51ddfb3f74486bd16b009f568578e229a2 (patch)
treebf89786b2278f7d03b6de8b1823b6d951a0f1157 /src/ui
parente3ff79d49c387507102892c76692588304bd2e4d (diff)
some edits in app help ; special lexer for Fre,Ita commented out as it is no longer needed
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/android/assets/help_content.html9
-rw-r--r--src/ui/android/src/org/grammaticalframework/ui/android/Translator.java3
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/android/assets/help_content.html b/src/ui/android/assets/help_content.html
index c80be5e48..d5343af00 100644
--- a/src/ui/android/assets/help_content.html
+++ b/src/ui/android/assets/help_content.html
@@ -1,7 +1,7 @@
<html>
<body>
<p>
-The Language Compiler is a human language translator based on
+The Human Language Compiler is a translator for human language based on
programming language technology. Therefore it is compact in size
and gives control on quality, indicating confidence with colours:
<ul>
@@ -25,7 +25,7 @@ and gives control on quality, indicating confidence with colours:
</p>
<p>
-The Languge Compiler works completely off-line, without
+The Human Languge Compiler works completely off-line, without
internet connection, although being on-line may give you better
speech input and output.
The app is small (around 23 MB for all languages).
@@ -33,8 +33,9 @@ We do not show ads.
</p>
<p>
-The Language Compiler translates both speech and text.
-It works between any pair of the supported languages.
+The Human Language Compiler translates both speech and text.
+It works between any pair of the supported languages, which means 110
+language pairs at the moment.
However, it works optimally <b>from English</b> and also from Swedish.
From other languages it can be slow and give more red results.
But expect frequent updates and improvements!
diff --git a/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java b/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java
index c4135c41b..ebaa8455e 100644
--- a/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java
+++ b/src/ui/android/src/org/grammaticalframework/ui/android/Translator.java
@@ -321,6 +321,8 @@ public class Translator {
// for Chinese we need to put space after every character
input = explode(input);
}
+
+ /* not needed any more
if (getSourceLanguage().getLangCode().equals("fr-FR")) {
// for French and Italian we need to separate apostrophe by space...
input = sepApo(input);
@@ -328,6 +330,7 @@ public class Translator {
if (getSourceLanguage().getLangCode().equals("it-IT")) {
input = sepApo(input);
}
+ */
String output = null;
List<ExprProb> exprs = new ArrayList<ExprProb>();