summaryrefslogtreecommitdiffstats
path: root/JLanguageTool/website/www
diff options
context:
space:
mode:
Diffstat (limited to 'JLanguageTool/website/www')
-rw-r--r--JLanguageTool/website/www/css/style.css182
-rw-r--r--JLanguageTool/website/www/demo/index.php14
-rw-r--r--JLanguageTool/website/www/development/index.php349
-rw-r--r--JLanguageTool/website/www/favicon.icobin0 -> 318 bytes
-rw-r--r--JLanguageTool/website/www/images/bg.jpgbin0 -> 47230 bytes
-rw-r--r--JLanguageTool/website/www/images/link.pngbin0 -> 177 bytes
-rw-r--r--JLanguageTool/website/www/images/link_extern.pngbin0 -> 167 bytes
-rw-r--r--JLanguageTool/website/www/images/pix.pngbin0 -> 167 bytes
-rw-r--r--JLanguageTool/website/www/images/sign.pngbin0 -> 196 bytes
-rw-r--r--JLanguageTool/website/www/images/twitter_link16x16.pngbin0 -> 792 bytes
-rw-r--r--JLanguageTool/website/www/index.php132
-rw-r--r--JLanguageTool/website/www/languages/index.php83
-rw-r--r--JLanguageTool/website/www/languagetool.update.xml12
-rw-r--r--JLanguageTool/website/www/links/index.php80
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot.pngbin0 -> 17247 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo.pngbin0 -> 32188 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo3.pngbin0 -> 40339 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl.pngbin0 -> 46617 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl_small.pngbin0 -> 45795 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo3_small.pngbin0 -> 50004 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_ooo_small.pngbin0 -> 29703 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/art/screenshot_small.pngbin0 -> 28568 bytes
-rw-r--r--JLanguageTool/website/www/screenshots/index.php53
-rw-r--r--JLanguageTool/website/www/usage/index.php83
24 files changed, 988 insertions, 0 deletions
diff --git a/JLanguageTool/website/www/css/style.css b/JLanguageTool/website/www/css/style.css
new file mode 100644
index 0000000..b5bbc10
--- /dev/null
+++ b/JLanguageTool/website/www/css/style.css
@@ -0,0 +1,182 @@
+/*
+Theme Name: iOrange2b
+Theme URI: http://www.darjanpanic.com
+Description: iOrange2b Template v1 by Brian Green and Darjan Panic.
+Version: 1.0
+Author: Brian Green and Darjan Panic, Modified by Daniel Naber
+
+Use it however you want, just leave the links in the footer :)
+*/
+body {
+ background: url(../images/bg.jpg) no-repeat;
+}
+
+a:link {
+ color: #ef8700;
+ text-decoration: none;
+}
+a:visited {
+ color: #a75e00;
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+a:active {
+ text-decoration: underline;
+}
+
+h1 {
+ margin-top: 5px;
+ text-align: center;
+ font-family: verdana, sans-serif;
+ font-size: 24px;
+ color: #ef8701;
+}
+
+.xmlcode {
+ font-family: monospace;
+ margin-left: 15px;
+ font-size: larger;
+}
+
+.xmlcodeNoIndent {
+ font-family: monospace;
+ font-size: larger;
+}
+
+pre {
+ margin-bottom: 0px;
+}
+
+.firstpara {
+ margin-top: 0px;
+}
+
+.content {
+ padding-left: 5px;
+ padding-right: 25px;
+ color: #2c2c2c;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+}
+
+.footer {
+ padding-top: 20px;
+ text-align: right;
+ color: #bbbbbb;
+ font-family: verdana, sans-serif;
+ font-size: 9px;
+}
+
+.invisible {
+ padding-top: 20px;
+ text-align: right;
+ color: #ffffee;
+ font-family: verdana, sans-serif;
+ font-size: 9px;
+}
+
+.footer a {
+ color: #ffc06f;
+}
+
+.lastmod {
+ text-align: right;
+ font-size: 9px;
+ color: #888888;
+ font-family: verdana, sans-serif;
+}
+
+/* ------------------------------------------------- */
+/* Demo */
+
+.error {
+ background-color: #f8aab5;
+}
+
+.suggestion {
+ background-color: #7ef7ac;
+}
+
+/* ------------------------------------------------- */
+
+/* Link and heading "LanguageTool" in the upper left corner: */
+#hplink a:link {
+ color: #ef8700;
+}
+
+#hplink a:visited {
+ color: #ef8700;
+}
+
+#hplink a:hover {
+ color: #ef8700;
+}
+
+/* ------------------------------------------------- */
+
+#menu {
+}
+
+.activeMenuitem {
+ color: #ffffff !important;
+ text-decoration: none;
+ font-weight: bold;
+ background: #ef8701;
+}
+
+#menu p {
+ border-bottom: 5px solid #464646;
+ color: #ef8701;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+ padding: 0px;
+ margin: 0px;
+ padding-right: 10px;
+ padding-left: 10px;
+}
+
+#menu a:link {
+ color: #464646;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+ padding-left: 10px;
+ margin-left: 0px;
+ padding-right: 10px;
+ margin-right: 0px;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+#menu a:visited {
+ color: #464646;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+ padding-left: 10px;
+ margin-left: 0px;
+ padding-right: 10px;
+ margin-right: 0px;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+#menu a:hover {
+ color: #ffffff;
+ font-family: verdana, sans-serif;
+ font-size: 12px;
+ text-decoration: none;
+ font-weight: bold;
+ background: #ef8701;
+}
+
+.warning {
+ border-color: #ffb251;
+ border-style: solid;
+ border-width: 2px;
+ background: #fcffd5;
+ padding: 5px;
+}
+
+.downloadSection {
+}
diff --git a/JLanguageTool/website/www/demo/index.php b/JLanguageTool/website/www/demo/index.php
new file mode 100644
index 0000000..8d95872
--- /dev/null
+++ b/JLanguageTool/website/www/demo/index.php
@@ -0,0 +1,14 @@
+<?php
+$page = "demo";
+$title = "LanguageTool";
+$title2 = "Demo (Beta)";
+$lastmod = "2008-05-25 15:00:00 CET";
+include("../../include/header.php");
+?>
+
+<p>Please visit <a href="http://community.languagetool.org">community.languagetool.org</a>
+to try out LanguageTool online.</p>
+
+<?php
+include("../../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/development/index.php b/JLanguageTool/website/www/development/index.php
new file mode 100644
index 0000000..396fbbf
--- /dev/null
+++ b/JLanguageTool/website/www/development/index.php
@@ -0,0 +1,349 @@
+<?php
+$page = "development";
+$title = "LanguageTool";
+$title2 = "Development";
+$lastmod = "2009-10-31 23:05:00 CET";
+include("../../include/header.php");
+include('../../include/geshi/geshi.php');
+?>
+
+<p class="firstpara">This is a collection of the developer documentation available for LanguageTool.
+It's intended for people who want to understand LanguageTool so
+they can write their own rules or even add support for a new language.
+Software developers might also be interested in LanguageTool's
+<?=show_link("API", "api/", 0)?>.</p>
+
+<ul>
+ <li><a href="#helpwanted">Help wanted!</a></li>
+ <li><a href="#installation">Installation and usage</a></li>
+ <li><a href="#process">Language checking process</a></li>
+ <li><a href="#xmlrules">Adding new XML rules</a></li>
+ <li><a href="#javarules">Adding new Java rules</a></li>
+ <li><a href="#translation">Translating the user interface</a></li>
+ <li><a href="#newlanguage">Adding support for a new language</a></li>
+ <li><a href="#background">Background</a></li>
+</ul>
+
+<p><a name="helpwanted"><strong>Help wanted!</strong></a><br />
+We're looking for people who support us writing new rules so LanguageTool can
+detect more errors. The languages that LanguageTool already supports but for
+which support needs to be improved are: English, German, Polish, Spanish,
+French, Italian, Dutch, Czech, Lithuanian, Ukrainian, and Slovenian.</p>
+
+<p>How can you help?</p>
+
+<ol>
+ <li>Read this page</li>
+ <li>If you want to write rules in Java or if you want to add support
+ for another language, <?=show_link("check out LanguageTool from CVS",
+ "http://sourceforge.net/cvs/?group_id=110216", 1)?>.</li>
+ <li>Subscribe to the <?=show_link("mailing list",
+ "http://lists.sourceforge.net/lists/listinfo/languagetool-devel", 1)?></li>
+ <li>Try writing rules. For English and German, see the lists of errors
+ on the <?=show_link("Links page", "/links/", 0)?>. Many of those
+ errors are not yet detected.</li>
+ <li><?=show_link("See the wiki", "http://languagetool.wikidot.com/", 0)?> for
+ more tips and tricks</li>
+</ol>
+
+<p><a name="installation"><strong>Installation and usage</strong></a><br />
+Please see the README file that comes with LanguageTool and the
+<?=show_link("Usage page", "/usage/", 0) ?>.</p>
+
+<p><a name="process"><strong>Language checking process</strong></a><br />
+<ol>
+ <li>The text to be checked is split into sentences</li>
+ <li>Each sentence is split into words</li>
+ <li>Each word is assigned its part-of-speech tag(s) (e.g. <em>cars</em>
+ = plural noun, <em>talked</em> = simple past verb)</li>
+ <li>The analyzed text is then matched against the built-in rules and against
+ the rules loaded from the grammar.xml file</li>
+</ol>
+
+<p><a name="xmlrules"><strong>Adding new XML rules</strong></a><br />
+Many rules are contained in <tt>rules/xx/grammar.xml</tt>, whereas <tt>xx</tt> is
+a language code like <tt>en</tt> or <tt>de</tt>. A rule is basically a pattern
+which shows an error message to the user if the pattern matches. A pattern can
+address words or part-of-speech tags.
+Here are some examples of patterns that can be used in that file:</p>
+
+<ul class="largelist">
+ <li><?php hl('<token bla="x">think</token>', "xmlcodeNoIndent"); ?>
+ matches the word <em>think</em></li>
+ <li><?php hl('<token regexp="yes">think|say</token>', "xmlcodeNoIndent"); ?>
+ matches the regular expression
+ <tt>think|say</tt>, i.e. the word <em>think</em> or <em>say</em></li>
+ <li><?php hl('<token postag="VB" /> <token>house</token>', "xmlcodeNoIndent"); ?>
+ matches a base form verb followed by the word <em>house</em>.
+ See resource/en/tagset.txt for a list of possible part-of-speech tags.</li>
+ <li><?php hl('<token>cause</token> <token regexp="yes" negate="yes">and|to</token>', "xmlcodeNoIndent"); ?>
+ matches the word <em>cause</em> followed
+ by any word that is not <em>and</em> or <em>to</em></li>
+ <li><?php hl('<token postag="SENT_START" /> <token>foobar</token>', "xmlcodeNoIndent"); ?>
+ matches the word <em>foobar</em> only
+ at the beginning of a sentence</li>
+</ul>
+
+<p>Pattern's terms are matched case-insensitively by default, this can be changed
+by setting the <tt>case_sensitive</tt> attribute to <tt>yes</tt>.
+
+<p>Here's an example of a complete rule that marks "bed English", "bat attitude"
+etc as an error:</p>
+
+<?php hl('<rule id="BED_ENGLISH" name="Possible typo &apos;bed/bat(bad) English/...&apos;">
+ <pattern mark_from="0" mark_to="-1">
+ <token regexp="yes">bed|bat</token>
+ <token regexp="yes">English|attitude</token>
+ </pattern>
+ <message>Did you mean
+ <suggestion>bad</suggestion>?
+ </message>
+ <example type="correct">
+ Sorry for my <marker>bad</marker> English.
+ </example>
+ <example type="incorrect">
+ Sorry for my <marker>bed</marker> English.
+ </example>
+</rule>'); ?>
+
+<p>A short description of the elements and their attributes:</p>
+
+<ul class="largelist">
+ <li>element <tt>rule</tt>, attribute <tt>id</tt>: an internal identifier used to address this rule</li>
+ <li>element <tt>rule</tt>, attribute <tt>name</tt>: the text displayed in the configuration</li>
+ <li>element <tt>pattern</tt>, attributes <tt>mark_from</tt> and <tt>mark_to</tt>: what part of the original
+ text should be marked. The default, <tt>mark_from="0"</tt> and <tt>mark_to="0"</tt>, means to mark
+ the complete matching token. For example, if the pattern contains three token
+ elements that match the input text, those three matching words will be marked in the text.
+ <tt>mark_to="-1"</tt> in the example above means that the last token of the match will not
+ be marked.</li>
+ <li>element <tt>token</tt>, attribute <tt>regexp</tt>: interpret the given token
+ as a regular expression</li>
+ <li>element <tt>message</tt>: The text displayed to the user if this rule matches.
+ Use sub-element <tt>suggestion</tt> to suggest a possible replacement that corrects the error.</li>
+ <li>element <tt>example</tt>: At least two examples that with one correct and one incorrect sentence.
+ The incorrect sentence is supposed to be matched by this rule. The position of the error
+ must be marked up with the sub-element <tt>marker</tt>. This is used by the
+ automatic test cases that can be run using <tt>ant test</tt>.</li>
+</ul>
+
+<p>There are more features not used in the example above:</p>
+
+<ul class="largelist">
+ <li>element <tt>token</tt>, attribute <tt>skip</tt> is used
+ in two situations:
+
+ <br /><br />
+ <p><strong>1. Simulate a simple chunker</strong> for languages with flexible word order,
+ e.g., for matching errors of rection; we could for example skip possible
+ adverbs in some rule. <tt>skip="1"</tt> works exactly as two rules, i.e.</p>
+
+ <?php hl('<token skip="1">A</token>
+<token>B</token>'); ?>
+
+ <p>is equivalent to the pair of rules:</p>
+
+ <?php hl('<token>A</token>
+<token/>
+<token>B</token>
+
+<token>A</token>
+<token>B</token>'); ?>
+
+ <p>Using negative value, we can match until the B is found, no matter how
+ many tokens are skipped. This cannot be easily encoded using empty
+ tokens as above because the sentence could be of any length.</p>
+
+ <br />
+ <p><strong>2. Match coordinated words</strong>, for example to match
+ "both... as well" we could write:</p>
+
+ <?php hl('<token skip="-1">both<exception scope="next">and</exception></token>
+<token>as</token>
+<token>well</token>'); ?>
+
+ <p>Here the exception is applied only to the skipped tokens.</p>
+
+ <p>The scope attribute of the exception is used to make exception valid
+ only for the token the exception is specified (scope="current") or for
+ skipped tokens (scope="next"). Default behavior is scope="current".
+ Using scopes is useful where several different exceptions should be
+ applied to avoid false alarms. In some cases, it's useful to use
+ <tt>scope="previous"</tt> in rules that already have <tt>skip="-1"</tt>.
+ This way, you can set an exception against a single token that immediately
+ preceeds the matched token. For example, we want to match "tak" after "jak"
+ which is not preceeded by a comma:</p>
+
+ <? hl('<token>tak</token>
+<token skip="-1">jak</token>
+<token>tak<exception scope="previous">,</exception></token>'); ?>
+
+ <p>In this case, the rule excludes all sentences, where there is a comma
+ before "tak". Note that it's very hard to make such an exclusion otherwise.
+ </p>
+
+ <p><strong>3. Using variables in rules</strong>
+
+ <p>In XML rules, you can refer to previously matched tokens in the pattern. For example:</p>
+
+ <?php hl('<pattern mark_from="2">
+ <token regexp="yes" skip="-1">ani|ni|i|lub|albo|czy|oraz<exception scope="next">,</exception></token>
+ <token><match no="0"/></token>
+</pattern>'); ?>
+
+ <p>This rule matches sequences like <b>ani... ani, ni... ni, i... i</b> but you don't have to
+ write all these cases explicitly. The first match (matches are numbered from zero, so it's
+ &lt;match no="0"/&gt;) is automatically inserted into the second token. Note
+ that this rule will match sentences like:
+
+ <tt>Nie kupiłem ani gruszek ani jabłek. Kupię to lub to lub tamto.</tt></p>
+
+ <p>A similar mechanism could be used in suggestions, however there are more features, and tokens are
+ numbered from 1 (for compatibility with the older notation \1 for the first matched token). For example:</p>
+
+ <?php hl('<suggestion><match no="1"/></suggestion>'); ?>
+
+ <p>A more complicated example:</p>
+
+ <?php hl('<pattern>
+<token regexp="yes">^(\p{Lu}{2}+[i]*\p{Lu}+[\p{L}&amp;
+&amp;[^\p{Lu}]]{1,4}+)</token>
+</pattern>
+<message>Prawdopodobny błąd zapisu odmiany;
+ skrótowce odmieniamy z dywizem:
+ <suggestion><match no="1" regexp_match="^(\p{Lu}{2}+[i]*\p{Lu}+)([\p{L}&amp;
+&amp;[^\p{Lu}]]{1,4}+)" regexp_replace="$1-$2"/></suggestion></message>'); ?>
+
+ <p>This rule matches Polish inflected acronyms such as "SMSem" that should be written with
+ a hyphen: "SMS-em". So the acronym is matched with a complicated regular expression, and the
+ match replaces the match using Java regular expression notation. Basically, the regular expression
+ only shows two parts and inserts a hyphen between them.</p>
+
+ <p>For some languages (currently Polish and English), element &lt;match/&gt; can be used to
+ insert an inflected matched token (or another word with a specified part of speech
+ tag). For example:</p>
+
+ <?php hl('<pattern mark_from="1" mark_to="-1">
+ <token regexp="yes">has|have</token>
+ <token postag="VBD|VBP|VB" postag_regexp="yes"><exception postag="VBN|NN:U.*|JJ.*|RB" postag_regexp="yes"/></token>
+ <token><exception postag="VBG"/></token>
+</pattern>
+<message>Possible agreement error -- use past participle here: <suggestion><match no="2" postag="VBN"/></suggestion>.</message>'); ?>
+
+ <p>The above rule takes the second verb with a POS tag "VBN", "VBP" or "VB" and displays its
+ form with a POS tag "VBN" in the suggestion. You can also specify POS tags using
+ regular expressions (<tt>postag_regexp="yes"</tt>) and replace POS tags – just like
+ in the above example with acronyms. This is useful for large and complicated
+ tagsets (for many examples, see Polish rule file: <tt>rules/pl/grammar.xml</tt>).</p>
+
+ <p>Sometimes the rule should change the case of the matched word. For this purpose,
+ you can use <tt>case_conversion</tt> attribute values: <tt>startlower</tt>, <tt>startupper</tt>,
+ <tt>allupper</tt> and <tt>alllower</tt>.
+
+ <p>Another useful thing is that &lt;match&gt; can refer to a token, but apply its POS
+ to another word. This is useful for suggesting another word with the same part
+ of speech. There is a special abbreviated syntax used for this purpose:</p>
+
+ <?php hl('<match no="1" postag="verb:.*perf">kierować</match>'); ?>
+
+ <p>This syntax means: take the POS tag of the first matched token that matches the regular expression specified
+ in the <tt>postag</tt> attribute, and then apply this POS tag to the verb "kierować". This way the verb
+ will be inflected just the way the matched verb was originally inflected. The reason why you
+ need to specify the POS tag is that the matched token can have several POS tags (several readings).</p>
+
+ <p>Note that by default <tt>&lt;match&gt;</tt> element inside the <tt>&lt;token&gt;</tt> element inserts only a string –
+ so it matches a string, and not part of speech tags. So even if it refers to
+ a token with a POS tag, it copies the matched token, and not its POS token. However,
+ you can use all above attributes to change the form of the token.</p>
+ <p>You can however use the <tt>&lt;match&gt;</tt> element to copy POS tags alone but to do so,
+ you must use the attribute <tt>setpos="yes"</tt>. All other attributes can be applied so that
+ the POS could be converted appropriately. This can be useful for creating rules specifying grammatical
+ agreement. Currently, such rules must be quite wordy, somewhat more terse syntax is in
+ development.</p>
+ <p><strong>4. Turning the rule off</strong></p>
+ <p>Some rules can be optional, useful only in specific registers,
+ or very sensitive. You can turn them off by default by using an
+ attribute <tt>default="off"</tt>. The user can turn the rule in the
+ Options dialog box, and this setting is being saved in the configuration
+ file.</p>
+ </li>
+</ul>
+
+<p><a name="javarules"><strong>Adding new Java rules</strong></a><br />
+Rules that cannot be expressed with a simple pattern in <tt>grammar.xml</tt>
+can be developed as a Java class. See
+<tt><a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/java/de/danielnaber/languagetool/rules/WordRepeatRule.java">rules/WordRepeatRule.java</a></tt>
+for a simple
+example which you can use to develop your own rules. You will also need to
+add your rule to <tt>JLanguageTool.java</tt> to activate it.</p>
+
+<p><a name="translation"><strong>Translating the user interface</strong></a><br />
+To translate the user interface, just copy <tt>MessagesBundle_en.properties</tt>
+to <tt>MessagesBundle_xx.properties</tt> (whereas <tt>xx</tt> is the code of your
+language) and translate the text. Note that hot keys for menu items are specified
+with the <tt>&amp;</tt> character (for example, <tt>&amp;File</tt>).
+The next time you start LanguageTool, it should show your translation (assuming your computer is configured to use your
+language -- if
+that's not the case, start LanguageTool with <tt>java -Duser.language=xx -jar LanguageToolGUI.jar</tt>).
+</p>
+
+<p><a name="newlanguage"><strong>Adding support for a new language</strong></a><br />
+Adding a new language requires some changes to the Java source files. You should check out
+the "JLanguageTool" module from CVS (see the <a href="http://sourceforge.net/cvs/?group_id=110216">sourceforge
+help</a>). You may then call <tt><a href="http://ant.apache.org/">ant</a></tt> to
+build LanguageTool (this is optional, it's okay to work only inside Eclipse). Ant should compile
+a file named like <tt>LanguageTool-1.0.0-dev.oxt</tt> in the <tt>dist</tt> directory.</p>
+
+<ul>
+
+<li><p><tt>Language.java</tt> contains
+the information about supported languages. You can add a new language by creating
+a new <tt>Language</tt> object in this class and providing a part-of-speech tagger
+for it, similar to <tt>de/danielnaber/languagetool/tagging/en/EnglishTagger.java</tt>. The tagger
+must implement the <tt>Tagger</tt> interface, any implementation details (i.e. how
+to actually assign tags to words) are up to you -- the easiest thing is probably
+to just copy the English tagger.</p>
+
+<p>A trivial tagger that only assigns
+null tags to words is <tt>DemoTagger</tt>. This is enough for rules that refer
+to words but not to part-of-speech tags. You can add those rules to a file
+<tt>rules/xy/grammar.xml</tt>, whereas <tt>xy</tt> is the short name for your language.
+You will also need to add the short name of your language to <tt>rules.dtd</tt>.</p>
+
+<p>The test cases run by "ant test" will automatically include your new language
+and its rules, based on the "example" elements of each rule.</p>
+
+<p>To add part-of-speech tags, please have a look at <tt>resource/en/make-dict-en.sh</tt>
+(note: this file is only in CVS, not in the released OXT). First try to make it work
+for English. You need the
+<?=show_link("fsa", "http://www.eti.pg.gda.pl/katedry/kiw/pracownicy/Jan.Daciuk/personal/fsa.html", 1) ?>
+package. Install it and add its installation directory to your PATH. Once it works for English,
+create your own version of <tt>manually_added.txt</tt> and use that to create a <tt>.dict</tt> file,
+then adapt your tagger to use it (e.g. copy <tt>EnglishTagger.java</tt> and change the
+<tt>RESOURCE_FILENAME</tt> constant). More details about building dictionaries
+are <?=show_link("in the Wiki.", "http://languagetool.wikidot.com/developing-a-tagger-dictionary", 0) ?>
+</p></li>
+
+<li>Adapt <tt>openoffice/Addons.xcu</tt> and <tt>openoffice/description.xml</tt> to translate the user
+interface of LanguageTool into your language when used in OpenOffice.org.</li>
+
+<li>Adapt <tt>build.xml</tt>. Just search for "/en/"
+in that file and copy those lines, adapting them to your language.</li>
+
+<li>Copy <tt>MessagesBundle.properties</tt> to <tt>MessagesBundle_xx.properties</tt>,
+whereas <tt>xx</tt> is the code of your new language and translate all values (i.e. the strings
+on the right of the "=" sign).</li>
+
+</ul>
+
+<p><a name="background"><strong>Background</strong></a><br />
+For background information, my diploma thesis
+about LanguageTool is available (note that this refers to an earlier version of LanguageTool
+which was written in Python):<br />
+<?=show_link("PDF, 650 KB", "http://www.danielnaber.de/languagetool/download/style_and_grammar_checker.pdf", 0) ?>
+<br /><?=show_link("Postscript (.ps.gz), 630 KB", "http://www.danielnaber.de/languagetool/download/style_and_grammar_checker.ps.gz", 0) ?>
+</p>
+
+<?php
+include("../../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/favicon.ico b/JLanguageTool/website/www/favicon.ico
new file mode 100644
index 0000000..87b4861
--- /dev/null
+++ b/JLanguageTool/website/www/favicon.ico
Binary files differ
diff --git a/JLanguageTool/website/www/images/bg.jpg b/JLanguageTool/website/www/images/bg.jpg
new file mode 100644
index 0000000..011c8bd
--- /dev/null
+++ b/JLanguageTool/website/www/images/bg.jpg
Binary files differ
diff --git a/JLanguageTool/website/www/images/link.png b/JLanguageTool/website/www/images/link.png
new file mode 100644
index 0000000..82e4e48
--- /dev/null
+++ b/JLanguageTool/website/www/images/link.png
Binary files differ
diff --git a/JLanguageTool/website/www/images/link_extern.png b/JLanguageTool/website/www/images/link_extern.png
new file mode 100644
index 0000000..be041a1
--- /dev/null
+++ b/JLanguageTool/website/www/images/link_extern.png
Binary files differ
diff --git a/JLanguageTool/website/www/images/pix.png b/JLanguageTool/website/www/images/pix.png
new file mode 100644
index 0000000..21a0098
--- /dev/null
+++ b/JLanguageTool/website/www/images/pix.png
Binary files differ
diff --git a/JLanguageTool/website/www/images/sign.png b/JLanguageTool/website/www/images/sign.png
new file mode 100644
index 0000000..20c7e7f
--- /dev/null
+++ b/JLanguageTool/website/www/images/sign.png
Binary files differ
diff --git a/JLanguageTool/website/www/images/twitter_link16x16.png b/JLanguageTool/website/www/images/twitter_link16x16.png
new file mode 100644
index 0000000..25e1cd4
--- /dev/null
+++ b/JLanguageTool/website/www/images/twitter_link16x16.png
Binary files differ
diff --git a/JLanguageTool/website/www/index.php b/JLanguageTool/website/www/index.php
new file mode 100644
index 0000000..068d49c
--- /dev/null
+++ b/JLanguageTool/website/www/index.php
@@ -0,0 +1,132 @@
+<?php
+$page = "homepage";
+$title = "LanguageTool";
+$title2 = "Open Source language checker";
+$lastmod = "2011-01-02 16:20:00 CET";
+include("../include/header.php");
+?>
+
+<p class="firstpara"><strong>An Open Source style and grammar checker for English, French, German, Polish,
+Dutch, Romanian, and <?=show_link("other languages", "languages/", 0) ?>.</strong>
+You can think of LanguageTool as a software to detect errors that a simple spell checker cannot detect, e.g. mixing
+up <em>there/their</em>, <em>no/now</em> etc. It can also detect some grammar mistakes. It does not include spell checking.</p>
+
+<p>LanguageTool will only find errors for which a rule is defined in its
+XML configuration files. Rules for more complicated errors can be written in Java.</p>
+
+
+<h2>Download</h2>
+
+<div class="downloadSection">
+ <h2><?=show_link("Download LanguageTool 1.2 (18&nbsp;MB)", "download/LanguageTool-1.2.oxt", 0) ?></h2>
+ <!--
+ <table>
+ <tr>
+ <td><h2><?=show_link("Download LanguageTool 1.0.0 (18&nbsp;MB)", "download/LanguageTool-1.1.oxt", 0) ?></h2></td>
+ <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
+ <td><h2><?=show_link("Download LanguageTool 1.1beta (18&nbsp;MB)", "download//LanguageTool-1.1-beta1.oxt", 0) ?></h2></td>
+ </tr>
+ </table>
+ -->
+ <ul>
+ <li>Requires <?=show_link("Java", "http://www.java.com/en/download/manual.jsp", 1)?>&nbsp;5.0
+ or later. This version only works with OpenOffice.org 3.0.1 or later
+ and you need to <strong>restart OpenOffice.org</strong> after installation of this extension.</li>
+ <li>If you're upgrading from LanguageTool 0.9.5, you must de-install
+ it <strong>before</strong> upgrading to a later version (check
+ <a href="http://languagetool.wikidot.com/removing-languagetool-0-9-5-from-openoffice-3-0-1">this
+ page</a> if you forgot to do so).</li>
+ <li>Please report bugs to the <?=show_link("Sourceforge bug tracker", "http://sourceforge.net/tracker/?group_id=110216&amp;atid=655717", 1)?>
+ or send an email to naber <i>at</i> danielnaber.de.</li>
+ </ul>
+</div>
+
+<!-- -->
+<p><strong>Try LanguageTool 1.2 without local installation, using Java WebStart.</strong> Requires Java 1.6_04 or later. You will get a security warning which you
+need to ignore:<br />
+<strong><?=show_link("Start LanguageTool (18&nbsp;MB)", "webstart/web/LanguageTool.jnlp", 0) ?></strong></p>
+<!-- -->
+
+
+<h2>News</h2>
+
+
+<p><strong>2011-01-02:</strong> Released LanguageTool 1.2. Changes include:
+<ul>
+ <li>Rule updates for Romanian, Dutch, Polish, German, Russian, Spanish, French and Danish.</li>
+ <li>Added new scripts testwikipedia.sh and testwikipedia.bat to the distribution. These
+ let you check a local Wikipedia XML dump.</li>
+ <li>Added support for Esperanto.</li>
+ <li>Small bug fixes.</li>
+ <li>For a more detailed list of changes, see the <?=show_link("Changelog", "download/CHANGES.txt", 0) ?></li>
+</ul>
+
+<p><strong>2010-09-26:</strong> Released version 1.1. For a list of changes, see the <?=show_link("Changelog", "download/CHANGES.txt", 0) ?></p>
+
+<p><strong>2010-08-29:</strong>
+
+There's a new <?=show_link("script to use LanguageTool from within vim", "http://www.vim.org/scripts/script.php?script_id=3223", 0)?>.</p>
+
+<p><strong>2010-02-20:</strong>
+
+LanguageTool has been integrated into <?=show_link("After the Deadline", "http://open.afterthedeadline.com/", 0)?>,
+a powerful English grammar checker. Thanks to LanguageTool it now also supports French and German.
+This means that you can now use LanguageTool for these languages via the
+<?=show_link("After the Deadline Firefox plugin", "http://firefox.afterthedeadline.com/", 0)?>.</p>
+
+
+<h2>Installation and Usage</h2>
+
+<ul>
+ <li><strong>In OpenOffice.org</strong>:
+ Double click <tt>LanguageTool-1.2.oxt</tt> to install it.
+ If that doesn't work, call <em>Tools -&gt; Extension Manager -&gt; Add...</em>
+ to install it. Close OpenOffice.org and re-start it. Type some text
+ with an error (e.g. "This is an test." &ndash; make sure the text language is set
+ to English) and you should see a blue underline.</li>
+
+ <li>Also see <?=show_link("Usage", "usage/", 0)?> for using LanguageTool outside of OpenOffice.org.</li>
+</ul>
+
+<h2><a name="commonproblems"><strong>Common problems with OpenOffice.org integration</strong></a></h2>
+
+<ul>
+<li>Did you restart OpenOffice.org - including the QuickStarter - after installation of LanguageTool? This is required,
+ even if OpenOffice.org doesn't say so. (<a href="http://qa.openoffice.org/issues/show_bug.cgi?id=88692">Issue 88692</a>)</li>
+<li>LanguageTool installation fails if the name of your user account contains
+ special characters. The only workaround so far seems to be to use a different
+ user account. (<a href="http://qa.openoffice.org/issues/show_bug.cgi?id=95162">Issue 95162</a>)</li>
+<li>Make sure <a href="http://www.java.com/en/download/manual.jsp">Java 5.0 or later from Sun Microsystems</a>
+ is installed on your system. Java versions which are not from Sun Microsystems may not work.</li>
+<li>Make sure this version of Java is selected in OpenOffice.org
+ (under <em>Tools -&gt; Options -&gt; Java</em>).</li>
+<li>If LanguageTool doesn't start and you see no error message, please
+ check if the extension is enabled in the Extension manager
+ (under <em>Tools -&gt; Extension Manager</em>).</li>
+<li>On Ubuntu, when you get an error message during installation, you might need to
+ install the <tt>openoffice.org-java-common</tt> package. See
+ <a href="http://nancib.wordpress.com/2008/05/03/fixing-the-openofficeorg-grammar-glitch-in-ubuntu-hardy/">this blog posting</a>
+ for details.</li>
+<li>The menu items in OpenOffice.org get mixed up when both <a href="http://open.afterthedeadline.com/">After the Deadline</a>
+ and LanguageTool are installed. This issue is tracked as <a href="http://openatd.trac.wordpress.org/ticket/215">ticket #215 at After the Deadline</a>.</li>
+<li>LanguageTool didn't work together with the <a href="http://extensions.services.openoffice.org/en/project/DeltaXMLODTCompare">DeltaXML
+ ODT Compare</a> extension - use version 1.2.0 of DeltaXML ODT Compare, which fixes the problem.</li>
+<li>If you get a message "Can not activate the factory for com.sun.star.help.HelpIndexer because java.lang.NoClassDefFoundError: org/apache/lucene/analysis/cjk/CJKAnalyzer":
+ this was a bug In OpenOffice.org 3.1, it was fixed in version 3.2 (<a href="http://qa.openoffice.org/issues/show_bug.cgi?id=98680">Issue 98680</a>)</li>
+<li style="margin-top:8px">If these hints don't help, please email <strong>naber at danielnaber de</strong> describing the problem
+ and letting me know which version of LanguageTool, OpenOffice.org and which operating system you are using.</li>
+</ul>
+
+<p><strong>Known bugs:</strong> Please also see the <?=show_link("README", "download/README.txt", 0)?>
+for a list of known problems.</p>
+
+<h2>License &amp; Source Code</h2>
+
+<p>LanguageTool is freely available under the <?=show_link("LGPL", "http://www.fsf.org/licensing/licenses/lgpl.html#SEC1", 0)?>.
+The source is available <?=show_link("at Sourceforge", "http://sourceforge.net/projects/languagetool/", 1) ?> via CVS</p>
+
+<div style="height:750px"></div>
+
+<?php
+include("../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/languages/index.php b/JLanguageTool/website/www/languages/index.php
new file mode 100644
index 0000000..36b88c4
--- /dev/null
+++ b/JLanguageTool/website/www/languages/index.php
@@ -0,0 +1,83 @@
+<?php
+$page = "languages";
+$title = "LanguageTool";
+$title2 = "Supported Languages";
+$lastmod = "2011-01-02 16:30:00 CET";
+include("../../include/header.php");
+?>
+
+<p class="firstpara">LanguageTool supports several languages to a different degree. This page lists the
+number of rules per language to give a very rough indication of how well a
+language is supported.</p>
+
+<!-- TODO: link rules link java dir -->
+
+<!-- Output of RuleOverview.java: -->
+
+<b>Rules in LanguageTool 1.2</b><br />
+Date: 2011-01-02<br /><br />
+
+<table>
+<tr>
+ <th></th>
+ <th align="right">XML rules</th>
+ <th>&nbsp;&nbsp;</th>
+ <th align="right">Java rules</th>
+ <th>&nbsp;&nbsp;</th>
+ <th align="right"><a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/false-friends.xml">False friends</a></th>
+ <th>&nbsp;&nbsp;</th>
+ <th align="left">Rule Maintainers</th>
+</tr>
+<tr><td>Belarusian</td><td align="right">7 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/be/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=be">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Alex Buloichik</td></tr>
+<tr><td>Catalan</td><td align="right">213 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/ca/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=ca">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">4</td><td></td><td align="left">Ricard Roca</td></tr>
+<tr><td>Danish</td><td align="right">22 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/da/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=da">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Esben Aaberg</td></tr>
+<tr><td>Dutch</td><td align="right">302 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/nl/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=nl">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left"><a href="http://www.opentaal.org">Ruud Baars</a></td></tr>
+<tr><td>English</td><td align="right">478 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/en/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=en">browse</a>)</td><td></td><td align="right">3</td><td></td>
+<td align="right">230</td><td></td><td align="left">Marcin Miłkowski, Daniel Naber</td></tr>
+<tr><td>Esperanto</td><td align="right">75 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/eo/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=eo">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Dominique Pellé</td></tr>
+<tr><td>French</td><td align="right">1676 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/fr/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=fr">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">5</td><td></td><td align="left">Agnes Souque, Hugo Voisard&nbsp;(2006-2007)</td></tr>
+<tr><td>Galician</td><td align="right">166 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/gl/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=gl">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">6</td><td></td><td align="left"><a href="http://www.g11n.net/languagetool-gl">Susana Sotelo Docío</a></td></tr>
+<tr><td>German</td><td align="right">137 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/de/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=de">browse</a>)</td><td></td><td align="right">8</td><td></td>
+<td align="right">88</td><td></td><td align="left">Daniel Naber</td></tr>
+<tr><td>Icelandic</td><td align="right">39 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/is/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=is">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Anton Karl Ingason</td></tr>
+<tr><td>Italian</td><td align="right">86 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/it/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=it">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">36</td><td></td><td align="left">Paolo Bianchini</td></tr>
+<tr><td>Lithuanian</td><td align="right">4 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/lt/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=lt">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Mantas Kriaučiūnas</td></tr>
+<tr><td>Malayalam</td><td align="right">18 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/ml/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=ml">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Jithesh.V.S</td></tr>
+<tr><td>Polish</td><td align="right">1027 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/pl/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=pl">browse</a>)</td><td></td><td align="right">4</td><td></td>
+<td align="right">139</td><td></td><td align="left">Marcin Miłkowski</td></tr>
+<tr><td>Romanian</td><td align="right">418 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/ro/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=ro">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">0</td><td></td><td align="left"><a href="http://www.archeus.ro">Ionuț Păduraru</a></td></tr>
+<tr><td>Russian</td><td align="right">117 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/ru/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=ru">browse</a>)</td><td></td><td align="right">3</td><td></td>
+<td align="right">0</td><td></td><td align="left">Yakov Reztsov</td></tr>
+<tr><td>Slovak</td><td align="right">55 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/sk/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=sk">browse</a>)</td><td></td><td align="right">2</td><td></td>
+<td align="right">0</td><td></td><td align="left"><a href="http://sk-spell.sk.cx">Zdenko Podobný</a></td></tr>
+<tr><td>Slovenian</td><td align="right">58 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/sl/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=sl">browse</a>)</td><td></td><td align="right">0</td><td></td>
+<td align="right">0</td><td></td><td align="left">Martin Srebotnjak</td></tr>
+<tr><td>Spanish</td><td align="right">64 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/es/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=es">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">27</td><td></td><td align="left"><a href="http://languagetool-es.blogspot.com/">Juan Martorell</a></td></tr>
+<tr><td>Swedish</td><td align="right">26 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/sv/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=sv">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">5</td><td></td><td align="left">Niklas Johansson</td></tr>
+<tr><td>Ukrainian</td><td align="right">8 (<a href="http://languagetool.cvs.sourceforge.net/*checkout*/languagetool/JLanguageTool/src/rules/uk/grammar.xml">show</a>/<a href="http://community.languagetool.org/rule/list?lang=uk">browse</a>)</td><td></td><td align="right">1</td><td></td>
+<td align="right">0</td><td></td><td align="left">Andriy Rysin</td></tr>
+</table>
+
+<!-- End Output of RuleOverview.java -->
+
+<p>The number of Java rules listed is only the number of rules specific
+to that language. There are some rules that deal with punctuation
+and that apply to almost all languages.</p>
+
+<?php
+include("../../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/languagetool.update.xml b/JLanguageTool/website/www/languagetool.update.xml
new file mode 100644
index 0000000..ad3f2af
--- /dev/null
+++ b/JLanguageTool/website/www/languagetool.update.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description xmlns="http://openoffice.org/extensions/update/2006"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <identifier value="org.openoffice.languagetool.oxt"/>
+ <version value="1.2" />
+ <update-download>
+ <src xlink:href="http://www.languagetool.org/download/LanguageTool-1.2.oxt" />
+ </update-download>
+ <release-notes>
+ <src xlink:href="http://www.languagetool.org/download/CHANGES.txt" lang="en" />
+ </release-notes>
+</description>
diff --git a/JLanguageTool/website/www/links/index.php b/JLanguageTool/website/www/links/index.php
new file mode 100644
index 0000000..ec573d1
--- /dev/null
+++ b/JLanguageTool/website/www/links/index.php
@@ -0,0 +1,80 @@
+<?php
+$page = "links";
+$title = "LanguageTool";
+$title2 = "Links";
+$lastmod = "2010-08-29 22:35:00 CET";
+include("../../include/header.php");
+?>
+
+<p><strong>Contact:</strong><br />
+LanguageTool was originally written by Daniel Naber and is now maintained by
+Daniel Naber (<strong>naber <span>a&#116;</span> danielnaber<span>.</span>de</strong>) and Marcin Miłkowski
+(<a href="http://marcinmilkowski.pl/en/Contact/">contact form</a>).</p>
+
+<p><strong>Issue tracking:</strong></p>
+
+<ul style="list-style:none">
+ <li><?=show_link("Bug reports", "http://sourceforge.net/tracker/?limit=25&amp;func=&amp;group_id=110216&amp;atid=655717&amp;assignee=&amp;status=&amp;category=&amp;artgroup=&amp;keyword=&amp;submitter=&amp;artifact_id=&amp;assignee=&amp;status=1&amp;category=&amp;artgroup=&amp;submitter=&amp;keyword=&amp;artifact_id=&amp;submit=Filter", 0)?></li>
+ <li><?=show_link("Feature requests", "http://sourceforge.net/tracker/?limit=25&amp;func=&amp;group_id=110216&amp;atid=655720&amp;assignee=&amp;status=&amp;category=&amp;artgroup=&amp;keyword=&amp;submitter=&amp;artifact_id=&amp;assignee=&amp;status=1&amp;category=&amp;artgroup=&amp;submitter=&amp;keyword=&amp;artifact_id=&amp;submit=Filter", 0)?></li>
+</ul>
+
+<p><strong>Mailing lists:</strong></p>
+
+<ul style="list-style:none">
+ <li>Development and user discussion:
+ <?=show_link("Subscribe/Unsubscribe", "http://lists.sourceforge.net/mailman/listinfo/languagetool-devel", 0) ?>,
+ <?=show_link("archive", "http://sourceforge.net/mailarchive/forum.php?forum_name=languagetool-devel", 0)?></li>
+ <li>CVS commit messages: <?=show_link("Subscribe/Unsubscribe", "http://lists.sourceforge.net/mailman/listinfo/languagetool-cvs", 0) ?>,
+ <?=show_link("archive", "http://sourceforge.net/mailarchive/forum.php?forum_name=languagetool-cvs", 0)?></li>
+</ul>
+
+<p class="firstpara"><strong>LanguageTool integration</strong>:</p>
+
+<ul style="list-style:none">
+ <li><?=show_link("LanguageTool for vim", "http://www.vim.org/scripts/script.php?script_id=3223", 1) ?></li>
+ <li><?=show_link("LanguageTool for LyX", "http://wiki.lyx.org/Tools/LyX-GrammarChecker", 1) ?></li>
+ <li><?=show_link("LanguageTool plugin for OmegaT", "https://sourceforge.net/projects/omegat-plugins/files/OmegaT-LanguageTool/", 1)?>
+ a plugin that enables grammar-checking in computer-aided translation tool OmegaT (open source)</li>
+</ul>
+
+<p class="firstpara"><strong>Links</strong> to other Open Source language tools:</p>
+
+<ul style="list-style:none">
+ <li><?=show_link("After the Deadline", "http://open.afterthedeadline.com/", 0)?>,
+ a grammar checker for English which integrates LanguageTool to support German and French</li>
+ <!-- <li><?=show_link("LangBot", "http://apoema.net/langbot/en/gc.lb", 0)?>,
+ an on-line grammar checker which uses LanguageTool, and includes integration
+ for Firefox via <?=show_link("Ubiquity", "http://ubiquity.mozilla.com/", 0) ?> plugin</li> -->
+ <li><?=show_link("An Gramad&oacute;ir", "http://borel.slu.edu/gramadoir/", 0)?>,
+ a grammar checker for the Irish language</li>
+ <li><?=show_link("CoGrOO", "http://cogroo.sourceforge.net/", 0)?>
+ a Grammar Checker for Portuguese</li>
+ <li><?=show_link("GRAC", "http://grac.sourceforge.net/", 0)?>
+ corpus-based grammar checker written in Python</li>
+ <li><?=show_link("Queequeg", "http://queequeg.sourceforge.net/index-e.html", 0)?>
+ agreement checker written in Python</li>
+ <li><?=show_link("LanguageTool in Python", "http://tkltrans.sourceforge.net/#r03", 0) ?>, a much older
+ and less powerful version without OpenOffice.org integration but support for Hungarian</li>
+</ul>
+
+<p><strong>Resources:</strong></p>
+
+<ul style="list-style:none">
+ <li><?=show_link("XML file with 221 collected English grammar errors", "/download/errors.xml", 0) ?>, 23KB</li>
+ <li><?=show_link("Another English error collection",
+ "http://languagetool.cvs.sourceforge.net/languagetool/JLanguageTool/resource/en/errors.txt?view=markup", 1) ?></li>
+ <li><?=show_link("German error collection",
+ "http://languagetool.cvs.sourceforge.net/languagetool/JLanguageTool/resource/de/errors.txt?view=markup", 1) ?></li>
+</ul>
+
+<br /><br /><br />
+
+<p>Website design inspired by <!-- Please leave this if you use our template. Thank you -->
+<a href="http://www.darjanpanic.com" target="_blank"
+ title="Freelance Graphic artist">Darjan Panic</a> &amp; <a
+ href="http://www.briangreens.com" target="_blank">Brian Green</a> <!-- Please leave this if you use our template. Thank you -->
+</p>
+
+<?php
+include("../../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot.png b/JLanguageTool/website/www/screenshots/art/screenshot.png
new file mode 100644
index 0000000..3a92b5c
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo.png
new file mode 100644
index 0000000..8ae032d
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo3.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3.png
new file mode 100644
index 0000000..45a80cf
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl.png
new file mode 100644
index 0000000..eeb447d
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl_small.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl_small.png
new file mode 100644
index 0000000..afbdd4a
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_pl_small.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_small.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_small.png
new file mode 100644
index 0000000..61d0059
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo3_small.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_ooo_small.png b/JLanguageTool/website/www/screenshots/art/screenshot_ooo_small.png
new file mode 100644
index 0000000..f5ac6ae
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_ooo_small.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/art/screenshot_small.png b/JLanguageTool/website/www/screenshots/art/screenshot_small.png
new file mode 100644
index 0000000..92bad62
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/art/screenshot_small.png
Binary files differ
diff --git a/JLanguageTool/website/www/screenshots/index.php b/JLanguageTool/website/www/screenshots/index.php
new file mode 100644
index 0000000..ffaebed
--- /dev/null
+++ b/JLanguageTool/website/www/screenshots/index.php
@@ -0,0 +1,53 @@
+<?php
+$page = "screenshots";
+$title = "LanguageTool";
+$title2 = "Screenshots";
+$lastmod = "2008-08-07 22:00:00 CET";
+include("../../include/header.php");
+?>
+
+<table border="0" cellpadding="0" cellspacing="0" style="margin-left:5px;">
+<tr><td>&nbsp;</td></tr>
+<tr>
+<td>
+ <a href="art/screenshot_ooo3_pl.png"><img border="0" width="320" height="235"
+ src="art/screenshot_ooo3_pl_small.png" alt="LanguageTool in Polish OpenOffice.org 3.0" /></a><br />
+ <a href="art/screenshot_ooo3_pl.png"><span style="font-size:10px">LanguageTool installed
+ as an add-on<br/>in Polish OpenOffice.org 3.0.1 (click to enlarge)</span></a>
+</td>
+</tr>
+<tr><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td></tr>
+<tr>
+<td>
+ <a href="art/screenshot_ooo3.png"><img border="0" width="300" height="216"
+ src="art/screenshot_ooo3_small.png" alt="LanguageTool in OpenOffice.org 3.0" /></a><br />
+ <a href="art/screenshot_ooo3.png"><span style="font-size:10px">LanguageTool installed
+ as an add-on<br/>in OpenOffice.org 3.0 (click to enlarge)</span></a>
+</td>
+</tr>
+<tr><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td></tr>
+<tr>
+<td>
+ <a href="art/screenshot_ooo.png"><img border="0" width="300" height="258"
+ src="art/screenshot_ooo_small.png" alt="LanguageTool in OpenOffice.org" /></a><br />
+ <a href="art/screenshot_ooo.png"><span style="font-size:10px">LanguageTool installed
+ as an add-on<br/>in OpenOffice.org 2.x (click to enlarge)</span></a>
+</td>
+</tr>
+<tr><td>&nbsp;</td></tr>
+<tr><td>&nbsp;</td></tr>
+<tr>
+<td>
+ <a href="art/screenshot.png"><img border="0" width="250" height="264"
+ src="art/screenshot_small.png" alt="stand-alone version of LanguageTool" /></a><br />
+ <a href="art/screenshot.png"><span style="font-size:10px">The simple stand-alone
+ user interface which lets<br/>you type in or paste text and check it (click to enlarge)</span></a>
+</td>
+</tr>
+</table>
+
+<?php
+include("../../include/footer.php");
+?>
diff --git a/JLanguageTool/website/www/usage/index.php b/JLanguageTool/website/www/usage/index.php
new file mode 100644
index 0000000..477daff
--- /dev/null
+++ b/JLanguageTool/website/www/usage/index.php
@@ -0,0 +1,83 @@
+<?php
+$page = "usage";
+$title = "LanguageTool";
+$title2 = "Usage";
+$lastmod = "2008-02-17 19:20:00 CET";
+include("../../include/header.php");
+include('../../include/geshi/geshi.php');
+?>
+
+<p><strong>Installation and Usage outside OpenOffice.org</strong></p>
+
+<p>See <?=show_link("Overview", "/", 0)?> for a description of how to use LanguageTool
+with OpenOffice.org.</p>
+
+<ul class="largelist">
+
+ <li><strong>As a stand-alone application</strong>:
+ Rename the archive so it ends with ".zip" and unzip it. If you're
+ using Java 5.0, also unzip the <tt>standalone-libs.zip</tt> that will be created.
+ Then start <tt>LanguageToolGUI.jar</tt> by double clicking on it. If your computer isn't
+ configured to start jar archives, start it from the command line using<br />
+ <tt>java -jar LanguageToolGUI.jar</tt><br />
+ You can use the <tt>--tray</tt> option to start LanguageTool inside the system tray.
+ </li>
+
+ <li><strong>As a stand-alone application on the command line</strong>:
+ see above, but start LanguageTool.jar using<br />
+ <tt>java -jar LanguageTool.jar &lt;filename></tt><br />
+ LanguageTool only supports plain text files.</li>
+
+ <li><strong>Embedding LanguageTool in Java applications:</strong> See
+ <?=show_link("the API documentation", "/development/api/", 0) ?>. You just need to create a
+ JLanguageTool object and use that
+ to check your text. For example:
+ <br /><br />
+
+ <?php hljava('JLanguageTool langTool = new JLanguageTool(Language.ENGLISH);
+langTool.activateDefaultPatternRules();
+List<RuleMatch> matches = langTool.check("A sentence " +
+ "with a error in the Hitchhiker\'s Guide tot he Galaxy");
+for (RuleMatch match : matches) {
+ System.out.println("Potential error at line " +
+ match.getEndLine() + ", column " +
+ match.getColumn() + ": " + match.getMessage());
+ System.out.println("Suggested correction: " +
+ match.getSuggestedReplacements());
+}'); ?>
+ <br />
+ </li>
+
+ <li><strong>Using LanguageTool from other applications:</strong> Start the stand-alone
+ application and configure it to listen on a port that is not used yet (the default
+ port, 8081, should often be okay). This way LanguageTool will run in server mode
+ until you stop it. <br />
+ The client that wants to use LanguageTool can now just send its text to this URL:<br />
+ <tt>http://localhost:8081/?language=xx&amp;text=my+text</tt><br />
+ The <tt>language</tt> parameter must specify the two-character language code
+ (the language of the text to be checked). The <tt>text</tt> parameter is the
+ text itself (you may need to encode it for URLs). You can use both POST and
+ GET to send your requests to the LanguageTool server.<br />
+ For the input "this is a test" the LanguageTool server will reply with this
+ XML response:<br/><br/>
+
+<?php hl('<?xml version="1.0" encoding="UTF-8"?>
+<matches>
+<error fromy="0" fromx="0" toy="0" tox="5"
+ ruleId="UPPERCASE_SENTENCE_START"
+ msg="This sentence does not start with an uppercase letter"
+ replacements="This" context="this is a test."
+ contextoffset="0"
+ errorlength="4"/>
+</matches>'); ?>
+
+ <p>The server can also be started on the command line using this command:<br />
+ <tt>java -cp jaminid.jar:LanguageTool.jar de.danielnaber.languagetool.server.HTTPServer</tt>
+
+ </li>
+
+</ul>
+
+<?php
+include("../../include/footer.php");
+?>