mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
some edits in app help ; special lexer for Fre,Ita commented out as it is no longer needed
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
<p>
|
<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
|
programming language technology. Therefore it is compact in size
|
||||||
and gives control on quality, indicating confidence with colours:
|
and gives control on quality, indicating confidence with colours:
|
||||||
<ul>
|
<ul>
|
||||||
@@ -25,7 +25,7 @@ and gives control on quality, indicating confidence with colours:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<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
|
internet connection, although being on-line may give you better
|
||||||
speech input and output.
|
speech input and output.
|
||||||
The app is small (around 23 MB for all languages).
|
The app is small (around 23 MB for all languages).
|
||||||
@@ -33,8 +33,9 @@ We do not show ads.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The Language Compiler translates both speech and text.
|
The Human Language Compiler translates both speech and text.
|
||||||
It works between any pair of the supported languages.
|
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.
|
However, it works optimally <b>from English</b> and also from Swedish.
|
||||||
From other languages it can be slow and give more red results.
|
From other languages it can be slow and give more red results.
|
||||||
But expect frequent updates and improvements!
|
But expect frequent updates and improvements!
|
||||||
|
|||||||
@@ -321,6 +321,8 @@ public class Translator {
|
|||||||
// for Chinese we need to put space after every character
|
// for Chinese we need to put space after every character
|
||||||
input = explode(input);
|
input = explode(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* not needed any more
|
||||||
if (getSourceLanguage().getLangCode().equals("fr-FR")) {
|
if (getSourceLanguage().getLangCode().equals("fr-FR")) {
|
||||||
// for French and Italian we need to separate apostrophe by space...
|
// for French and Italian we need to separate apostrophe by space...
|
||||||
input = sepApo(input);
|
input = sepApo(input);
|
||||||
@@ -328,6 +330,7 @@ public class Translator {
|
|||||||
if (getSourceLanguage().getLangCode().equals("it-IT")) {
|
if (getSourceLanguage().getLangCode().equals("it-IT")) {
|
||||||
input = sepApo(input);
|
input = sepApo(input);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
String output = null;
|
String output = null;
|
||||||
List<ExprProb> exprs = new ArrayList<ExprProb>();
|
List<ExprProb> exprs = new ArrayList<ExprProb>();
|
||||||
|
|||||||
Reference in New Issue
Block a user