Style and Grammar Checker for 25+ Languages
Find a file
2024-05-30 08:55:23 +02:00
.circleci try to fix build 2023-07-22 10:40:58 +02:00
.github/workflows remove weekly-check.yml via gh actions 2022-12-02 16:14:06 +01:00
languagetool-client-example v5.9 2022-09-28 16:36:28 +02:00
languagetool-commandline start 6.5-SNAPSHOT 2024-03-28 16:44:14 +01:00
languagetool-core [ca] improve rules 2024-05-29 20:18:55 +02:00
languagetool-dev start 6.5-SNAPSHOT 2024-03-28 16:44:14 +01:00
languagetool-gui-commons [LO extension] make special extension filter optional 2024-05-13 19:02:09 +02:00
languagetool-http-client start 6.5-SNAPSHOT 2024-03-28 16:44:14 +01:00
languagetool-language-modules [nl] enable rules 2024-05-30 11:44:31 +07:00
languagetool-office-extension [LO extension] solves issue #10579 2024-05-13 19:14:50 +02:00
languagetool-rpm-package [code] fixed typo in the --help and examples 2024-03-08 21:12:19 +01:00
languagetool-server support custom rules as custom filter (#10626) 2024-05-30 08:55:23 +02:00
languagetool-standalone [pt] Skip foreign terms rule for _english_ignore_ 2024-05-07 13:42:23 +02:00
languagetool-tools start 6.5-SNAPSHOT 2024-03-28 16:44:14 +01:00
languagetool-wikipedia start 6.5-SNAPSHOT 2024-03-28 16:44:14 +01:00
.circleci.settings.xml [circleci] update settings to for deplay artifacts 2022-02-10 09:45:02 +01:00
.editorconfig remove "insert_final_newline = true" as people edit the files whose editor doesn't obey this setting (or .editorconfig at all) 2021-10-28 12:40:23 +02:00
.gitattributes gitattributes to auto-convert line endings 2020-08-04 16:17:36 +02:00
.gitignore support custom rules as custom filter (#10626) 2024-05-30 08:55:23 +02:00
.gitpod.Dockerfile use Java 8 in gitpod 2020-10-31 22:25:27 +01:00
.gitpod.yml use the Dockerfile 2020-10-31 22:36:39 +01:00
build-zip.sh update to make it work again 2022-03-25 21:54:58 +01:00
build.sh modernize and improve build.sh 2024-05-27 12:59:19 +02:00
COPYING.txt add license here, too, as developers might look for it here 2017-04-07 21:34:58 +02:00
create_snapshot.sh [all] Update maven pom 2021-11-23 16:23:49 +01:00
deploy-modules.sh Update circleCI test and deploy scripts 2023-05-26 15:23:38 +02:00
deploy_release.sh update deploy script 2023-09-05 14:15:32 +02:00
install.sh chmod +x install.sh 2023-07-15 19:56:31 +02:00
local_history.patch [fr] FRENCH_WORD_REPEAT_RULE improved 2022-06-20 11:20:20 +02:00
multiLanguageSupport.md Add extended sentence range (#9510) 2023-10-27 16:50:23 +02:00
owasp_fp.xml whitelist jar for the cve scan (false positive) 2022-11-18 11:22:47 +01:00
pom.xml [pt] Bump dict to v1.0.1 2024-05-06 13:08:30 +02:00
README.md Add Forum to the README.md 2024-03-26 16:37:57 +01:00
test-modules.sh fix bug in test-modules.sh 2023-06-02 11:28:25 +02:00

LanguageTool

LanguageTool is an Open Source proofreading software for English, Spanish, French, German, Portuguese, Polish, Dutch, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.

For more information, please see our homepage at https://languagetool.org, this README, and CHANGES.

The LanguageTool core (this repo) is freely available under the LGPL 2.1 or later.

Docker

Try one of the following projects for a community-contributed Docker file:

Contributions

The development overview describes how you can contribute error detection rules.

For more technical details, see our dev pages.

Scripted installation and building

To install or build using a script, simply type:

curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh | sudo bash <options>

If you wish to have more options, download the install.sh script. Usage options follow:

sudo bash install.sh <options>

Usage: install.sh <option> <package>
Options:
   -h --help                   Show help
   -b --build                  Builds packages from the bleeding edge development copy of LanguageTool
   -c --command <command>      Specifies post-installation command to run (default gui when screen is detected)
   -q --quiet                  Shut up LanguageTool installer! Only tell me important stuff!
   -t --text <file>            Specifies what text to be spellchecked by LanguageTool command line (default spellcheck.txt)
   -d --depth <value>          Specifies the depth to clone when building LanguageTool yourself (default 1).
   -p --package <package>      Specifies package to install when building (default all)
   -o --override <OS>          Override automatic OS detection with <OS>
   -a --accept                 Accept the oracle license at http://java.com/license. Only run this if you have seen the license and agree to its terms!
   -r --remove <all/partial>   Removes LanguageTool install. <all> uninstalls the dependencies that were auto-installed. (default partial)

Packages(only if -b is specified):
   standalone                  Installs standalone package
   wikipedia                   Installs Wikipedia package
   office-extension            Installs the LibreOffice/OpenOffice extension package

Commands:
   GUI                         Runs GUI version of LanguageTool
   commandline                 Runs command line version of LanguageTool
   server                      Runs server version of LanguageTool

Alternate way to build from source

Before start: you will need to clone from GitHub and install Java 8 and Apache Maven.

Warning: a complete clone requires downloading more than 500 MB and needs more than 1500 MB on disk. This can be reduced if you only need the last few revisions of the master branch by creating a shallow clone:

git clone --depth 5 https://github.com/languagetool-org/languagetool.git

A shallow clone downloads less than 60 MB and needs less than 200 MB on disk.

In the root project folder, run:

mvn clean test

(sometimes you can skip Maven step for repeated builds)

./build.sh languagetool-standalone package -DskipTests

Test the result in languagetool-standalone/target/.

./build.sh languagetool-wikipedia package -DskipTests

Test the result in languagetool-wikipedia/target.

./build.sh languagetool-office-extension package -DskipTests

Test the result in languagetool-office-extension/target, rename the *.zip to *.oxt to install it in LibreOffice/OpenOffice.

Now you can use the bleeding edge development copy of LanguageTool *.jar files, be aware that it might contain regressions.

How to run under Mac M1 or M2

  1. Install Brew for Rosetta: arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  2. Install openjdk for Rosetta: arch -x86_64 brew install openjdk
  3. Install Maven for Rosetta: arch -x86_64 brew install maven
  4. Now run build scripts

License

Unless otherwise noted, this software - the LanguageTool core - is distributed under the LGPL, see file COPYING.txt.