Revision: 8470
http://languagetool.svn.sourceforge.net/languagetool/?rev=8470&view=rev
Author: dnaber
Date: 2012-11-29 19:04:57 +0000 (Thu, 29 Nov 2012)
Log Message:
-----------
mention that a country variant needs to be specified for spell checking, if
available
Modified Paths:
--------------
trunk/website/www/http-api/index.php
Modified: trunk/website/www/http-api/index.php
===================================================================
--- trunk/website/www/http-api/index.php 2012-11-29 12:41:33 UTC (rev
8469)
+++ trunk/website/www/http-api/index.php 2012-11-29 19:04:57 UTC (rev
8470)
@@ -3,7 +3,7 @@
$sub_page = "http-api";
$title = "LanguageTool";
$title2 = "HTTP API";
-$lastmod = "2012-11-25 19:20:00 CET";
+$lastmod = "2012-11-29 19:20:00 CET";
include("../../include/header.php");
include('../../include/geshi/geshi.php');
?>
@@ -42,12 +42,16 @@
<tt>curl --data "language=en-US&text=a simple test"
http://localhost:8081</tt>
<p>The <tt>language</tt> parameter must specify the language code
- of the text to be checked (e.g. <tt>en</tt> or <tt>en-US</tt>). You can
also specify <tt>motherTongue</tt>
- parameter to specify your mother tongue (for false friend checks). The
<tt>text</tt> parameter is the
- text itself. If you want to test bilingual text (containing
- source and translation), simply specify also the <tt>srctext</tt>
parameter. This way bitext mode will be
- activated automatically.</p>
+ of the text to be checked, e.g. <tt>en</tt> (English) or <tt>en-US</tt>
(American English).
+ If the language has country variants and you want spell checking, you need
to use the language code that
+ includes the variant (e.g. <tt>en-US</tt> instead of just <tt>en</tt>).</p>
+ <p>You can also specify <tt>motherTongue</tt>
+ parameter to specify your mother tongue (for false friend checks). The
<tt>text</tt> parameter is the
+ text itself. If you want to test bilingual text (containing
+ source and translation), simply specify also the <tt>srctext</tt>
parameter. This way
+ <a
href="http://languagetool.wikidot.com/checking-translations-bilingual-texts">bitext
mode</a> will be activated automatically.</p>
+
<p>The server may be configured to enable or disable some rules by
adding <tt>enabled</tt> and
<tt>disabled</tt> as parameters and listing rule identifiers delimited
with commas, for example:</p>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits