some edits in app help ; special lexer for Fre,Ita commented out as it is no longer needed

This commit is contained in:
aarne
2014-04-22 16:00:54 +00:00
parent e3ff79d49c
commit e6363c51dd
2 changed files with 8 additions and 4 deletions

View File

@@ -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!

View File

@@ -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>();