languagetool
1.0.0
Languagetool是一種用於英語,西班牙語,法語,德語,葡萄牙語,波蘭語,荷蘭語和其他20多種語言的開源校對軟件。它發現了許多錯誤的錯誤檢查器無法檢測到的錯誤。
有關更多信息,請在https://languagetool.org上查看我們的主頁,此讀取文件和更改。
langagetool Core(此存儲庫)在LGPL 2.1或更高版本下可免費獲得。
嘗試以下一個社區基礎的Docker文件的項目之一:
開發概述描述瞭如何貢獻錯誤檢測規則。
有關更多技術細節,請參閱我們的開發頁面。
要使用腳本安裝或構建,只需鍵入:
curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh | sudo bash < options >
如果您希望有更多選擇,請下載install.sh
腳本。用法選項如下:
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
開始之前:您需要從Github克隆並安裝Java 8和Apache Maven。
警告:完整的克隆需要下載超過500 MB,並且在磁盤上需要超過1500 MB。如果您只需要通過創建淺層克隆來進行主分支的最後幾個修訂,則可以減少這一點:
git clone --depth 5 https://github.com/languagetool-org/languagetool.git
淺的克隆下載少於60 MB,並且在磁盤上需要少於200 MB。
在根項目文件夾中,運行:
mvn clean test
(有時您可以跳過Maven步驟以進行重複構建)
./build.sh languagetool-standalone package -DskipTests
測試languagetool-standalone/target/
中的結果。
./build.sh languagetool-wikipedia package -DskipTests
測試languagetool-wikipedia/target
中的結果。
現在,您可以使用Languagetool *.jar
文件的出血邊緣開發副本,請注意它可能包含回歸。
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 brew install openjdk
arch -x86_64 brew install maven
除非另有說明,否則該軟件(Languagetool Core)分佈在LGPL下,請參見文件copying.txt。