summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>();